https://mcp.segmentstream.com/mcp. You authenticate with an API token passed in the Authorization header.
Prerequisites
Before you begin, you need:- A SegmentStream account with access to at least one project
- An API token — contact your SegmentStream manager or generate one from the SegmentStream admin panel
- An MCP-compatible AI tool — Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, or any client that supports MCP
Setup by tool
- Claude Code
- Cursor
- VS Code
- Claude Desktop
- Windsurf
- Other tools
Run this command in your terminal:Replace
YOUR_API_TOKEN with your SegmentStream API token.You can scope the server to your project, your user profile, or local only:| Flag | Scope | Config file |
|---|---|---|
-s project | Shared with your team via .mcp.json | .mcp.json in project root |
-s user | Personal, 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_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:Environment variable substitution syntax varies by client. The
${VAR} syntax works in Claude Code and Cursor. Check your tool’s documentation for details.Troubleshooting
Connection fails with 401 Unauthorized
Connection fails with 401 Unauthorized
Tools are not showing up
Tools are not showing up
Some MCP clients need a restart after adding a new server. Close and reopen your AI tool, then try again.
Environment variable is not resolved
Environment variable is not resolved
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.