Skip to content

Commit 3aaf47b

Browse files
Update mcp-server.mdx
1 parent 4788587 commit 3aaf47b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/content/docs/agents/capabilities/mcp-server.mdx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ Follow these steps to create and deploy your own MCP server on Cloudflare Worker
2828

2929
### 1. Create a new Worker
3030

31-
If you haven't already, install [Wrangler](https://developers.cloudflare.com/workers/wrangler/) and log in:
32-
33-
```bash
34-
npm install wrangler
35-
wrangler login
36-
```
37-
3831
Initialize a new project:
3932
```bash
4033
npx create-cloudflare@latest my-mcp-worker
@@ -99,9 +92,9 @@ This converts your Cloudflare Worker into an MCP server, enabling interactions w
9992

10093

10194
### 5. Deploy the MCP Server
102-
Update your wrangler.toml with the appropriate configuration then deploy your Worker:
95+
Update your wrangler.toml with the appropriate configuration, then then deploy your Worker:
10396
```bash
104-
wrangler deploy
97+
npx wrangler deploy
10598
```
10699

107100
Your MCP server is now deployed globally and all your public class methods are exposed as MCP tools that AI assistants can now interact with.

0 commit comments

Comments
 (0)