insta_* tool, hitting the same API as the CLI.
Endpoint
claude-code, cursor, codex, opencode, copilot, factory-droid. insta agent setup does this as part of full setup.
Authentication
Two options, both a Bearer credential the server forwards to the platform — it stores nothing itself:- OAuth (default) — the agent runs the OAuth 2.1 + PKCE flow, discovered via the standard protected-resource metadata. No credential is written to disk.
- API token — a durable
insta_token, for headless machines and CI.insta config install-mcp --mcp-tokenmints one and embeds it (Claude Code only); other agents use OAuth.
Tools overview
The MCP tools reference tables the tools by area. Two things to know up front:- Project-scoped tools take an explicit
projectId, branch-scoped tools takebranchtoo — the CLI’s linked directory does not carry over. Discover IDs withinsta_list_orgs→insta_list_projects. insta_get_agent_manifestreturns the agent-legible view of a project: branches, services with bound secret names, and URLs.
Staging server
The staging deployment has its own server athttps://mcp.staging.instacloud.com/mcp, registered as insta-cloud-staging when you run setup with --env staging. Accounts and sessions never cross between the two.