Skip to content

fix(ai-gateway): Update MCP get started#5963

Merged
juliamrch merged 2 commits into
release/ai-gateway-2.0from
fix/update-mcp-get-started
Jul 15, 2026
Merged

fix(ai-gateway): Update MCP get started#5963
juliamrch merged 2 commits into
release/ai-gateway-2.0from
fix/update-mcp-get-started

Conversation

@tomek-labuk

@tomek-labuk tomek-labuk commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes #issue
https://deploy-preview-5963--kongdeveloper.netlify.app/ai-gateway/get-started-with-mcp-server/

Preview Links

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

Copilot AI review requested due to automatic review settings July 15, 2026 07:39
@tomek-labuk tomek-labuk requested a review from a team as a code owner July 15, 2026 07:39
@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 4a15af8
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a5798fa4a4644000808db19
😎 Deploy Preview https://deploy-preview-5963--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the AI Gateway MCP Server getting-started how-to to use kongctl-based configuration instead of the Konnect API example, aligning the tutorial with the current declarative workflow for AI Gateway entities.

Changes:

  • Switches the how-to’s tool metadata and main setup example to kongctl apply.
  • Refactors the example config to use top-level ai_gateway_mcp_servers and environment-sourced secrets (!env).
  • Removes the previously-disabled (commented) Konnect API request example content.

Comment thread app/_how-tos/ai-gateway/get-started-with-mcp-server.md Outdated
Comment on lines 34 to 36
prereqs:
inline:
# kongctl prereq disabled: kongctl's ai_gateway.mcp_servers.tools schema doesn't yet support
# the query/parameters fields this tutorial's tool needs. Re-enable once it does.
# - title: kongctl
# content: |
# This tutorial uses [kongctl](/kongctl/) to manage {{site.ai_gateway}} configuration.

# 1. Install **kongctl** from [developer.konghq.com/kongctl](/kongctl/).
# 1. Verify the installation:

# ```sh
# kongctl version
# ```
# 1. Adopt your {{site.ai_gateway}} into a kongctl namespace so the apply command later in this tutorial can manage it:

# ```sh
# kongctl adopt ai-gateway "$AI_GATEWAY_ID" \
# --namespace weather-mcp \
# --pat "$KONNECT_TOKEN"
# ```
- title: WeatherAPI account
Comment thread app/_how-tos/ai-gateway/get-started-with-mcp-server.md
Comment on lines 62 to +64
kongctl apply -f - --auto-approve --pat "$KONNECT_TOKEN" <<EOF
_defaults:
kongctl:
namespace: weather-mcp
ai_gateways:
- ref: weather-ai-gateway
id: "$AI_GATEWAY_ID"
mcp_servers:
- ref: weather-mcp
type: conversion-listener
name: weather-mcp
display_name: "Weather API"
enabled: true
policies: []
access:
acl_attribute_type: consumer
acls:
allow: []
default_tool_acls:
deny: []
config:
url: https://api.weatherapi.com/v1/current.json
route:
paths:
- /weather
logging:
payloads: false
statistics: true
server:
timeout: 60000
tools:
- name: get-current-weather
description: Get current weather for a location
method: GET
path: /weather
query:
key:
- $WEATHERAPI_API_KEY
parameters:
- name: q
in: query
required: true
schema:
type: string
description: Location query. Accepts US Zipcode, UK Postcode, Canada Postalcode, IP address, latitude/longitude, or city name.
- ref: ai-quickstart
Comment thread app/_how-tos/ai-gateway/get-started-with-mcp-server.md
Comment thread app/_how-tos/ai-gateway/get-started-with-mcp-server.md Outdated
Comment thread app/_how-tos/ai-gateway/get-started-with-mcp-server.md Outdated
Comment thread app/_how-tos/ai-gateway/get-started-with-mcp-server.md Outdated
Comment thread app/_how-tos/ai-gateway/get-started-with-mcp-server.md Outdated
Co-authored-by: Julia <101819212+juliamrch@users.noreply.github.com>
@juliamrch juliamrch merged commit 9bea7ce into release/ai-gateway-2.0 Jul 15, 2026
16 of 17 checks passed
@juliamrch juliamrch deleted the fix/update-mcp-get-started branch July 15, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants