loading…
Search for a command to run...
loading…
One config, one CLI that turns your databases (Postgres, MySQL, SQLite, MongoDB) into MCP servers for Claude, GPT, Cursor, and any MCP-compatible agent.
One config, one CLI that turns your databases (Postgres, MySQL, SQLite, MongoDB) into MCP servers for Claude, GPT, Cursor, and any MCP-compatible agent.
Turn your databases and APIs into Model Context Protocol servers — secured, schema-aware, open-source, npm-installable.
License: MIT Status: alpha Node
The official @modelcontextprotocol/server-postgres is archived and unmaintained. Existing alternatives are either single-vendor (Supabase, Neon), uneven per-DB community servers, or SaaS-orchestration plays. None ship a unified, schema-aware, security-first multi-DB story out of the box.
mcpfy is that story. One config, one CLI, every database your agent needs.
# In a project directory
npx @mcpfy/cli init # interactive wizard
npx @mcpfy/cli doctor # validate config, ping sources
Add to Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"mcpfy": {
"command": "npx",
"args": ["-y", "@mcpfy/cli", "serve", "--config", "/abs/path/to/mcpfy.config.ts"],
"env": { "DATABASE_URL": "postgres://user:pass@localhost:5432/db" }
}
}
}
Restart Claude Desktop and ask:
List the tables in my database, then sample 5 rows from
users.
list_tables, describe_table, query (read-only). Opt-in per-table tools coming in Wave 3.tables:write scope.BEGIN READ ONLY, query_only pragma).users.password_hash).${env:NAME}, ${file:./path}, or ${keychain:item}.packages/
core/ @mcpfy/core server, registry, transports, Connector iface
cli/ @mcpfy/cli bin: mcpfy
config/ @mcpfy/config zod schema, secret resolvers
security/ @mcpfy/security scopes, redaction, audit, rate limit, wrap
connector-sql/ @mcpfy/connector-sql Postgres + SQLite (+ MySQL in Wave 2)
testkit/ @mcpfy/testkit MCP conformance harness
examples/ host configs (Claude Desktop, Cursor, Claude Code)
corepack enable
pnpm install
pnpm build
pnpm test
Wave 1 alpha — Postgres + SQLite + stdio. See the implementation plan for the full roadmap.
MIT — see LICENSE.
Выполни в терминале:
claude mcp add mcpolyglot -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.