Skip to main content
Use Claude Code when the agent runs in a terminal and should use Fortress across local projects.

Generate the setup snippet

  1. Open Agents in Fortress.
  2. Create or rotate an agent.
  3. Choose Claude Code as the runtime.
  4. Copy the generated command.
The generated command follows this shape:
claude mcp add --transport http --scope user fortress-<agent> 'https://api.fortressproductivity.com/mcp?agent_id=<agent-id>' --header 'Authorization: Bearer ft_<token>'
--scope user makes the Fortress server available across projects for the current machine. Use a separate Fortress agent if another Claude Code profile should have different permissions.

Verify

Inside Claude Code, run:
/mcp
Then ask Claude to read fortress://workspace/overview.

Notes

  • Keep the generated server key, such as fortress-claude-code-local, unique per agent identity.
  • If you need project-only access, change the scope before running the command.
  • If a command fails in the shell, confirm the MCP URL is quoted. Fortress setup URLs include a query parameter.
See Anthropic’s Claude Code MCP documentation.