AI development/GitHub/Tool
build-mcp-server-4-any-db
by kingemma·Last observed 2026-10-26
★ 3 stars⑂ 1 forks
A desktop configuration tool that starts GraphJin for a connected database, discovers its schema, and writes access permissions into GraphJin’s sources configuration. It produces an HTTP MCP endpoint and a client configuration that can be copied into an AI client.
Useful for
- Connect a database, grant a role read access to selected tables, then copy the generated MCP client configuration into Claude Desktop, Claude Code, or Cursor.
Key features
- Configure database-level read, write, and delete modes, plus per-role read grants; inspect tables, columns, and foreign keys in a schema browser.
- Connect an AI client by copying its configuration or a `graphjin mcp add` command, then run a self-check that calls `tools/list`.
Requirements & limitations
- The app generates an HTTP endpoint at `/api/v1/mcp`; its generated client configuration connects directly to that endpoint.
- For legacy projects using `databases:` and `roles[].tables`, startup migrates configuration to `sources:` and keeps a backup; a failed migration restores the original file.
- The README documents a limitation: the MCP execute-graphql check does not apply row filters; use the permission matrix verification panel for row-level rules.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.