Run This Ai
EN DE

How to Deploy and Use GraphJin: The AI-Powered API Gateway for MCP

Learn how to deploy GraphJin, the open-source API gateway that provides a unified GraphQL + MCP interface for AI agents. Covers Docker setup, database support, and AI agent integration.

What is GraphJin?

GraphJin is an open-source API gateway that acts as a unified governed graph for AI agents. It exposes a single GraphQL + MCP (Model Context Protocol) endpoint over your databases, files, APIs, and code β€” letting AI coding agents like Claude Code, Cursor, and Codex query your data using natural language.

GraphJin β€” One Governed Graph for AI Agents

Built by dosco and backed by over 3,100 GitHub stars, GraphJin simplifies how AI systems access enterprise data. Instead of giving AI agents direct database access β€” a security risk β€” GraphJin provides a governed, policy-controlled interface that lets agents query what they need without bypassing security.

πŸš€ Want to deploy GraphJin yourself?

Docker configs, system requirements, and installation guides β€” all on one page.

View GraphJin Tool Page β†’

Key Features

FeatureDescription
Unified GraphQL EndpointQuery PostgreSQL, MySQL, SQLite, MongoDB, MSSQL, MariaDB, CockroachDB, Oracle, Snowflake, and REST APIs from a single GraphQL endpoint.
MCP Server ModeFunctions as a Model Context Protocol server, giving AI coding agents governed access to your data.
Real-Time SubscriptionsBuilt-in WebSocket support for live data subscriptions.
Authentication & AuthorizationJWT-based auth, role-based access control, and query allow-lists.
Caching & Rate LimitingBuilt-in query caching and rate limiting for production workloads.
Custom ResolversExtend your graph with custom business logic using Go or gRPC resolvers.

Quick Start with Docker

Getting started with GraphJin is straightforward. The Docker image has been pulled over 91,000 times and is production-ready:

docker pull dosco/graphjin:latest
docker run -p 8080:8080 dosco/graphjin:latest

GraphJin ships with a built-in demo. Once running, you'll have a fully operational GraphQL endpoint at http://localhost:8080/graphql.

Supported Databases

PostgreSQL MySQL SQLite MongoDB MSSQL MariaDB CockroachDB Oracle Snowflake Redshift YugabyteDB ClickHouse Cassandra

Why Use GraphJin for AI Agents?

AI coding agents need data access, but raw database connections are dangerous. GraphJin solves this by creating a governed layer between AI systems and your data. Agents use natural language to query your databases through GraphJin's MCP interface, while you maintain full control over what they can see and do.

With query allow-lists, read-only boundaries, and policy-aware MCP tools, GraphJin lets you benefit from AI agent productivity without compromising security.

πŸš€ Ready to try GraphJin?

Full deployment guide, system requirements, and Docker configs available.

Deploy GraphJin Now β†’
#graphjin #graphql #mcp #api-gateway #ai-agents #docker