-
Notifications
You must be signed in to change notification settings - Fork 48
[docs] breakout the transport config into their own sections #231
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
Changes from 2 commits
ee5bb4d
76fcda2
72522f2
ad98a38
9b7861d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -237,18 +237,36 @@ | |||||
|
|
||||||
| #### Transport configuration | ||||||
|
|
||||||
| These fields are under the top-level `transport` key. The available fields depend on the value of the nested `type` key. | ||||||
| The default value for `type` is `"stdio"`. | ||||||
|
|
||||||
| | Type | Option | Type | Default | Description | | ||||||
| | :------------- | :-------- | :------------------ | :---------- | :---------------------------------------------------------------------------------------------------------------------------- | | ||||||
| | stdio | `type` | `"stdio"` | \* | Use standard IO for communication between the server and client | | ||||||
| | SSE | `type` | `"sse"` | | Host the MCP server on the supplied configuration, using SSE for communication. Note: Deprecated in favor of `StreamableHTTP` | | ||||||
| | SSE | `address` | `IpAddr` | `127.0.0.1` | The IP address to bind to | | ||||||
| | SSE | `port` | `u16` | `5000` | The port to bind to | | ||||||
| | StreamableHTTP | `type` | `"streamable_http"` | | Host the MCP server on the configuration, using streamable HTTP messages. | | ||||||
| | StreamableHTTP | `address` | `IpAddr` | `127.0.0.1` | The IP address to bind to | | ||||||
| | StreamableHTTP | `port` | `u16` | `5000` | The port to bind to | | ||||||
| These fields are under the top-level transport key, to configure running the MCP Server in different environments - `STDIO`, `SSE` or `StreamableHTTP`. | ||||||
|
Check warning on line 240 in docs/source/command-reference.mdx
|
||||||
|
|
||||||
| ``` | ||||||
| transport: | ||||||
| type: stdio | ||||||
| ``` | ||||||
| The available fields depend on the value of the nested `type` key: | ||||||
| ##### STDIO (default) | ||||||
|
||||||
| | Option | Value | Default Value | Description | | ||||||
| | :-------- | :------------------ | :------------ | :----------------------------------------------------------------------------------------------------------------------- | | ||||||
| | `type` | `"stdio"` | \* | Use standard IO for communication between the server and client | | ||||||
|
Check warning on line 253 in docs/source/command-reference.mdx
|
||||||
| ##### SSE | ||||||
|
||||||
| | Option | Value | Value Type | Description | | ||||||
| | :-------- | :------------------ | :------------ | :----------------------------------------------------------------------------------------------------------------------- | | ||||||
| | `type` | `"sse"` | | Host the MCP server on the supplied config, using SSE for communication. Deprecated in favor of `StreamableHTTP` | | ||||||
|
Check warning on line 259 in docs/source/command-reference.mdx
|
||||||
| | `address` | `127.0.0.1` (default) | `IpAddr` | The IP address to bind to | | ||||||
| | `port` | `5000` (default) | `u16` | The port to bind to | | ||||||
| ##### StreamableHTTP | ||||||
|
||||||
| ##### StreamableHTTP | |
| ##### Streamable HTTP |
Check warning on line 267 in docs/source/command-reference.mdx
Apollo Librarian / AI Style Review
docs/source/command-reference.mdx#L267
Use the present tense for descriptions. String values should not be enclosed in quotes within code formatting. End complete sentences with a period.
```suggestion
| <code>type</code> | <code>streamable_http</code> | | Hosts the MCP server on the configuration, using streamable HTTP messages. |
```
Uh oh!
There was an error while loading. Please reload this page.