Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mcp-server.mdx #19760

Open
wants to merge 2 commits into
base: production
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions src/content/docs/agents/capabilities/mcp-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ Follow these steps to create and deploy your own MCP server on Cloudflare Worker

### 1. Create a new Worker

If you haven't already, install [Wrangler](https://developers.cloudflare.com/workers/wrangler/) and log in:

```bash
npm install wrangler
wrangler login
```

Initialize a new project:
```bash
npx create-cloudflare@latest my-mcp-worker
Expand Down Expand Up @@ -99,9 +92,9 @@ This converts your Cloudflare Worker into an MCP server, enabling interactions w


### 5. Deploy the MCP Server
Update your wrangler.toml with the appropriate configuration then deploy your Worker:
Update your wrangler.toml with the appropriate configuration, then deploy your Worker:
```bash
wrangler deploy
npx wrangler deploy
```

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.
Expand Down