Skip to content

AI Agents

Muse

Meta's personal agent, and Muse Code, its coding agent for the terminal.

Connects with
API key, Skill
Plans
Muse Code: billed by usage, or on a flat monthly plan.
The Muse app has no setting for adding an MCP server. Muse Code, Meta's coding agent for the terminal, has one: these steps set SPREVA up there.

Before you start

  • Muse Code installed and signed in.
  • An API key, created in SPREVA under Developer, then API keys.

Set it up

  1. 1

    Put your SPREVA API key in the environment Muse Code starts from:

    Terminal
    export SPREVA_API_KEY=spreva_sk_...
  2. 2

    Add SPREVA to the mcp_servers block of Muse Code's settings file. Keep the settings already there, including schema_version:

    ~/.config/muse/settings.json
    {
      "schema_version": 1,
      "mcp_servers": {
        "spreva": {
          "transport": "streamable_http",
          "url": "https://app.spreva.ai/api/mcp",
          "headers": {
            "Authorization": "Bearer ${SPREVA_API_KEY}"
          }
        }
      }
    }
  3. 3

    Start Muse Code and run /mcp. SPREVA is listed with its tools.

Also works with

  • The CLI and the Agent Skill

    Install the spreva command line and its Agent Skill, for agents that work in a terminal.

    Terminal
    export SPREVA_API_KEY=spreva_sk_...
    npx -y @spreva/cli skill install --target agents

Check it works

Start a new conversation and ask:

Ask your agent
What's going out this week on SPREVA?

Muse Code calls SPREVA's overview tool and answers with the workspace's time zone, what goes out next and anything that needs attention. The first time, Muse Code may ask you to allow the tool.

Troubleshooting

Muse Code says the settings file is malformed

The file must keep schema_version set to 1. Add it back and start Muse Code again.

Something else? Troubleshooting covers sign-in loops, plans, limits and time zones.