Create MCP
create-mcp
MCP(Model Control Protocol) 서버를 설정하고 Cloudflare Workers에 배포하는 CLI 도구를 사용하면 몇 분 내에 커서 에이전트에 대한 새로운 도구를 만들 수 있습니다.
에이전트에게 MCP 도구를 제공하려면 JSDoc 주석이 있는 TypeScript 함수만 작성하면 됩니다.
필수 조건
Wrangler CLI를 설치하고 Cloudflare 계정으로 로그인했습니다.
Claude 데스크톱 앱이 설치되었습니다. (곧 삭제될 예정입니다.)
Related MCP server: Workers MCP Demo
지침
새로운 MCP 서버를 스캐폴딩하고 배포하려면 다음을 실행하세요.
지엑스피1
또한 명령에 직접 이름을 전달할 수도 있습니다: bun create mcp --name <server-name> .
이 CLI의 기능
템플릿 워커 저장소를
<current-dir>/<server-name>에 복제합니다.종속성을 설치합니다
Git 저장소를 초기화합니다
Cloudflare 계정에 Hello World MCP 서버를 배포합니다.
Claude Desktop에 추가합니다
MCP 서버 명령을 클립보드에 복사하여 커서에 붙여넣을 수 있습니다.
사용 방법
src/index.ts 의 MyWorker 클래스에 함수를 추가하기만 하면 됩니다. 각 함수는 MCP 도구로 컴파일됩니다.
예를 들어:
/**
* A warm, friendly greeting from your new Workers MCP server.
* @param name {string} the name of the person we are greeting.
* @return {string} the contents of our greeting.
*/
sayHello(name: string) {
return `Hello from an MCP Worker, ${name}!`;
}첫 번째 줄은 도구에 대한 설명입니다.
@param태그는 도구의 매개변수로, 유형과 설명이 포함되어 있습니다.@return태그는 도구의 반환 값과 유형을 나타냅니다.
변경 사항 배포
작업자를 다시 배치합니다.
bun run deploy커서 창을 다시 로드합니다.
이제 귀하의 에이전트에게 새로운 도구를 사용해 달라고 요청할 수 있습니다!
왜 Cloudflare Workers를 선택해야 할까요?
분위기, 뛰어난 DX, 그리고 매우 빠른 배포.
저는 MCP 서버를 로컬에서 실행하는 것을 좋아하지 않고, 여러분도 아마 그렇지 않을 거라고 생각합니다. 이제 Cursor에서 API를 호출하는 간단한 MCP 도구를 사용하기 위해 노드 프로세스를 실행할 필요가 없습니다.
함수를 작성하기만 하면 됩니다. JSDoc 주석에 설명과 매개변수를 넣으면 됩니다.
create-mcp로 만든 예제 서버
create-mcp로 만든 모든 MCP 서버를 자신의 Cloudflare 계정에 복제하여 배포할 수 있습니다.
bun create mcp --clone <github-url>This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables the creation and deployment of API-based MCP tools for Cursor Agent using Cloudflare Workers, streamlining development and integration of custom functionalities.4349
- AlicenseBqualityDmaintenanceA demonstration project that uses Cloudflare Workers MCP to create custom AI tools that can be integrated with Claude, Cursor, and other AI assistants supporting the Model Context Protocol.21030MIT
- FlicenseNot gradedqualityCmaintenanceA serverless tool that allows deployment of authentication-free Model Context Protocol servers on Cloudflare Workers, enabling AI assistants to utilize custom tool functionalities.1
- FlicenseNot gradedqualityCmaintenanceA tool that deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers without authentication requirements, allowing developers to add custom tools that can be accessed from Claude Desktop or the Cloudflare AI Playground.
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fefergrgrgrg/create-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server