Deno Code Executor
FreeNot checkedExecutes TypeScript and JavaScript code in isolated Deno processes with configurable permissions for secure sandboxed code testing, educational programming assi
About
Executes TypeScript and JavaScript code in isolated Deno processes with configurable permissions for secure sandboxed code testing, educational programming assistance, and automated script execution.
README
A secure MCP (Model Context Protocol) server that allows AI assistants like Claude to execute TypeScript and JavaScript code through Deno.
Features
- 🔒 Secure code execution using Deno's permission system
- 🚀 TypeScript and JavaScript support with full Deno runtime
- 🛡️ Configurable permissions set at server startup
- 🔌 MCP compliant for seamless AI assistant integration
- ⚡ Fast and lightweight with minimal dependencies
Installation
Install from JSR:
deno add jsr:@cong/mcp-deno
Or run directly:
deno run --allow-all jsr:@cong/mcp-deno
Usage
With Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"deno-executor": {
"command": "deno",
"args": [
"run",
"--allow-all",
"jsr:@cong/mcp-deno"
]
}
}
}
Permission Configuration
Control what the executed code can access by modifying the startup arguments:
{
"mcpServers": {
"deno-executor": {
"command": "deno",
"args": [
"run",
"--allow-net=example.com",
"--allow-read=/tmp",
"--allow-write=/tmp",
"jsr:@cong/mcp-deno"
]
}
}
}
Available permission flags:
--allow-net[=<allow-list>]- Allow network access--allow-read[=<allow-list>]- Allow file system read access--allow-write[=<allow-list>]- Allow file system write access--allow-run[=<allow-list>]- Allow running subprocesses--allow-env[=<allow-list>]- Allow environment access--allow-all- Allow all permissions (use with caution)
Development
# Install dependencies
deno cache main.ts
# Run in development mode
deno task dev
# Run tests
deno task test
# Type check
deno check main.ts
Debugging with MCP Inspector
For debugging and testing your MCP server, use the MCP Inspector:
# Install MCP Inspector
npm install -g @modelcontextprotocol/inspector
# Run the server with inspector
npx @modelcontextprotocol/inspector deno run --allow-all jsr:@cong/mcp-deno
# Or test locally
npx @modelcontextprotocol/inspector deno run --allow-all main.ts
Security
This MCP server prioritizes security through:
- Subprocess isolation: Code runs in separate Deno processes
- Explicit permissions: Only granted permissions are available to executed code
- No persistent state: Each execution is independent
- Permission error handling: Clear feedback when permissions are insufficient
License
MIT
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Installing Deno Code Executor
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/alexcong/deno-mcpFAQ
Is Deno Code Executor MCP free?
Yes, Deno Code Executor MCP is free — one-click install via Unyly at no cost.
Does Deno Code Executor need an API key?
No, Deno Code Executor runs without API keys or environment variables.
Is Deno Code Executor hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Deno Code Executor in Claude Desktop, Claude Code or Cursor?
Open Deno Code Executor on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Deno Code Executor with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
