devtools MCP server
✓ VerifiziertErmöglicht KI-Agenten einen sicheren, eingeschränkten Zugriff auf lokale Dateisysteme, Datenbanken, Systemprozesse und OpenAPI-Endpoints.
Auch bekannt als marin1321/mcp-devtools, @oscarmarin/mcp-devtools
- Stars
- 4
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- 1.0.1
- Letzter Commit
- 1. Juli 2026
- Lizenz
- MIT
Was ist devtools MCP?
devtools ist ein MCP server. Ermöglicht KI-Agenten einen sicheren, eingeschränkten Zugriff auf lokale Dateisysteme, Datenbanken, Systemprozesse und OpenAPI-Endpoints.
Zusammenfassung generiert aus dem README des Projekts
Über devtools MCP server
mcp-devtools ermöglicht es, KI-Agenten wie Claude, Cursor oder Copilot sicheren Zugriff auf deine lokale Entwicklungsumgebung zu geben. Es bietet eine einheitliche Schnittstelle, über die Agenten mittels 14 spezialisierter Tools mit Dateisystemen, Datenbanken, Systemprozessen und OpenAPI-Endpoints interagieren können. Entwickler können den Server lokal via stdio über npx ausführen oder einen HTTP-Transport mit Bearer-Authentifizierung für den Remote-Zugriff einrichten.
Der Server enthält integrierte Sicherheitsmaßnahmen wie Scope-Grenzen für das Dateisystem, eine Allowlist für Commands zum Ausführen von Prozessen und einen Read-only-Modus für Datenbankabfragen. Zudem verfügt er über ein Audit-Log zur Verfolgung von Tool-Aufrufen und eine automatische Maskierung von Secrets für Umgebungsvariablen. Nutzer können die Funktionalität erweitern, ohne den Code zu forken, indem sie die Plugin API nutzen, um eigene Tool-Definitionen über Konfigurationsdateien zu laden. Das macht ihn zu einer vielseitigen Wahl für Entwickler, die ein einzelnes, produktionsreifes Paket benötigen, um mehrere Entwicklungsaufgaben innerhalb eines KI-gestützten Workflows zu verwalten.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du devtools MCP
Formate geprüft am 10. Nov. 2026Zu Cursor hinzufügenZu Goose hinzufügendevtools MCP in Claude Code installieren
$ claude mcp add mcp-devtools -- npx -y @oscarmarin/mcp-devtoolsdevtools MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-devtools": {
"command": "npx",
"args": [
"-y",
"@oscarmarin/mcp-devtools"
]
}
}
}devtools MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"mcp-devtools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@oscarmarin/mcp-devtools"
]
}
}
}devtools MCP in VS Code CLI installieren
$ code --add-mcp '{"name":"mcp-devtools","type":"stdio","command":"npx","args":["-y","@oscarmarin/mcp-devtools"]}'devtools MCP in Claude Desktop installieren
claude_desktop_config.json
{
"mcpServers": {
"mcp-devtools": {
"command": "npx",
"args": [
"-y",
"@oscarmarin/mcp-devtools"
]
}
}
}devtools MCP in Codex installieren
$ codex mcp add mcp-devtools -- npx -y @oscarmarin/mcp-devtoolsdevtools MCP in Codex config.toml installieren
~/.codex/config.toml
[mcp_servers.mcp-devtools] command = "npx" args = ["-y", "@oscarmarin/mcp-devtools"]
devtools MCP in Gemini CLI installieren
$ gemini mcp add -s user mcp-devtools npx -- -y @oscarmarin/mcp-devtoolsdevtools MCP in Gemini settings.json installieren
~/.gemini/settings.json
{
"mcpServers": {
"mcp-devtools": {
"command": "npx",
"args": [
"-y",
"@oscarmarin/mcp-devtools"
]
}
}
}Automatisierte Checks
Geluften am 15. Nov. 2026Vollständiger Bericht →Unsere automatisierten Checks bestanden. Das ist kein Security-Audit: Lies den Code und gib dem Server nur den minimal notwendigen Zugriff. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbarmarin1321/mcp-devtools is public and reachablegithub.com/marin1321/mcp-devtools ↗Bestanden
- Paket nennt dieses Repository als Quelle@oscarmarin/mcp-devtools names marin1321/mcp-devtools as sourcenpmjs.com/package/@oscarmarin/mcp-devtools ↗Bestanden
- Build-Provenienz (Sigstore-Attestierung)No build attestation published for this releaseNicht geprüft
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-07-01github.com/marin1321/mcp-devtools ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNo popular package one edit away from @oscarmarin/mcp-devtoolsBestanden
- Keine kritischen Advisories im Paket oder seinen Abhängigkeiten139 resolved dependencies checked; no critical advisoryosv.dev ↗Bestanden
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeNicht geprüft
README
Auf GitHub ansehenmcp-devtools
AI-native developer tools via Model Context Protocol. A production-grade MCP server that gives AI agents (Claude, Cursor, Copilot, Continue, ...) safe, scoped access to your local development environment.
Why
The MCP ecosystem is full of single-purpose tutorials and vendor-locked adapters. There is no well-maintained, multi-tool, framework-agnostic, production-quality MCP package for everyday developer tooling.
mcp-devtools fills that gap with 14 tools, 3 MCP Resources,
4 MCP Prompts, a Plugin API, two transport modes (stdio + HTTP
with auth), and an audit log — built on patterns refined in production
at DailyBot.
Quick start
stdio (default)
npx @oscarmarin/mcp-devtools
Add it to Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"devtools": {
"command": "npx",
"args": ["-y", "@oscarmarin/mcp-devtools"]
}
}
}
Or Cursor (~/.cursor/mcp.json): same block.
HTTP transport
Create a mcp-devtools.json in your project root:
{
"transport": "http",
"port": 3333,
"auth": {
"token": "env:MCP_AUTH_TOKEN"
}
}
Then start the server:
npx @oscarmarin/mcp-devtools
The MCP endpoint will be available at http://localhost:3333.
Tools
| Group | Tools |
|---|---|
| Filesystem | read_file, write_file, list_directory, search_files, get_file_info |
| Database | query_db, list_tables, describe_table |
| Process | run_command, read_logs, get_env, list_processes |
| OpenAPI | parse_openapi, call_api |
Per-tool reference: docs/tools/.
MCP Resources
The server exposes read-only data via MCP Resources:
| URI | Description |
|---|---|
devtools://tools |
Catalog of all registered tools with schemas |
devtools://server-info |
Server version, transport, scope, tool count |
MCP Prompts
Curated prompt templates for common development workflows:
| Prompt | Description |
|---|---|
debug_error |
Systematically debug an error using mcp-devtools tools |
code_review |
Review a file for bugs, security issues, and code quality |
explore_codebase |
Explore and understand a project's structure and conventions |
refactor_function |
Refactor a function for readability, performance, or testability |
Plugin API
Extend mcp-devtools with custom tools — no fork required.
Config-based (load at startup):
{
"plugins": ["./my-tools.js", "@scope/mcp-plugin-foo"]
}
Each plugin module default-exports an array of tool definitions:
import { defineTool } from "@oscarmarin/mcp-devtools";
import { z } from "zod";
export default [
defineTool({
name: "my_tool",
description: "Does something useful",
inputSchema: z.object({ input: z.string() }),
handler: async (args, config) => ({
ok: true,
data: { result: args.input.toUpperCase() },
}),
}),
];
Configuration
Configuration is loaded by cosmiconfig
from mcp-devtools.json, .mcp-devtoolsrc, or the mcpDevtools key in
package.json. See mcp-devtools.example.json
and docs/configuration.md for the full schema.
Zero-config is supported: running npx @oscarmarin/mcp-devtools with no config uses
schema defaults (RNF-05).
Security
Four non-bypassable controls:
- Filesystem scope boundary. Every path is resolved to an absolute and
compared against
config.scope. Symlinks that escape scope throwSCOPE_VIOLATION. - Command allowlist.
run_commandonly executes binaries whose basename is inallowedCommands. Invocation usesspawn(file, args)(no shell), so shell-injection via the command argument is structurally impossible. - Database read-only mode. When
readOnly: true, all SQL is parsed andINSERT/UPDATE/DELETE/DROP/CREATE/GRANTare rejected. Queries run inBEGIN READ ONLY ... ROLLBACKon PostgreSQL. - HTTP Bearer auth. When
auth.tokenis configured, every HTTP request must includeAuthorization: Bearer <token>. Comparison usescrypto.timingSafeEqualto prevent timing attacks.
Additional safety measures:
- Audit log. Opt-in NDJSON log of every tool invocation with timing, sanitized inputs, and result status.
- Secret masking.
get_envautomatically masks values matching common secret patterns (SECRET,TOKEN,PASSWORD,KEY, etc.). - OpenAPI host restriction.
call_apionly sends requests to hosts listed in the spec'sserversarray. - Output capping. All tools cap their output to prevent context flooding (100KB for commands, 1MB for files, 200 rows for queries).
Contributing
git clone https://github.com/marin1321/mcp-devtools.git
cd mcp-devtools
npm install
npm run dev # tsup --watch
npm run test # vitest
npm run typecheck # tsc --noEmit
npm run lint # eslint .
See CONTRIBUTING.md for the full workflow and
CODE_OF_CONDUCT.md for community guidelines.
License
MIT © Oscar Humberto Marin Molina — oscarmarindev.com
devtools MCP Fragen
Wie füge ich devtools MCP zu Claude Code hinzu?
Führe claude mcp add mcp-devtools -- npx -y @oscarmarin/mcp-devtools in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich devtools MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Wie kann ich den Server mit eigenen Tools erweitern?
Du kannst die Plugin API nutzen, um den Server ohne Forking mit eigenen Tools zu erweitern – entweder über eine config-basierte Ladung beim Start oder durch das Definieren von Tool-Modulen.
Kann ich diesen Server über HTTP nutzen?
Ja, der Server unterstützt zwei Transport-Modi: stdio (Standard) und HTTP mit Authentifizierung.
Verhindert der Server Shell-Injection?
Ja, das run_command Tool nutzt spawn(file, args) ohne eine Shell, wodurch Shell-Injection über Command-Argumente strukturell unmöglich gemacht wird.