Skip to content

Commit 4c28f1a

Browse files
committed
docs: change default port from 5000 to 8000
1 parent f8140fb commit 4c28f1a

File tree

9 files changed

+33
-33
lines changed

9 files changed

+33
-33
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/quickstart.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ You can run the MCP Server using the Rover CLI or Docker.
110110
docker run \
111111
-it --rm \
112112
--name apollo-mcp-server \
113-
-p 5000:5000 \
113+
-p 8000:8000 \
114114
-v $PWD/graphql/TheSpaceDevs/config.yaml:/config.yaml \
115115
-v $PWD/graphql/TheSpaceDevs:/data \
116116
--pull always \
@@ -120,7 +120,7 @@ You can run the MCP Server using the Rover CLI or Docker.
120120
This command:
121121
- Starts an MCP Server in a Docker container
122122
- Maps configuration files into the proper place for the Apollo MCP Server container
123-
- Forwards port 5000 for accessing the MCP Server
123+
- Forwards port 8000 for accessing the MCP Server
124124

125125
## Step 3: Verify the MCP Server with MCP Inspector
126126

@@ -134,7 +134,7 @@ You can run the MCP Server using the Rover CLI or Docker.
134134

135135
1. In Inspector:
136136
- Select `Streamable HTTP` as the Transport Type
137-
- Enter `http://127.0.0.1:5000/mcp` as the URL
137+
- Enter `http://127.0.0.1:8000/mcp` as the URL
138138
- Click **Connect**, then **List Tools**
139139

140140
You should see the tools from your server listed.
@@ -159,7 +159,7 @@ Then add the following configuration
159159
"command": "npx",
160160
"args": [
161161
"mcp-remote",
162-
"http://127.0.0.1:5000/mcp"
162+
"http://127.0.0.1:8000/mcp"
163163
]
164164
}
165165
}
@@ -194,16 +194,16 @@ Let's verify everything is working:
194194
### Common Issues
195195

196196
#### MCP Server Won't Start
197-
- **Error**: "Port 5000 is already in use"
198-
- 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
197+
- **Error**: "Port 8000 is already in use"
198+
- 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
199199
- **Error**: "Failed to load supergraph configuration"
200200
- Solution: Verify you're running the command from the repo root directory
201201
- Solution: Check that the path to `supergraph.yaml` is correct
202202

203203
#### MCP Inspector Connection Issues
204204
- **Error**: "Failed to connect to server"
205205
- Solution: Ensure the MCP server is running (check terminal output)
206-
- Solution: Verify you're using the correct URL (`http://127.0.0.1:5000/mcp`)
206+
- Solution: Verify you're using the correct URL (`http://127.0.0.1:8000/mcp`)
207207
- Solution: Check if your firewall is blocking the connection
208208

209209
#### Claude Desktop Issues

docs/source/run.mdx

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

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

111111
</Note>
@@ -116,7 +116,7 @@ Run the following Docker command to start the MCP Server, replacing the values f
116116
docker run \
117117
-it --rm \
118118
--name apollo-mcp-server \
119-
-p 5000:5000 \
119+
-p 8000:8000 \
120120
-v <PATH/TO/CONFIG/FILE>:/config.yaml \
121121
-v <PATH/TO/PROJECT/ROOT>:/data \
122122
--pull always \
@@ -127,7 +127,7 @@ This command:
127127

128128
- Starts an MCP Server in a Docker container
129129
- Maps configuration files into the proper place for the Apollo MCP Server container
130-
- Forwards port 5000 for accessing the MCP Server
130+
- Forwards port 8000 for accessing the MCP Server
131131

132132
## With the Rover CLI
133133

@@ -147,12 +147,12 @@ The Apollo Runtime Container runs both the MCP Server and the [Apollo Router](ht
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)