Documentation

Connect your coding agent, save reusable assets once, and retrieve them by name in any project.

Overview

Sirro is external memory for AI coding workflows. Your library lives outside any repository. Connected agents save and retrieve assets by name.

Connect from your dashboard, or add Sirro in your coding tool. Sirro opens in the browser so you can sign in and Allow. The agent keeps a token. No API key is copied. Login is for the dashboard, Allow, and account settings.

Requirements

  • A Sirro account
  • Cursor, Claude Code, Codex, or another supported coding agent

Connect

Open Connect in your dashboard and pick your tool. That is the usual path. If you are adding Sirro by hand, use this address, then Allow in the browser and pick a workspace:

https://www.sirro.dev/mcp

Cursor

Use Add to Cursor from your dashboard, or paste this into Cursor Settings. Cursor opens Sirro so you can Allow.

{
  "mcpServers": {
    "sirro": {
      "url": "https://www.sirro.dev/mcp"
    }
  }
}

Claude Code

Run this in your terminal, or use the command from your dashboard. Claude opens Sirro so you can Allow.

claude mcp add --transport http --scope user sirro https://www.sirro.dev/mcp

Codex

Run this in your terminal, or use the command from your dashboard. Codex opens Sirro so you can Allow.

codex mcp add sirro --url https://www.sirro.dev/mcp

What your agent can do

  • sirro_save

    Save code or a link to your Sirro library. Pass files with source paths for fast, complete saves. Sirro reads from disk, bundles local imports, and collects the rules and design tokens that style the component even when they live in a stylesheet it never imports. Images are excluded.

  • sirro_get

    Retrieve a saved asset by name.

  • sirro_list

    List saved asset names, kits, and recipes.

  • sirro_compose

    Fetch named assets, a kit, or a recipe in one shot and write them into the project. Use this when the user lists pieces, for example: use hero-4, section-2 and footer-2 from Sirro.

  • sirro_save_bundle

    Save a kit (a named group of assets) or a recipe (an ordered page of asset names).

  • sirro_update

    Update metadata for a saved asset (name, category, tags, and more).

  • sirro_open

    Open the Sirro dashboard in your browser (requires login).

Typical workflow

  1. Create a Sirro account.
  2. Connect your agent from the dashboard, then Allow in the browser.
  3. Ask your agent to save work, for example: save this navbar to Sirro as navbar.
  4. Reuse it later in any project: use navbar from Sirro. For a page, name the pieces: use hero-4, section-2, section-1, section-9, cta-2 and footer-2 from Sirro.

Advanced

Existing installs that cannot Connect in the browser can still run @sirro/mcp@0.1.0 with a member API key from dashboard Integrations → Advanced. Humans should Connect. Do not put an API key in chat or in a public repo.

Next steps

How it works explains the full workflow. See Integrations for supported tools, or create an account to connect your first agent at https://www.sirro.dev/signup.