DevVault MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DevVault MCPList all tables with estimated row counts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
devvault-mcp
A small MCP server that gives Claude Code structured access to DevVault's local Postgres database — inspect schema, run read-only queries, make guarded writes, and seed dummy data for testing.
Connection
DATABASE_URL is resolved in this order:
process.env.DATABASE_URLDEVVAULT_ENV_PATH(path to an.envfile), if set../devvault-backend/.env
So the DB password stays in the backend .env and is not duplicated into
any MCP config.
Related MCP server: PostgreSQL MCP Server
Tools
Tool | Purpose |
| Which database/user we're connected to (no credentials shown). |
| Public tables + approximate row counts. |
| Columns (name, type, nullable, default) for a table. |
| Exact row counts for the main DevVault tables. |
| One read-only statement (SELECT/WITH/EXPLAIN/SHOW), run in a |
| One INSERT/UPDATE/DELETE. DDL and unscoped UPDATE/DELETE (no WHERE) are refused unless |
| Insert dummy rows (valid cuid ids + timestamps) into snippets/bookmarks/notes/commands/prompts, attached to existing users. |
Safety guards
run_queryrejects anything that isn't read-only and blocks statement stacking (;).run_writerefusesDROP/TRUNCATE/ALTER/CREATE/GRANT/…and refusesUPDATE/DELETEwith noWHEREclause, unless you passallowDangerous: true.Writes run inside a transaction and roll back on error.
Registering with Claude Code
Already wired up via ../.mcp.json (project scope):
{
"mcpServers": {
"devvault-db": {
"command": "node",
"args": ["/Users/cookie/project-git/devvault_2/devvault-mcp/server.js"]
}
}
}MCP servers load at Claude Code startup, so restart / reconnect the session
for the devvault-db tools to appear.
Local checks (no MCP client needed)
npm install
node smoke.js # connectivity + row counts
node mcptest.js # full MCP handshake: list tools + call a fewDummy data
Seed rows created by seed_dummy all have titles beginning with Dummy .
To remove them:
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