diff --git a/src/content/docs/agents/capabilities/mcp-server.mdx b/src/content/docs/agents/capabilities/mcp-server.mdx index 3f88e7dde02e65..ae0d39b84d75f6 100644 --- a/src/content/docs/agents/capabilities/mcp-server.mdx +++ b/src/content/docs/agents/capabilities/mcp-server.mdx @@ -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 @@ -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.