MCP Demo
by akazwz
This is a simple demo project for creating custom AI tools using Cloudflare Workers MCP, which can be used with Claude, Cursor, and other MCP-enabled AI assistants. It aims to help extend AI capabilities by connecting AI assistants with data sources and tools.
Last updated: N/A
What is MCP Demo?
This project demonstrates how to create custom AI tools using Cloudflare Workers MCP (Model Context Protocol). MCP is a standard for connecting AI assistants with data sources and tools, allowing them to generate better and more relevant responses.
How to use MCP Demo?
To use this demo, clone the repository, install dependencies, configure your Cloudflare Worker using the provided setup command, deploy the worker, and then configure your MCP client (Claude or Cursor) to connect to the deployed worker. You can then invoke the custom tools directly from your AI assistant using specific commands.
Key features of MCP Demo
Custom AI tools running on Cloudflare Workers
Seamless integration with Claude, Cursor, and other MCP clients
Ability to extend AI capabilities through serverless functions
Easy deployment using Wrangler CLI
Use cases of MCP Demo
Extending the functionality of AI assistants with custom tools
Connecting AI assistants to specific data sources
Automating tasks within AI assistants
Creating personalized experiences with AI assistants
FAQ from MCP Demo
What is MCP?
What is MCP?
MCP (Model Context Protocol) is an open standard for connecting AI assistants with data sources, content repositories, business tools, and development environments.
What are the prerequisites for running this demo?
What are the prerequisites for running this demo?
You need Node.js, pnpm, a Cloudflare account, Wrangler CLI, and a MCP-compatible client like Claude Desktop or Cursor.
How do I deploy the Worker?
How do I deploy the Worker?
After configuring the Worker, run pnpm run deploy to deploy it to your Cloudflare account.
How do I install the MCP server in Claude?
How do I install the MCP server in Claude?
Run pnpx workers-mcp install:claude to install the MCP server in Claude.
What if my AI assistant doesn't see my tools?
What if my AI assistant doesn't see my tools?
Try restarting the AI assistant. If you changed method names or parameters, you also need to restart the AI assistant for the changes to take effect. Check Cloudflare Workers logs for errors.