SuperAPI AI Directory

mcp-devtools

Scoped access to local dev environments (filesystem, databases, processes, OpenAPI) with a command allowlist and read-only database mode.

Open website

About this tool

Purpose: mcp-devtools provides AI agents with secure, restricted access to the local development environment through the Model Context Protocol, targeting everyday development tool scenarios, and is compatible with MCP clients such as Claude, Cursor, Copilot, and Continue.

Main capabilities: includes 14 tools, 3 MCP Resources, 4 MCP Prompts, a Plugin API, two transport modes (stdio and authenticated HTTP), and audit logging. Resources provide read-only data, and Prompts provide prompt templates for common development workflows.

Usage: stdio is used by default, and can be added to Claude Desktop's claude_desktop_config.json or Cursor's ~/.cursor/mcp.json. HTTP mode requires creating mcp-devtools.json in the project root directory, then starting the server; the MCP endpoint is located at http://localhost:3333。配置由 cosmiconfig loads from mcp-devtools.json, .mcp-devtoolsrc, or the mcpDevtools key in package.json; zero configuration is supported, and schema defaults are used when running npx @oscarmarin/mcp-devtools. Custom tools can be extended through configuration or plugin modules.

Security restrictions: filesystem paths are resolved to absolute paths and compared with config.scope; out-of-scope symbolic links throw SCOPE_VIOLATION; run_command only executes binaries whose basename is in allowedCommands, using spawn(file, args) without going through a shell; when the database readOnly is true, INSERT/UPDATE/DELETE/DROP/CREATE/GRANT are rejected, and PostgreSQL queries run within BEGIN READ ONLY ... ROLLBACK; after configuring auth.token for HTTP, Authorization: Bearer <token> is required, and comparison uses crypto.timingSafeEqual. There are also audit logging, get_env secret masking, call_api restricted to spec servers hosts, and output limits (commands 100KB, files 1MB, queries 200 rows).

Applicable scenarios: development workflows that need to let AI agents securely access local files, databases, processes, and OpenAPI.

Limitations: the specific tool list, configuration fields, and plugin interface details need to be checked in the repository's docs/tools/, docs/configuration.md, and example configurations; the materials do not provide information on fees, pricing, or platform support.