MCP Enhanced Server
Allows deploying the MCP server to Cloudflare Workers, utilizing D1 database for task management and environment variables for configuration.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Enhanced Serverread the file src/index.ts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Enhanced Server v2.0.0
Enhanced MCP (Model Context Protocol) Server with full 2025-03-26 specification support:
Tools - With annotations, outputSchema, structuredContent, resource_link
Resources - URI-identified data with subscriptions and list change notifications
Prompts - Templated messages and workflows with argument schemas
Elicitation - Server-initiated user input requests
Tasks - Async long-running operations with progress tracking
Streamable HTTP - Production-ready HTTP transport with session management
Auth - Bearer token authentication for remote deployments
Origin Validation - DNS rebinding attack prevention
Quick Start
npm install
npm run build
npm startRelated MCP server: Advanced MCP HTTP Server
Transport Modes
Stdio (default)
npm startStreamable HTTP
MCP_TRANSPORT=http MCP_PORT=3000 npm startStreamable HTTP with Auth
MCP_TRANSPORT=http MCP_PORT=3000 MCP_AUTH_TOKEN=your-secret-token npm startFeatures
Resources
Resource | URI | Description |
Server Info |
| Server name, version, features |
Config Info |
| Transport, auth, environment |
Project Files |
| Template-based file access |
Prompts
Prompt | Description | Arguments |
| Review code quality | code, language |
| Explain code behavior | code, detail_level |
| Generate unit tests | code, framework |
| Debug code errors | code, error |
Tools
Tool | readOnly | destructive | idempotent | Description |
| ✓ | ✗ | ✓ | Read file contents |
| ✗ | ✓ | ✓ | Write file (overwrites) |
| ✓ | ✗ | ✓ | List directory contents |
| ✗ | ✓ | ✗ | Delete a file |
| ✓ | ✗ | ✓ | Regex search in code |
| ✗ | ✓ | ✗ | Execute shell command |
| ✓ | ✗ | ✓ | Request user confirmation |
| ✓ | ✗ | ✓ | Request user input |
| ✓ | ✗ | ✓ | Get async task status |
| ✗ | ✓ | ✓ | Cancel a running task |
| ✓ | ✗ | ✓ | List all tasks |
| ✗ | ✗ | ✗ | Start batch processing |
| ✓ | ✗ | ✓ | Weather data (structured output) |
| ✓ | ✗ | ✓ | System information (structured output) |
| ✓ | ✗ | ✓ | List resources as resource links |
Environment Variables
Variable | Default | Description |
|
| Transport: |
|
| HTTP port |
|
| HTTP host |
| - | Bearer token for auth (optional) |
Cloudflare Workers Deployment
Live deployment: https://mcp-enhanced-server.catnip-haze.workers.dev
Health:
GET /healthMCP endpoint:
POST /mcp(JSON-RPC 2.0)MCP info:
GET /mcp
See cloudflare/ directory for Workers deployment with D1 database.
cd cloudflare
npm install
wrangler d1 create mcp-enhanced-tasks
# Update database_id in wrangler.toml
wrangler d1 execute mcp-enhanced-tasks --file=src/schema.sql
wrangler deployWorkers Environment Variables
Set via Cloudflare Dashboard or wrangler secret put:
MCP_AUTH_TOKEN- Authentication tokenMCP_ALLOWED_ORIGINS- Comma-separated allowed origins
Architecture
src/
├── index.ts # Main entry, server setup, all features
├── tools/
│ ├── annotations.ts # Tool Annotation type definitions
│ └── registry.ts # Tool registry with Zod validation
├── resources/
│ ├── manager.ts # Resource lifecycle manager
│ └── tools.ts # Resource tools
├── prompts/
│ ├── manager.ts # Prompt lifecycle manager
│ └── builtin.ts # Built-in prompt templates
├── elicitation/
│ ├── manager.ts # Elicitation request/response manager
│ └── tools.ts # Elicitation tools
└── tasks/
├── manager.ts # Async task lifecycle manager
└── tools.ts # Task toolsDebug
npx @modelcontextprotocol/inspector node dist/index.jsMaintenance
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
- Flicense-qualityCmaintenanceA secure Model Context Protocol server providing HTTP endpoints for AI agent tool execution, including file system operations, shell commands, and LLM-based code generation.1
- Flicense-qualityBmaintenanceAn HTTP-based MCP server that provides filesystem tools and code analysis, enabling LLMs to read, write, list files, and analyze code securely.1
- AlicenseAqualityBmaintenanceProvides LLMs with local filesystem operations (read/write files, list directories) and command execution via MCP, enabling file management and task automation within AI clients.713ISC
- FlicenseBqualityCmaintenanceProvides tools for file system operations and text generation using OpenAI-compatible models via the Model Context Protocol, supporting both stdio and HTTP transports.6
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Shared long-term memory vault for AI agents with 20 MCP tools.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/21967201/mcp-enhanced-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server