Skip to content

Commit b6df6ac

Browse files
committed
Small fixes
1 parent 7acd80d commit b6df6ac

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/content/docs/agents/examples/build-mcp-server.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,21 @@ sidebar:
55
order: 100
66
group:
77
hideIndex: true
8-
description: Learn how to create, deploy, and configure an MCP server on Cloudflare Workers to enable AI assistants to interact with your services directly.
8+
description: Build and deploy an MCP server on Cloudflare Workers
99
---
1010

1111
import { MetaInfo, Render, Type, TypeScriptExample, WranglerConfig } from "~/components";
1212
import { Aside } from '@astrojs/starlight/components';
1313

14-
In this guide, you will learn how to build and deploy a Model Context Protocol (MCP) server on Cloudflare Workers.
15-
16-
[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open standard that allows AI agents and assistants (like [Claude Desktop](https://claude.ai/download), [Cursor](https://www.cursor.com/), or [Anthropic's Claude](https://www.anthropic.com/claude)) to interact with services directly. If you want users to access your service through an AI agent, you can spin up an MCP server for your application.
14+
[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open standard that allows AI agents and assistants (like [Claude Desktop](https://claude.ai/download) or [Cursor](https://www.cursor.com/)) to interact with services directly. If you want users to access your service through an AI assistant, you can spin up an MCP server for your application.
1715

1816
### Why use Cloudflare Workers for MCP?
1917

2018
With Cloudflare Workers and the [workers-mcp](https://github.com/cloudflare/workers-mcp/) package, you can turn any API or service into an MCP server with minimal setup. Just define your API methods as TypeScript functions, and workers-mcp takes care of tool discovery, protocol handling, and request routing. Once deployed, MCP clients like Claude can connect and interact with your service automatically.
2119

2220
#### Example: Exposing a Weather API as an MCP server
2321

24-
Here's a Cloudflare Worker that fetches weather data from an external API and exposes it as an MCP tool that Claude can call directly:
22+
Heres a Cloudflare Worker that fetches weather data from an external API and exposes it as an MCP tool that Claude can call directly:
2523

2624
```ts
2725
import { WorkerEntrypoint } from 'cloudflare:workers';

0 commit comments

Comments
 (0)