Deno MCP Template
A template repo for writing and publishing local, remote, DXT, and binary MCP servers using Deno.
What is Deno MCP Template?
Deno MCP Template is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to template repo for writing and publishing local, remote, dxt, and binary mcp servers using deno.
A template repo for writing and publishing local, remote, DXT, and binary MCP servers using Deno.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A template repo for writing and publishing local, remote, DX
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx deno-mcp-templateConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Deno MCP Template
Deno MCP Template is a production-ready starter repository for building and publishing MCP servers using the Deno runtime, with a single codebase that compiles to six deployment targets: local STDIO server, Streamable HTTP server, JSR package, standalone native binary, DXT extension for Claude Desktop, and a Deno Deploy cloud app. It ships with built-in support for dual transports, rate limiting, CORS, bearer token auth, Deno KV persistence, sandboxed code execution via microVMs, background task queuing, and interactive UI components — removing all the boilerplate so developers can focus on writing their actual MCP tools.
Prerequisites
- Deno 2.x installed (curl -fsSL https://deno.land/install.sh | sh)
- GitHub account for using the template repository and GitHub Actions CI/CD
- An MCP-compatible client such as Claude Desktop, Claude Code, or Cursor for testing
- gh CLI installed if creating from the template via GitHub CLI
Create a new repository from the template
Use the GitHub CLI or the GitHub web UI to create a new repo from the deno-mcp-template template. This copies all starter files into your new project.
gh repo create my-mcp-server --template phughesmcr/deno-mcp-template
cd my-mcp-serverRun the setup task
The setup task installs Deno dependencies and configures the project for local development.
deno task setupStart the server locally in STDIO mode
Launch the MCP server in STDIO mode for use with Claude Desktop or Claude Code. The server auto-detects transport based on environment variables.
deno task startConfigure environment variables for your deployment
Set key environment variables to control transports, auth, and networking. For HTTP mode, set MCP_PORT; for bearer auth, set MCP_HTTP_BEARER_TOKEN.
export MCP_PORT=3001
export MCP_HTTP_BEARER_TOKEN=your_secret_token
export MCP_ALLOWED_ORIGINS=https://yourapp.comAdd to MCP client configuration
Register your local Deno MCP server in your MCP client config using the deno run command pointing at your project.
Build a native binary for distribution
Compile the server to a self-contained binary that runs without the Deno runtime. Useful for distributing to users who don't have Deno installed.
deno task compileDeno MCP Template Examples
Client configuration
Register your Deno MCP server with Claude Desktop using the deno run command. Replace the path with your project location.
{
"mcpServers": {
"my-mcp-server": {
"command": "deno",
"args": ["run", "--allow-all", "/path/to/my-mcp-server/src/index.ts"]
}
}
}Prompts to try
The template ships with example tools you can test immediately after setup.
- "Fetch the page title and description from https://deno.land"
- "Execute this JavaScript snippet: console.log(2 + 2)"
- "Increment the counter and show me the current value"
- "Review this code snippet using the review-code prompt"
- "Show me the hello://world resource"Troubleshooting Deno MCP Template
deno task setup fails with permission errors
Deno requires explicit permission flags. Ensure you run setup from inside the project directory, and if using a custom deno.json, verify that the tasks section includes the correct --allow-* flags for your tools.
The server starts in HTTP mode instead of STDIO mode
Set MCP_NO_HTTP=true to disable HTTP transport, or check that your MCP client is spawning the process via stdin/stdout. When invoked from a terminal interactively, the server defaults to HTTP mode.
Bearer token authentication blocks all requests
If MCP_HTTP_BEARER_TOKEN is set, all HTTP requests must include the header 'Authorization: Bearer <your_token>'. For STDIO mode, bearer auth does not apply — remove the env var if you only use STDIO transport.
Frequently Asked Questions about Deno MCP Template
What is Deno MCP Template?
Deno MCP Template is a Model Context Protocol (MCP) server that template repo for writing and publishing local, remote, dxt, and binary mcp servers using deno. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Deno MCP Template?
Follow the installation instructions on the Deno MCP Template GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Deno MCP Template?
Deno MCP Template works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Deno MCP Template free to use?
Yes, Deno MCP Template is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Deno MCP Template Alternatives — Similar Developer Tools Servers
Looking for alternatives to Deno MCP Template? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Deno MCP Template in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Deno MCP Template?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.