Skip to main content
SegmentStream MCP uses the Streamable HTTP transport at https://mcp.segmentstream.com/mcp. You authenticate with an API token passed in the Authorization header.

Prerequisites

Before you begin, you need:
  1. A SegmentStream account with access to at least one project
  2. An API token — contact your SegmentStream manager or generate one from the SegmentStream admin panel
  3. An MCP-compatible AI tool — Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, or any client that supports MCP

Setup by tool

Run this command in your terminal:
claude mcp add segmentstream \
  --transport http \
  --header "Authorization: Bearer YOUR_API_TOKEN" \
  https://mcp.segmentstream.com/mcp
Replace YOUR_API_TOKEN with your SegmentStream API token.You can scope the server to your project, your user profile, or local only:
FlagScopeConfig file
-s projectShared with your team via .mcp.json.mcp.json in project root
-s userPersonal, across all projects~/.claude/settings.json
(default)Local to this project.mcp.json in project root
If you use project scope, your API token will be stored in the config file. Consider using an environment variable reference like ${SEGMENTSTREAM_API_TOKEN} instead.

Verify the connection

After setup, test that the connection works by asking your AI assistant:
List my SegmentStream projects
The assistant should call the list_active_projects tool and return a list of projects you have access to. If you see your projects, the connection is working.

Using environment variables

To avoid storing your API token in config files, use an environment variable:
1

Set the environment variable

Add this to your shell profile (.bashrc, .zshrc, or similar):
export SEGMENTSTREAM_API_TOKEN="your-token-here"
2

Reference it in the config

Use ${SEGMENTSTREAM_API_TOKEN} in your MCP configuration:
{
  "mcpServers": {
    "segmentstream": {
      "type": "http",
      "url": "https://mcp.segmentstream.com/mcp",
      "headers": {
        "Authorization": "Bearer ${SEGMENTSTREAM_API_TOKEN}"
      }
    }
  }
}
Environment variable substitution syntax varies by client. The ${VAR} syntax works in Claude Code and Cursor. Check your tool’s documentation for details.

Troubleshooting

Your API token is missing or invalid. Double-check that:
  • The token is correct and has not expired
  • The Authorization header uses the Bearer prefix
  • There are no extra spaces or line breaks in the token
Some MCP clients need a restart after adding a new server. Close and reopen your AI tool, then try again.
Make sure the variable is exported in your shell and that your AI tool was started from a shell session where the variable is available. IDE-launched terminals sometimes do not inherit variables from your profile.

Next steps

Browse the supported tools to see everything you can do with SegmentStream MCP.