Skip to content

Conversation

@danbarr
Copy link
Collaborator

@danbarr danbarr commented Nov 21, 2025

Description

Adds a guide detailing options for connecting clients to MCP servers running in Kubernetes:

  • External clients via Ingress
  • External clients via Gateway API
  • Clients within the same cluster

Related issues/PRs

Closes #307

Merge checklist

Content

  • New pages include a frontmatter section with title and description at a minimum
  • Sidebar navigation (sidebars.ts) updated for added, deleted, reordered, or renamed files
  • (N/A) Redirects added to vercel.json for moved, renamed, or deleted pages (i.e., if the URL slug changed)

Reviews

  • Content has been reviewed for technical accuracy
  • Content has been reviewed for spelling, grammar, and style

Copilot AI review requested due to automatic review settings November 21, 2025 03:44
@vercel
Copy link

vercel bot commented Nov 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-website Ready Ready Preview Comment Nov 21, 2025 4:31pm

Copilot finished reviewing on behalf of danbarr November 21, 2025 03:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a comprehensive guide for connecting clients to MCP servers running in Kubernetes, covering both external connectivity via Ingress/Gateway API and internal cluster connectivity. The guide helps users expose MCP servers securely and establish proper connection patterns for different scenarios.

  • Adds detailed documentation on connecting external and internal clients to Kubernetes-hosted MCP servers
  • Provides practical examples for Ingress, Gateway API, and in-cluster service discovery patterns
  • Includes extensive troubleshooting section covering common connectivity issues

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/toolhive/guides-k8s/connect-clients.mdx New comprehensive guide explaining client connectivity options for MCP servers in Kubernetes, including external access via Ingress/Gateway API and internal cluster access patterns
sidebars.ts Adds the new connect-clients guide to the Kubernetes guides section in the appropriate position between run-mcp-k8s and remote-mcp-proxy
docs/toolhive/guides-k8s/intro.mdx Adds reference to the new connectivity guide explaining how to expose MCP servers and connect clients
docs/toolhive/guides-k8s/run-mcp-k8s.mdx Updates "Next steps" section to reference the new connectivity guide with more detailed context about connection options
docs/toolhive/tutorials/k8s-ingress-ngrok.mdx Adds tip box referencing the new general connectivity guide for broader context beyond the ngrok-specific tutorial

Signed-off-by: Dan Barr <[email protected]>
@danbarr
Copy link
Collaborator Author

danbarr commented Nov 21, 2025

Setting to draft for now while I validate auth interoperability (esp. with rewrites)

@danbarr danbarr marked this pull request as draft November 21, 2025 22:23
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.

Add Kubernetes guide for connecting clients

2 participants