This repository is the CLI and MCP server for Agent Blueprint, letting AI agents connect to your blueprints, business cases, and implementation plans.
Purpose: Connect agents to the Agent Blueprint platform via the MCP protocol to complete the generation and download of blueprint artifacts from business profiles. The output is platform-agnostic and can be used for ServiceNow, Salesforce, OpenClaw, or any platform.
Main capabilities: Provides 23 MCP tools, covering the creation of structured business profiles, generation of pipeline artifacts, exploration of blueprint data, synchronization of implementation status, and download of the complete Agent Skills directory.
Installation and running: Can be run directly via npx without installation; the same binary automatically recognizes MCP mode when stdin is piped (non-interactive), with no separate command needed. You can also explicitly start the MCP server with agentblueprint serve.
Connecting to Claude Code: Add the MCP configuration in .claude/settings.json or the project settings. How to obtain an API Token: Go to Agent Blueprint Settings > API Tokens, click Create Token, and copy the token that is shown only once.
Supported Headless workflows: Existing PAT + existing organization -> create_business_profile -> generate_use_cases -> generate_blueprint or trigger_full_pipeline -> get_generation_status -> download_blueprint.
Download as Agent Skills: Blueprints can be downloaded as a local Agent Skills directory, which any coding agent can read from the file system; this is the recommended way to use it. This standard is supported by 18+ coding agents including Claude Code, Codex, Cursor, GitHub Copilot, and Windsurf, with SKILL.md automatically loaded when activated (about 100 tokens), and reference files loaded on demand.
Tool description: generate_blueprint and trigger_full_pipeline are asynchronous, requiring polling with get_generation_status until completion, then calling download_blueprint with the parsed blueprintId. get_blueprint, get_business_case, and get_implementation_plan return concise summaries optimized for the agent context window; full details (agent specifications, financial forecasts, user stories) must be obtained via download_blueprint.
Three ways to provide an API Token (checked in order): --token <key> on any command, the AGENT_BLUEPRINT_API_KEY environment variable, agentblueprint login (saved to ~/.config/agentblueprint/config.json).
Limitations: The current scope is intentionally narrowed and does not handle organization creation, OAuth onboarding, or extraction of free-text context into business profiles.