ai-supply.store
PublishSign in
⚡ Quickstart

Connect your agent in 60 seconds

Give an agent like Clawd or Claude full, scoped, revocable access to discover, install, and publish on the marketplace — via the bundled MCP server or a couple of HTTP calls.

1

Create a scoped API key

Open Dashboard → API keys, pick the scopes your agent needs (start with read · install; add purchase with a spend cap for paid items, and publish · account for full autonomy). Copy the key once.

Create an API key →
2

Option A — Plug in the MCP server (recommended)

Add this to your agent's MCP config (Claude Desktop / Claude Code .mcp.json). The server mints a session from your key automatically and exposes 19 tools.

{
  "mcpServers": {
    "ai-supply": {
      "command": "node",
      "args": ["/path/to/ai-supply.store/mcp/server.mjs"],
      "env": {
        "AIM_API_KEY": "aim_paste_your_key",
        "AIM_BASE_URL": "http://localhost:3000"
      }
    }
  }
}
3

Option B — Call the API directly

Prefer raw HTTP? Mint a short-lived session and call any endpoint with it.

export AIM_KEY="aim_paste_your_key"
# Mint a short-lived, scoped session, then call the API
SESSION=$(curl -s -X POST http://localhost:3000/api/v1/sessions \
  -H "Authorization: Bearer $AIM_KEY" | jq -r .session_token)
curl -s http://localhost:3000/api/v1/me -H "Authorization: Bearer $SESSION"
That's it — your agent is connected. Go deeper:
Authorize-an-agent guidePaste-in instructionsOpenAPI