DevVault MCP
devvault-mcp
DevVault의 로컬 Postgres 데이터베이스에 구조화된 접근을 제공하는 작은 MCP 서버입니다. 스키마 검사, 읽기 전용 쿼리 실행, 보호된 쓰기, 테스트용 더미 데이터 시딩을 지원합니다.
연결
DATABASE_URL은 다음 순서로 확인됩니다:
process.env.DATABASE_URLDEVVAULT_ENV_PATH(.env파일 경로)가 설정된 경우../devvault-backend/.env
따라서 DB 비밀번호는 백엔드 .env에만 유지되며 어떤 MCP 구성에도 중복되지 않습니다.
Related MCP server: PostgreSQL MCP Server
도구
도구 | 용도 |
| 연결된 데이터베이스/사용자 정보(자격 증명은 표시되지 않음). |
| 공개 테이블 + 대략적인 행 수. |
| 테이블의 열(이름, 유형, nullable, 기본값). |
| 주요 DevVault 테이블의 정확한 행 수. |
| 하나의 읽기 전용 문(SELECT/WITH/EXPLAIN/SHOW)을 |
| 하나의 INSERT/UPDATE/DELETE. DDL 및 범위가 없는 UPDATE/DELETE(WHERE 없음)는 |
| 기존 사용자에 연결된 스니펫/북마크/노트/커맨드/프롬프트에 더미 행(유효한 cuid ID + 타임스탬프)을 삽입합니다. |
안전 장치
run_query는 읽기 전용이 아닌 모든 것을 거부하고 문장 스태킹(;)을 차단합니다.run_write는DROP/TRUNCATE/ALTER/CREATE/GRANT/…를 거부하고,WHERE절이 없는UPDATE/DELETE도 거부합니다. 단,allowDangerous: true를 전달하면 예외입니다.쓰기는 트랜잭션 내에서 실행되며 오류 시 롤백됩니다.
Claude Code에 등록
이미 ../.mcp.json(프로젝트 범위)을 통해 연결되어 있습니다:
{
"mcpServers": {
"devvault-db": {
"command": "node",
"args": ["/Users/cookie/project-git/devvault_2/devvault-mcp/server.js"]
}
}
}MCP 서버는 Claude Code 시작 시 로드되므로, devvault-db 도구가 나타나려면 세션을 다시 시작하거나 다시 연결하세요.
로컬 확인(MCP 클라이언트 불필요)
npm install
node smoke.js # connectivity + row counts
node mcptest.js # full MCP handshake: list tools + call a few더미 데이터
seed_dummy로 생성된 시드 행은 모두 Dummy 로 시작하는 제목을 가집니다. 제거하려면:
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