
deno-mcp-template
by phughesmcr·★ 30·Score 46
Comprehensive TypeScript template for building production MCP servers with Deno, supporting multiple distribution formats.
Overview
The Deno MCP Server Template is a batteries-included starting point for building production MCP servers in TypeScript. It provides a complete working server with STDIO + HTTP transports, security middleware, persistent state, sandboxed execution, and CI/CD workflows out of the box. The template supports multiple distribution formats including JSR packages, native binaries, DXT extensions, and cloud deployment on Deno Deploy, making it easy to ship MCP servers anywhere with a single codebase.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this template if you want to build production MCP servers with TypeScript and Deno, especially when you need multiple distribution formats and built-in infrastructure like persistent state and sandboxed execution.
When NOT to choose this
Don't choose this template if you're not using TypeScript/Deno, or if you need more specialized functionality beyond what the template provides (like custom authentication systems beyond bearer tokens).
Tools this server exposes
11 tools extracted from the READMEelicit-inputElicits input from users through a two-step form process
elicit-form-wizardCreates a two-step form wizard for complex data collection
url-elicitation-demoDemonstrates URL-mode elicitation with streamable HTTP and session handling
fetch-website-infoFetches information from a website with optional MCP Apps UI
increment-counterIncrements a persistent counter value stored in Deno KV
log-messageLogs a message to the system with structured logging
notify-list-changedNotifies subscribers when a list has been modified
poemGenerates a sample poem using the sampling functionality
execute-codeExecutes code in a sandboxed environment using Deno's microVM
delayed-echoDemonstrates experimental task workflows with delayed echo functionality
guided-poemCreates a guided poem generation using elicitation and sampling pipeline
Comparable tools
Installation
Installation
- Install Deno (if needed):
curl -fsSL https://deno.land/install.sh | sh- Create your project from template:
gh repo create my-mcp-server --template phughesmcr/deno-mcp-template
cd my-mcp-server- Run setup (renames placeholders, then self-destructs):
deno task setup- Start the server:
deno task startClaude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"my-mcp-server": {
"command": "deno",
"args": ["run", "-A", "/absolute/path/to/main.ts"]
}
}
}FAQ
- What distribution formats are supported?
- The template supports JSR packages, native binaries, DXT extensions, and cloud deployment on Deno Deploy from a single codebase.
- How do I handle authentication for my MCP server?
- Set the MCP_HTTP_BEARER_TOKEN environment variable (or --http-bearer-token flag) to require clients to send Authorization: Bearer or x-api-key headers.
Compare deno-mcp-template with
Last updated · Auto-generated from public README + GitHub signals.