Give Your Agent the Docs
Three surfaces cover everything; none of them require authentication:
The pages worth feeding in full, in reading order: overview, register your app, consent and installs, project links, webhooks, usage sync, and the reference integration.
A Bootstrap Prompt
Adapt and paste this into your agent to start the session:Optional: Let Your Agent Drive the Employer Side
Testing the integration end-to-end needs an employer on the other side — someone to post a job, link it to your project, and hire. Your agent can play that role too: the OpenTrain MCP server exposes the employer surface (jobs, proposals, contracts, milestones) as tools, using a separate personalot_pat_ token from an employer test account. The same surface is available as a CLI and plain HTTP.
Claude Code
Claude Code
--scope user to make it available in every project. Full setup: Claude Code.Codex CLI
Codex CLI
~/.codex/config.toml. Full setup: Codex CLI.Cursor
Cursor
.cursor/mcp.json (project) or ~/.cursor/mcp.json (global):envFile): Cursor.Antigravity
Antigravity
Grok Build
Grok Build
Reads Claude Code-format
.mcp.json at the project root (same mcpServers shape as Cursor above), or use the /mcps modal in-session. Full setup: Grok Build.GitHub Copilot CLI
GitHub Copilot CLI
OpenCode
OpenCode
opencode.json — note the key is mcp, the command is an array, and env lives under environment:Aider
Aider
Aider has no MCP support — use the CLI instead:Then run commands from the chat with
/run opentrain ... --json. Full setup: Aider.Any other MCP agent
Any other MCP agent
Any MCP-capable agent works with the generic
mcpServers shape — command: "npx", args: ["-y", "@opentrain-ai/mcp"], token in env. Examples for Claude Desktop and Windsurf: Other MCP Agents.Next Steps
Register Your App
Self-serve: create the app, get your client credentials, send your first consent link.
Reference Integration
The complete worked example your agent can use as a blueprint.
Usage Sync and Budgets
Report work back and keep funded budgets ahead of consumption.