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
Copy file name to clipboardExpand all lines: src/content/docs/agents/guides/remote-mcp-server.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ In the directory of your new project, run the following command to start the dev
39
39
npm start
40
40
```
41
41
42
-
Your MCP server is now running on `http://localhost:8787/sse`.
42
+
Your MCP server is now running on `http://localhost:8788/sse`.
43
43
44
44
In a new terminal, run the [MCP inspector](https://github.com/modelcontextprotocol/inspector). The MCP inspector is an interactive MCP client that allows you to connect to your MCP server and invoke tools from a web browser.
45
45
@@ -53,7 +53,7 @@ Open the MCP inspector in your web browser:
53
53
open http://localhost:5173
54
54
```
55
55
56
-
In the inspector, enter the URL of your MCP server, `http://localhost:8787/sse`, and click **Connect**:
56
+
In the inspector, enter the URL of your MCP server, `http://localhost:8788/sse`, and click **Connect**:
57
57
58
58

59
59
@@ -83,7 +83,7 @@ After deploying, take the URL of your deployed MCP server, and enter it in the M
83
83
84
84
Now that your MCP server is running with OAuth authentication, you can use the [`mcp-remote` local proxy](https://www.npmjs.com/package/mcp-remote) to connect Claude Desktop or other MCP clients to it — even though these tools aren't yet _remote_ MCP clients, and don't support remote transport or authorization on the client side. This lets you to test what an interaction with your OAuth-enabled MCP server will be like with a real MCP client.
85
85
86
-
Update your Claude Desktop configuration to point to the URL of your MCP server. You can use either the `localhost:8787/sse` URL, or the URL of your deployed MCP server:
86
+
Update your Claude Desktop configuration to point to the URL of your MCP server. You can use either the `localhost:8788/sse` URL, or the URL of your deployed MCP server:
87
87
88
88
```json
89
89
{
@@ -159,8 +159,8 @@ You'll need to create two [GitHub OAuth Apps](https://docs.github.com/en/apps/oa
159
159
Navigate to [github.com/settings/developers](https://github.com/settings/developers) to create a new OAuth App with the following settings:
For the OAuth app you just created, add the client ID of the OAuth app as `GITHUB_CLIENT_ID` and generate a client secret, adding it as `GITHUB_CLIENT_SECRET` to a `.dev.vars` file in the root of your project, which [will be used to set secrets in local development](/workers/configuration/secrets/).
166
166
@@ -179,7 +179,7 @@ Run the following command to start the development server:
179
179
npm start
180
180
```
181
181
182
-
Your MCP server is now running on `http://localhost:8787/sse`.
182
+
Your MCP server is now running on `http://localhost:8788/sse`.
183
183
184
184
In a new terminal, run the [MCP inspector](https://github.com/modelcontextprotocol/inspector). The MCP inspector is an interactive MCP client that allows you to connect to your MCP server and invoke tools from a web browser.
185
185
@@ -193,7 +193,7 @@ Open the MCP inspector in your web browser:
193
193
open http://localhost:5173
194
194
```
195
195
196
-
In the inspector, enter the URL of your MCP server, `http://localhost:8787/sse`, and click **Connect**:
196
+
In the inspector, enter the URL of your MCP server, `http://localhost:8788/sse`, and click **Connect**:
197
197
198
198
You should be redirected to a GitHub login or authorization page. After authorizing the MCP Client (the inspector) access to your GitHub account, you will be redirected back to the inspector. You should see the "List Tools" button, which will list the tools that your MCP server exposes.
0 commit comments