DevVault MCP
devvault-mcp
Ein kleiner MCP-Server, der Claude Code strukturierten Zugriff auf die lokale Postgres-Datenbank von DevVault bietet – Schema inspizieren, schreibgeschützte Abfragen ausführen, abgesicherte Schreibvorgänge durchführen und Dummy-Daten für Tests erzeugen.
Verbindung
DATABASE_URL wird in dieser Reihenfolge aufgelöst:
process.env.DATABASE_URLDEVVAULT_ENV_PATH(Pfad zu einer.env-Datei), falls gesetzt../devvault-backend/.env
So bleibt das DB-Passwort in der .env des Backends und wird nicht in eine MCP-Konfiguration dupliziert.
Related MCP server: PostgreSQL MCP Server
Tools
Tool | Beschreibung |
| Verbundene Datenbank/Benutzer (keine Zugangsdaten werden angezeigt). |
| Öffentliche Tabellen + ungefähre Zeilenanzahlen. |
| Spalten (Name, Typ, nullable, default) für eine Tabelle. |
| Exakte Zeilenanzahlen der wichtigsten DevVault-Tabellen. |
| Eine schreibgeschützte Anweisung (SELECT/WITH/EXPLAIN/SHOW), ausgeführt in einer |
| Eine INSERT/UPDATE/DELETE-Anweisung. DDL und uneingeschränktes UPDATE/DELETE (ohne WHERE) werden verweigert, außer |
| Fügt Dummy-Zeilen (gültige cuid-IDs + Zeitstempel) in snippets/bookmarks/notes/commands/prompts ein und verknüpft sie mit vorhandenen Benutzern. |
Sicherheitsvorkehrungen
run_querylehnt alles ab, was nicht schreibgeschützt ist, und blockiert das Stapeln von Anweisungen (;).run_writeverweigertDROP/TRUNCATE/ALTER/CREATE/GRANT/…sowieUPDATE/DELETEohneWHERE-Klausel, es sei denn, Sie übergebenallowDangerous: true.Schreibvorgänge werden in einer Transaktion ausgeführt und bei einem Fehler zurückgerollt.
Registrierung bei Claude Code
Bereits über ../.mcp.json (Projektbereich) eingerichtet:
{
"mcpServers": {
"devvault-db": {
"command": "node",
"args": ["/Users/cookie/project-git/devvault_2/devvault-mcp/server.js"]
}
}
}MCP-Server werden beim Start von Claude Code geladen. Starten Sie die Sitzung daher neu bzw. verbinden Sie sie neu, damit die devvault-db-Tools erscheinen.
Lokale Prüfungen (kein MCP-Client erforderlich)
npm install
node smoke.js # connectivity + row counts
node mcptest.js # full MCP handshake: list tools + call a fewDummy-Daten
Seed-Zeilen, die von seed_dummy erstellt wurden, haben alle Titel, die mit Dummy beginnen.
Um sie zu entfernen:
DELETE FROM prompts WHERE title LIKE 'Dummy %';
DELETE FROM commands WHERE title LIKE 'Dummy %';
DELETE FROM snippets WHERE title LIKE 'Dummy %';
DELETE FROM bookmarks WHERE title LIKE 'Dummy %';
DELETE FROM notes WHERE title LIKE 'Dummy %';Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides read-only access to PostgreSQL databases with schema inspection, query execution in multiple formats (JSON, CSV, Markdown), and query history tracking with built-in security features.
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query and manage local PostgreSQL databases through SQL execution and schema exploration tools. It supports both read-only queries and write operations including table creation and data modification via natural language.34ISC
- AlicenseAqualityDmaintenanceEnables Claude to interact with a local PostgreSQL database through SQL queries, schema inspection, and CRUD operations.8225MIT
- AlicenseNot gradedqualityDmaintenanceEnables safe interaction with PostgreSQL databases through read-only queries, schema exploration, and performance analysis.225MIT
Related MCP Connectors
Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.
Comprehensive PostgreSQL documentation and best practices, including ecosystem tools
MCP server for managing Prisma Postgres.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cookieark7/devvault-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server