Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Deno Code Executor

БесплатноНе проверен

Executes TypeScript and JavaScript code in isolated Deno processes with configurable permissions for secure sandboxed code testing, educational programming assi

GitHubEmbed

Описание

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.

from github.com/alexcong/deno-mcp

Установка Deno Code Executor

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/alexcong/deno-mcp

FAQ

Deno Code Executor MCP бесплатный?

Да, Deno Code Executor MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Deno Code Executor?

Нет, Deno Code Executor работает без API-ключей и переменных окружения.

Deno Code Executor — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Deno Code Executor в Claude Desktop, Claude Code или Cursor?

Открой Deno Code Executor на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Deno Code Executor with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development