AI Agents
Claude Code
Anthropic's coding agent, in the terminal, in your editor and in the Claude desktop app.
- Connects with
- Sign in, API key, CLI, Skill
- Connector
- SPREVA
- Plans
- Any Claude plan that includes Claude Code, or an Anthropic API key.
Before you start
- Claude Code installed and signed in.
Set it up
- 1
Add SPREVA as a remote server.
--scope usermakes it available in every project:Terminal claude mcp add --transport http --scope user \ spreva https://dev-app.spreva.ai/api/mcp - 2
Start Claude Code, run
/mcp, choose spreva and sign in. Your browser opens SPREVA. - 3
Sign in, choose the workspace and click Allow. Back in Claude Code, spreva shows as connected.
Also works with
- API key in a header
Send a SPREVA API key as a Bearer token, for automation that runs without a person.
Terminal export SPREVA_API_KEY=POST_API_KEY_... claude mcp add --transport http --scope user \ spreva https://dev-app.spreva.ai/api/mcp \ --header "Authorization: Bearer $SPREVA_API_KEY" - The CLI and the Agent Skill
Install the
sprevacommand line and its Agent Skill, for agents that work in a terminal.Terminal export SPREVA_API_KEY=POST_API_KEY_... npx -y @spreva/cli skill install --target claude - The CLI's stdio bridge
Run
spreva mcpas a local MCP server, for apps that only start servers on your machine.Terminal export SPREVA_API_KEY=POST_API_KEY_... claude mcp add --transport stdio --scope user \ --env SPREVA_API_KEY=$SPREVA_API_KEY \ spreva -- npx -y @spreva/cli mcp
Check it works
Start a new conversation and ask:
What's going out this week on SPREVA?
Claude 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, Claude Code may ask you to allow the tool.
Good to know
- With an API key in a header, a rejected key is reported as a failure: Claude Code does not fall back to signing in.
- Signed in with a Claude subscription, the connectors you added on claude.ai appear in Claude Code by themselves.
Troubleshooting
SPREVA is missing in another project
It was added without --scope user, so only one project has it. Remove it with claude mcp remove spreva and add it again with the scope.
/mcp shows spreva as failed
Check the URL with claude mcp get spreva. If it is right, sign in again from /mcp: the sign-in may have expired.
Something else? Troubleshooting covers sign-in loops, plans, limits and time zones.