-
Notifications
You must be signed in to change notification settings - Fork 46
Clarify supported MCP transport protocol for hosted API Platform servers #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Rami2212
wants to merge
2
commits into
wso2:main
Choose a base branch
from
Rami2212:fix-issue-178-update-MCP-doc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,10 +6,22 @@ MCP is a JSON-RPC–based protocol designed to standardize how applications inte | |
|
|
||
| MCP follows a host–client–server architecture and supports two primary transport mechanisms: stdio and streamable HTTP. While stdio is commonly used for local communication between clients and servers on the same machine, streamable HTTP is increasingly preferred for remote connections, especially as MCP adoption grows across networked environments. | ||
|
|
||
| > **Note:** | ||
| > The Model Context Protocol defines both `stdio` and streamable HTTP transports. | ||
| > - `stdio` is designed for **local, process-level communication** (for example, between a CLI/IDE and a locally running MCP server). | ||
| > - Streamable HTTP (SSE) is designed for **remote, network-based communication**. | ||
| > | ||
| > **MCP servers deployed on the WSO2 API Platform are hosted and accessed over the network. Therefore, only streamable HTTP (SSE) transport is supported.** | ||
| > MCP clients connecting to API Platform must be configured to use streamable HTTP (SSE), not `stdio`. | ||
|
|
||
| For more information, refer to the official [specification](https://modelcontextprotocol.io/introduction). | ||
|
|
||
| ## Remote MCP Servers with API Platform | ||
|
|
||
| > **Transport Requirement:** | ||
| > Since API Platform exposes MCP servers as **remote, network-accessible endpoints**, it **does not support `stdio` transport**. | ||
| > All MCP interactions with API Platform must use **streamable HTTP (SSE)**. | ||
|
Comment on lines
+21
to
+23
|
||
|
|
||
| API Platform now includes support for MCP servers. It provides a complete solution for transforming existing APIs into intelligent, AI-ready tools. With a centralized control plane, API Platform simplifies the entire lifecycle of MCP server management—from creation to discovery—delivering a seamless experience for both API developers and AI agent builders. Additionally, API Platform allows you to customize the developer portal to deliver a tailored, MCP-only experience for your consumers. | ||
|
|
||
|  | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page uses a plain Markdown blockquote for the note, but most docs in this repo use MkDocs-style admonitions (e.g.,
!!! noteinen/docs/api-platform-gateway/getting-started.md:5). Consider switching this to an admonition for consistent rendering/styling across the site.