Skip to content

Commit 47c1367

Browse files
committed
docs: change default port from 5000 to 8000
1 parent 1899899 commit 47c1367

File tree

8 files changed

+26
-26
lines changed

8 files changed

+26
-26
lines changed

docs/source/config-file.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ The available fields depend on the value of the nested `type` key:
170170
| :-------------- | :-------------------- | :--------- | :------------------------------------------------------------------------ |
171171
| `type` | `"streamable_http"` | | Host the MCP server on the configuration, using streamable HTTP messages. |
172172
| `address` | `127.0.0.1` (default) | `IpAddr` | The IP address to bind to |
173-
| `port` | `5000` (default) | `u16` | The port to bind to |
173+
| `port` | `8000` (default) | `u16` | The port to bind to |
174174
| `stateful_mode` | `true` (default) | `bool` | Flag to enable or disable stateful mode and session management. |
175175

176176
##### SSE (Deprecated, use StreamableHTTP)
@@ -179,7 +179,7 @@ The available fields depend on the value of the nested `type` key:
179179
| :-------- | :-------------------- | :--------- | :--------------------------------------------------------------------------------------------------------------- |
180180
| `type` | `"sse"` | | Host the MCP server on the supplied config, using SSE for communication. Deprecated in favor of `StreamableHTTP` |
181181
| `address` | `127.0.0.1` (default) | `IpAddr` | The IP address to bind to |
182-
| `port` | `5000` (default) | `u16` | The port to bind to |
182+
| `port` | `8000` (default) | `u16` | The port to bind to |
183183

184184
### Auth
185185

docs/source/cors.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following snippet includes an example of each option (use either `allow_any_
2626
```yaml title="mcp.yaml"
2727
transport:
2828
type: streamable_http
29-
port: 5000
29+
port: 8000
3030

3131
cors:
3232
# Enable CORS support
@@ -207,7 +207,7 @@ Here's a simple example of connecting to Apollo MCP Server from a browser:
207207

208208
```javascript
209209
async function connectToMCP() {
210-
const response = await fetch("http://127.0.0.1:5000/mcp", {
210+
const response = await fetch("http://127.0.0.1:8000/mcp", {
211211
method: "POST",
212212
headers: {
213213
Accept: "application/json, text/event-stream",

docs/source/debugging.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ schema:
6565
transport:
6666
type: streamable_http
6767
address: 127.0.0.1
68-
port: 5000
68+
port: 8000
6969
```
7070
7171
```sh
@@ -81,6 +81,6 @@ npx @modelcontextprotocol/inspector
8181
1. In a browser, go to the URL returned by Inspector, then fill in the details:
8282

8383
- **Transport Type**: Select `Streamable HTTP`
84-
- **URL**: Enter `http://127.0.0.1:5000/mcp`, where the port must match the `transport.port` option
84+
- **URL**: Enter `http://127.0.0.1:8000/mcp`, where the port must match the `transport.port` option
8585

8686
1. Click **Connect** and **List Tools**. You should see the tools for the operations you provided.

docs/source/deploy.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ For most production deployments, use the all-in-one [Apollo Runtime Container](/
1919

2020
### Deploy the Apollo Runtime Container
2121

22-
The Apollo Runtime Container includes all services necessary to serve GraphQL and MCP requests, including Apollo Router and Apollo MCP Server. Both port `4000` (GraphQL) and `5000` (MCP) are exposed.
22+
The Apollo Runtime Container includes all services necessary to serve GraphQL and MCP requests, including Apollo Router and Apollo MCP Server. Both port `4000` (GraphQL) and `8000` (MCP) are exposed.
2323

2424
```bash title="Deploy with GraphOS (Recommended)"
2525
docker run \
2626
-p 4000:4000 \
27-
-p 5050:5000 \
27+
-p 8000:8000 \
2828
--env APOLLO_GRAPH_REF="<your-graph-ref>" \
2929
--env APOLLO_KEY="<your-graph-api-key>" \
3030
--env MCP_ENABLE=1 \

docs/source/guides/auth-auth0.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This guide uses [Auth0](https://auth0.com/) as the Identity Provider.
3131
1. In your dashboard, navigate to **Applications** -> **APIs**.
3232
1. Click **Create API**.
3333
1. Give it a friendly name like `MCP Auth API`.
34-
1. For the **Identifier** field, Auth0 recommends using a URL. This identifier is used in the MCP server configuration later as the `audience` property. For this guide, use `http://localhost:5000/mcp-example`.
34+
1. For the **Identifier** field, Auth0 recommends using a URL. This identifier is used in the MCP server configuration later as the `audience` property. For this guide, use `http://localhost:8000/mcp-example`.
3535
1. Leave the defaults for the rest of the fields and click **Create**.
3636
1. Navigate to your dashboard **Settings**.
3737
1. Under **General** -> **API Authorization Settings**, set the **Default Audience** to the `Identifier` you chose.
@@ -89,14 +89,14 @@ Configure the MCP server to use the Auth0 instance for authentication.
8989
- https://<AUTH0 DOMAIN> # Fill in your Auth0 domain
9090
audiences:
9191
- <AUTH0 DEFAULT AUDIENCE> # Fill in your Auth0 Identifier
92-
resource: http://127.0.0.1:5000/mcp
92+
resource: http://127.0.0.1:8000/mcp
9393
scopes:
9494
- read:users # Adjust scopes as needed
9595
```
9696
9797
1. Replace the `<AUTH0 DOMAIN>` with your own Auth0 domain from earlier.
9898

99-
1. Replace the `<AUTH0 DEFAULT AUDIENCE>` with the matching `Identifier` you set when creating the Auth0 API. In this guide, you used `http://localhost:5000/mcp-example`.
99+
1. Replace the `<AUTH0 DEFAULT AUDIENCE>` with the matching `Identifier` you set when creating the Auth0 API. In this guide, you used `http://localhost:8000/mcp-example`.
100100

101101
Your MCP server is now configured to use Auth0 for authentication.
102102

@@ -188,7 +188,7 @@ You need a graph's credentials and a valid GraphOS plan to use the router's auth
188188

189189
The browser should open automatically with a proxy auth token.
190190

191-
1. In the MCP Inspector, select `Streamable HTTP` as the Transport Type and enter `http://127.0.0.1:5000/mcp` as the URL.
191+
1. In the MCP Inspector, select `Streamable HTTP` as the Transport Type and enter `http://127.0.0.1:8000/mcp` as the URL.
192192
1. Click **Connect**. This triggers the OAuth flow, and you are redirected to the Auth0 login page.
193193
1. Log in with the credentials you set up in the Auth0 connection and allow MCP Inspector access.
194194
1. After you connect, the browser redirects back to MCP Inspector.
@@ -241,7 +241,7 @@ Then, continue with the following steps:
241241
| "What would you like to configure?" | "Add Extension" |
242242
| "What type of extension would you like to add?" | "Command Line Extension" |
243243
| "What's the name of this extension?" | "mcp-auth-quickstart" |
244-
| "What command should be run?" | `npx mcp-remote http://127.0.0.1:5000/mcp` |
244+
| "What command should be run?" | `npx mcp-remote http://127.0.0.1:8000/mcp` |
245245
| Other prompts (timeout, description, environment variables) | Use the default values |
246246

247247
1. To start Goose, type `goose`. This will open a browser window and send you through the auth flow.
@@ -255,8 +255,8 @@ Then, continue with the following steps:
255255

256256
#### MCP Server Won't Start
257257

258-
- **Error**: "Port 5000 is already in use"
259-
- Solution: Kill any existing processes using port 5000 or specify a different port with the `transport.port` option or `APOLLO_MCP_TRANSPORT__PORT` env variable
258+
- **Error**: "Port 8000 is already in use"
259+
- Solution: Kill any existing processes using port 8000 or specify a different port with the `transport.port` option or `APOLLO_MCP_TRANSPORT__PORT` env variable
260260
- **Error**: "Failed to load supergraph configuration"
261261
- Solution: Verify you're running the command from the repo root directory
262262
- Solution: Check that the path to `supergraph.yaml` is correct
@@ -269,7 +269,7 @@ Then, continue with the following steps:
269269

270270
- **Error**: "Failed to connect to server"
271271
- Solution: Ensure the MCP server is running (check terminal output)
272-
- Solution: Verify you're using the correct URL (`http://127.0.0.1:5000/mcp`)
272+
- Solution: Verify you're using the correct URL (`http://127.0.0.1:8000/mcp`)
273273
- Solution: Check if your firewall is blocking the connection
274274

275275
### Infinite loop during OAuth flow

docs/source/health-checks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Health checks are only available when using the `streamable_http` transport and
1515
transport:
1616
type: streamable_http
1717
address: 127.0.0.1
18-
port: 5000
18+
port: 8000
1919
health_check:
2020
enabled: true
2121
path: /health

docs/source/run.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The container sets a few defaults for ease of use:
117117

118118
- **Working Directory is `/data`**: Make sure to mount static schemas / operations to this location
119119
using the volume flag when running [(`-v` / `--volume`)](https://docs.docker.com/reference/cli/docker/container/run/#volume).
120-
- **HTTP Streamable Transport on port 5000**: Make sure to export container port 5000 for HTTP Streamable connections to
120+
- **HTTP Streamable Transport on port 8000**: Make sure to export container port 8000 for HTTP Streamable connections to
121121
the MCP server using the port flag when running [(`-p` / `--port`)](https://docs.docker.com/reference/cli/docker/container/run/#publish)
122122

123123
</Note>
@@ -128,7 +128,7 @@ Run the following Docker command to start the MCP Server, replacing the values f
128128
docker run \
129129
-it --rm \
130130
--name apollo-mcp-server \
131-
-p 5000:5000 \
131+
-p 8000:8000 \
132132
-v <PATH/TO/CONFIG/FILE>:/config.yaml \
133133
-v <PATH/TO/PROJECT/ROOT>:/data \
134134
--pull always \
@@ -139,20 +139,20 @@ This command:
139139

140140
- Starts an MCP Server in a Docker container
141141
- Maps configuration files into the proper place for the Apollo MCP Server container
142-
- Forwards port 5000 for accessing the MCP Server
142+
- Forwards port 8000 for accessing the MCP Server
143143

144144
## With the Apollo Runtime Container
145145

146146
The Apollo Runtime Container runs both the MCP Server and the [Apollo Router](https://www.apollographql.com/docs/graphos/routing) in a single container. It's useful for local development, testing, and production deployments.
147147

148148
The Apollo Runtime container includes all services necessary to serve GraphQL and MCP requests, including the Router and MCP Server. It is the easiest way to operate a GraphQL API with MCP support.
149149

150-
To serve both MCP and GraphQL requests, both port `4000` and `5000` will need to be exposed. An example command which retrieves the schema from Uplink is:
150+
To serve both MCP and GraphQL requests, both port `4000` and `8000` will need to be exposed. An example command which retrieves the schema from Uplink is:
151151

152152
```bash title="Docker" {3, 6}
153153
docker run \
154154
-p 4000:4000 \
155-
-p 5000:5000 \
155+
-p 8000:8000 \
156156
--env APOLLO_GRAPH_REF="<your-graph-ref>" \
157157
--env APOLLO_KEY="<your-graph-api-key>" \
158158
--env MCP_ENABLE=1 \

graphql/TheSpaceDevs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ There are operations located at `./operations/*.graphql` for you to use in your
6969
docker run \
7070
-it --rm \
7171
--name apollo-mcp-server \
72-
-p 5000:5000 \
72+
-p 8000:8000 \
7373
-v $PWD/graphql/TheSpaceDevs:/data \
7474
ghcr.io/apollographql/apollo-mcp-server:latest \
75-
--http-port 5000 \
75+
--http-port 8000 \
7676
--schema api.graphql \
7777
--operations operations \
7878
--endpoint https://thespacedevs-production.up.railway.app/
7979
```
8080

81-
2. Add the MCP SSE port to your MCP Server configuration for the client appliction you are running. If you are running locally, the server link will be `http://127.0.0.1:5000/sse`.
81+
2. Add the MCP SSE port to your MCP Server configuration for the client appliction you are running. If you are running locally, the server link will be `http://127.0.0.1:8000/sse`.
8282

8383
_Note: Claude Desktop currently doesn't support SSE_
8484

@@ -87,7 +87,7 @@ _Note: Claude Desktop currently doesn't support SSE_
8787
"mcpServers": {
8888
"thespacedevs": {
8989
"type": "sse",
90-
"url": "http://127.0.0.1:5000/sse>"
90+
"url": "http://127.0.0.1:8000/sse>"
9191
}
9292
}
9393
}

0 commit comments

Comments
 (0)