Developers

Give your agent a clear path to Mikie.

Discover Mikie’s capabilities through a public API, then connect your coding agent to bounded repository context and work receipts through MCP.

Connect your coding agent

Install the official CLI with Node.js 22 or newer on Windows x64, macOS Apple Silicon or Linux x64. Sign in, add Mikie to your agent and check the connection.

bash
npm install -g @getmikie/cli@latest
mikie login
mikie setup codex
# Or: mikie setup claude
mikie doctor

On Windows, use npm.cmd install -g @getmikie/cli@latest if PowerShell blocks npm’s script shim. Open your agent in the project folder after setup. Read the full quickstart.

Read the public API

No account, API key or OAuth token is needed for product discovery. The catalog returns Mikie’s product description, CLI commands, supported integrations, eight local MCP tool names and service authentication links.

bash
curl https://getmikie.com/api/public/product

Product catalog · Agent reading guide. The catalog supports GET, HEAD and OPTIONS, and allows cross-origin reads.

Use the MCP tools

A local MCP client launches mikie mcp over stdio after CLI sign-in. Codex and Claude Code setup configure this connection for you. Other MCP clients can use:

json
{
  "mcpServers": {
    "mikie": { "command": "mikie", "args": ["mcp"] }
  }
}

These eight tools run through the local stdio server. The signed-in native CLI connects your agent to protected relay and service operations with device proof and repository-bound authorization.

  • build_context_packet
  • rank_relevant_files
  • list_mikie_capabilities
  • get_mikie_meter
  • get_measurement_summary
  • get_quality_summary
  • get_business_summary
  • estimate_mikie_savings

Read the tool contract for inputs, repository access and measurement details.

Authenticate the native relay

Run mikie login for the supported sign-in path. Mikie also publishes authorization-server metadata for its OAuth authorization code flow with PKCE S256 and the mikie:invoke scope. That scope authorizes protected relay and service operations; native clients register a loopback callback.

bash
curl https://getmikie.com/.well-known/oauth-authorization-server
Authorization
https://getmikie.com/oauth/authorize
Token exchange
https://getmikie.com/oauth/token
Client registration
https://getmikie.com/oauth/register

Public product discovery needs no credentials. Account data and repository work stay behind their existing authenticated connections. Read the privacy policy.

The public infrastructure endpoint at https://mcp.getmikie.com/mcp exposes no repository tools. Connect with the CLI and local stdio configuration above to use Mikie’s repository context and evidence tools.

Handle API errors

Public API failures use RFC 9457 application/problem+json. Read status, code and resolution to choose the next action. Unknown endpoints return 404; write methods on the product endpoint return 405 with Allow: GET, HEAD, OPTIONS.

bash
curl -i -X POST https://getmikie.com/api/public/product
json
{
  "type": "about:blank",
  "title": "Method Not Allowed",
  "status": 405,
  "detail": "This endpoint accepts read requests only.",
  "instance": "/api/public/product",
  "code": "method_not_allowed",
  "resolution": "Use GET to read this endpoint, HEAD for headers, or OPTIONS for allowed methods."
}