Install
Install the GraphJin CLI and scaffold a local project.
Install the CLI
Use the install script when you want the native CLI binary:
curl -fsSL https://graphjin.com/install.sh | bash
graphjin versionThe website serves the script at /install.sh; the build syncs it from the repository root before publishing.
Other common development paths:
npx graphjin serve --demo
brew install dosco/graphjin/graphjin
go install github.com/dosco/graphjin/cmd/graphjin@latestgraphjin serve --demo is the fastest smoke test because it starts with a known schema and sample queries.
Scaffold a project
graphjin new my-api
cd my-api
graphjin serveThe generated config gives you development defaults, a database connection section, saved-query directories, and templates for source-mode deployments.
TestCmdNewWritesAgenticAndSourcesTemplates
cmd/cmd_new_test.go:14TestTemplatesDecodeAsConfig
cmd/cmd_new_test.go:45The scaffold includes environment-specific config files. Use dev.yml for local work, prod.yml for locked-down deployments, and agentic.yml when MCP/catalog/security surfaces are the main interface.
Connect an AI client
graphjin mcp add codex
graphjin mcp add claudeFor hosted GraphJin, point the MCP client at the HTTP endpoint:
codex mcp add graphjin --url https://graphjin.example.com/api/v1/mcp