# GraphJin MCP server

> Provides a governed graph over databases, APIs, files, and code to allow AI agents to discover, validate, and execute tasks through GraphQL and MCP.

- Repository: https://github.com/dosco/graphjin
- Page: https://hostedmcp.org/servers/dosco/graphjin
- Transport: stdio
- Stars: 3236
- License: Apache-2.0

## Install

### Claude Code

```sh
claude mcp add graphjin -- npx -y graphjin
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "graphjin": {
      "command": "npx",
      "args": [
        "-y",
        "graphjin"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "graphjin": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "graphjin"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"graphjin","type":"stdio","command":"npx","args":["-y","graphjin"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "graphjin": {
      "command": "npx",
      "args": [
        "-y",
        "graphjin"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add graphjin -- npx -y graphjin
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.graphjin]
command = "npx"
args = ["-y", "graphjin"]
```

### Gemini CLI

```sh
gemini mcp add -s user graphjin npx -- -y graphjin
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "graphjin": {
      "command": "npx",
      "args": [
        "-y",
        "graphjin"
      ]
    }
  }
}
```

## Tools (3)

- `query_catalog`
- `graphql_help`
- `gj_workflow_execution`

## FAQ

### How can I add GraphJin to my AI client?

You can use the GraphJin helper command `graphjin mcp add` for Codex or Claude, or add the Streamable HTTP endpoint directly to your client.

### What databases does GraphJin support?

It works with a wide range of systems including PostgreSQL, MySQL, MongoDB, SQLite, Oracle, MSSQL, Snowflake, Redshift, BigQuery, and Apache Cassandra.

### Does GraphJin provide a built-in agent?

Yes, you can trigger a built-in agent by sending a POST request to the /api/v1/agent endpoint or by calling the ask_graphjin_agent MCP tool.
