You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Change default port from 5000 to 8000 - @DaleSeo PR #417
2
+
3
+
The default server port has been changed from `5000` to `8000` to avoid conflicts with common development tools and services that typically use port 5000 (such as macOS AirPlay, Flask development servers, and other local services).
4
+
5
+
**Migration**: If you were relying on the default port 5000, you can continue using it by explicitly setting the port in your configuration file or command line arguments.
Copy file name to clipboardExpand all lines: docs/source/deploy.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,12 @@ For most production deployments, use the all-in-one [Apollo Runtime Container](/
19
19
20
20
### Deploy the Apollo Runtime Container
21
21
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.
23
23
24
24
```bash title="Deploy with GraphOS (Recommended)"
25
25
docker run \
26
26
-p 4000:4000 \
27
-
-p 5050:5000 \
27
+
-p 8000:8000 \
28
28
--env APOLLO_GRAPH_REF="<your-graph-ref>" \
29
29
--env APOLLO_KEY="<your-graph-api-key>" \
30
30
--env MCP_ENABLE=1 \
@@ -52,7 +52,7 @@ Use the standalone Apollo MCP Server container if you already have a GraphQL API
52
52
53
53
Apollo MCP Server is available as a standalone Docker container. Container images are downloadable using the image `ghcr.io/apollographql/apollo-mcp-server`.
54
54
55
-
By default, the container expects all schema and operation files to be present in the `/data` directory within the container and that clients use Streamable HTTP transport on container port `5050`.
55
+
By default, the container expects all schema and operation files to be present in the `/data` directory within the container and that clients use Streamable HTTP transport on container port `8000`.
56
56
57
57
Here's an example `docker run` command that runs Apollo MCP Server for an example using [TheSpaceDevs graph](https://thespacedevs-production.up.railway.app/):
Copy file name to clipboardExpand all lines: docs/source/guides/auth-auth0.mdx
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ This guide uses [Auth0](https://auth0.com/) as the Identity Provider.
31
31
1. In your dashboard, navigate to **Applications** -> **APIs**.
32
32
1. Click **Create API**.
33
33
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`.
35
35
1. Leave the defaults for the rest of the fields and click **Create**.
36
36
1. Navigate to your dashboard **Settings**.
37
37
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.
89
89
- https://<AUTH0 DOMAIN> # Fill in your Auth0 domain
90
90
audiences:
91
91
- <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
93
93
scopes:
94
94
- read:users # Adjust scopes as needed
95
95
```
96
96
97
97
1. Replace the `<AUTH0 DOMAIN>` with your own Auth0 domain from earlier.
98
98
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`.
100
100
101
101
Your MCP server is now configured to use Auth0 for authentication.
102
102
@@ -188,7 +188,7 @@ You need a graph's credentials and a valid GraphOS plan to use the router's auth
188
188
189
189
The browser should open automatically with a proxy auth token.
190
190
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.
192
192
1. Click **Connect**. This triggers the OAuth flow, and you are redirected to the Auth0 login page.
193
193
1. Log in with the credentials you set up in the Auth0 connection and allow MCP Inspector access.
194
194
1. After you connect, the browser redirects back to MCP Inspector.
@@ -241,7 +241,7 @@ Then, continue with the following steps:
241
241
| "What would you like to configure?" | "Add Extension" |
242
242
| "What type of extension would you like to add?" | "Command Line Extension" |
243
243
| "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` |
245
245
| Other prompts (timeout, description, environment variables) | Use the default values |
246
246
247
247
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:
255
255
256
256
#### MCP Server Won't Start
257
257
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
260
260
- **Error**: "Failed to load supergraph configuration"
261
261
- Solution: Verify you're running the command from the repo root directory
262
262
- Solution: Check that the path to `supergraph.yaml` is correct
@@ -269,7 +269,7 @@ Then, continue with the following steps:
269
269
270
270
- **Error**: "Failed to connect to server"
271
271
- 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`)
273
273
- Solution: Check if your firewall is blocking the connection
Copy file name to clipboardExpand all lines: docs/source/quickstart.mdx
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,12 +61,12 @@ You can start your MCP server locally with `rover dev`.
61
61
62
62
</Tabs>
63
63
64
-
1. You should see some output indicating that the GraphQL server is running at `http://localhost:4000` and the MCP server is running at `http://127.0.0.1:5050`.
64
+
1. You should see some output indicating that the GraphQL server is running at `http://localhost:4000` and the MCP server is running at `http://127.0.0.1:8000`.
65
65
66
66
1. In a new terminal window, run the MCP Inspector to verify the server is running:
Copy file name to clipboardExpand all lines: docs/source/run.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ The container sets a few defaults for ease of use:
117
117
118
118
-**Working Directory is `/data`**: Make sure to mount static schemas / operations to this location
119
119
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
121
121
the MCP server using the port flag when running [(`-p` / `--port`)](https://docs.docker.com/reference/cli/docker/container/run/#publish)
122
122
123
123
</Note>
@@ -128,7 +128,7 @@ Run the following Docker command to start the MCP Server, replacing the values f
128
128
docker run \
129
129
-it --rm \
130
130
--name apollo-mcp-server \
131
-
-p 5000:5000 \
131
+
-p 8000:8000 \
132
132
-v <PATH/TO/CONFIG/FILE>:/config.yaml \
133
133
-v <PATH/TO/PROJECT/ROOT>:/data \
134
134
--pull always \
@@ -139,20 +139,20 @@ This command:
139
139
140
140
- Starts an MCP Server in a Docker container
141
141
- 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
143
143
144
144
## With the Apollo Runtime Container
145
145
146
146
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.
147
147
148
148
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.
149
149
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:
0 commit comments