Deno MCP Server logo

Deno MCP Server

by Timtech4u

The Deno MCP Server allows LLMs like Claude to securely execute Deno TypeScript/JavaScript code with configurable permissions. It acts as a Model Context Protocol (MCP) server, enabling LLMs to interact with Deno runtime.

View on GitHub

Last updated: N/A

What is Deno MCP Server?

A Model Context Protocol (MCP) server that enables LLMs, such as Claude, to execute Deno TypeScript/JavaScript code in a controlled environment. It provides a secure way for LLMs to interact with the Deno runtime by allowing configurable permissions.

How to use Deno MCP Server?

  1. Clone the repository. 2. Install dependencies using npm. 3. Build the project. 4. Configure the MCP server in Claude Desktop or Cline by adding the provided JSON configuration, ensuring to update the path to the server's index.js file. 5. Restart Claude or Cline. 6. Use natural language to instruct Claude to execute Deno code, specifying required permissions.

Key features of Deno MCP Server

  • Execute Deno TypeScript or JavaScript code

  • Configure permissions (net, read, write, env, run, etc.)

  • Enable/disable unstable features

  • Get Deno version information

Use cases of Deno MCP Server

  • Running Deno code snippets provided by an LLM

  • Fetching data from the internet using Deno within an LLM context

  • Manipulating files using Deno within an LLM context

  • Checking the Deno version installed on the server

FAQ from Deno MCP Server

How do I resolve 'Deno Not Found' errors?

Ensure Deno is installed and available in your system PATH.

How do I grant network access?

Request the 'net' permission when executing code that requires network access.

How do I grant file system access?

Request the 'read' and/or 'write' permissions when executing code that requires file system access.

What happens if my code takes too long to execute?

The server has a 30-second timeout. Code exceeding this limit will be terminated.

How do I contribute to this project?

Submit a Pull Request with your contributions.