ysharma79/MCP-server
If you are the rightful owner of MCP-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Universal MCP Server is a versatile Model Context Protocol server designed to run on Cloudflare Workers, offering a range of tools and features for MCP clients.
MCP-server
Universal MCP Server
A Universal MCP (Model Context Protocol) Server running on Cloudflare Workers. This server provides various tools including a calculator and a universal API caller that can be used by any MCP client.
Features
- Authless: No authentication required to use the server
- CORS-enabled: Works with browser-based clients
- Session Management: Properly handles MCP sessions
- Tools:
add: Simple addition toolcalculate: Advanced calculator with multiple operationscallApi: Universal API caller for making HTTP requests to any endpointsystem.listTools: Lists all available tools
Deployment
This server can be deployed to Cloudflare Workers using GitHub Actions:
- Fork this repository
- Add your Cloudflare API Token and Account ID as GitHub secrets:
CF_API_TOKEN: Your Cloudflare API token with Workers permissionsCF_ACCOUNT_ID: Your Cloudflare account ID
- Push to the main branch to trigger deployment
Local Development
Standard Method
# Install dependencies
npm install
# Start local development server
npm run dev
Using Docker
This project can also be run in a Docker container:
# Build and start the container
docker-compose up --build
# Or run in detached mode
docker-compose up -d
# Stop the container
docker-compose down
The server will be available at http://localhost:8787
Connect to Cloudflare AI Playground
You can connect to your MCP server from the Cloudflare AI Playground, which is a remote MCP client:
- Go to https://playground.ai.cloudflare.com/
- Enter your deployed MCP server URL (
remote-mcp-server-authless.<your-account>.workers.dev/sse) - You can now use your MCP tools directly from the playground!
Connect Claude Desktop to your MCP server
You can also connect to your remote MCP server from local MCP clients, by using the mcp-remote proxy.
To connect to your MCP server from Claude Desktop, follow Anthropic's Quickstart and within Claude Desktop go to Settings > Developer > Edit Config.
Update with this configuration:
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse" // or remote-mcp-server-authless.your-account.workers.dev/sse
]
}
}
}
Restart Claude and you should see the tools become available.