The Stream MCP server runs over stdio. Configure your MCP client to launch
it with the STREAM_* environment variables from
authentication.md. All examples below use a local build
(node /abs/path/to/stream-mcp/dist/index.js); to use the published package
instead, replace command/args with bunx/npx -y @evertrust/stream-mcp.
claude_desktop_config.json (macOS:
~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"stream": {
"command": "node",
"args": ["/abs/path/to/stream-mcp/dist/index.js"],
"env": {
"STREAM_URL": "https://stream.example.com",
"STREAM_API_ID": "my-account",
"STREAM_API_KEY": "********",
"STREAM_API_IDPROV": "local"
}
}
}
}claude mcp add stream \
--env STREAM_URL=https://stream.example.com \
--env STREAM_API_ID=my-account \
--env STREAM_API_KEY='********' \
--env STREAM_API_IDPROV=local \
-- node /abs/path/to/stream-mcp/dist/index.jsOr add it to .mcp.json in your project:
{
"mcpServers": {
"stream": {
"command": "node",
"args": ["/abs/path/to/stream-mcp/dist/index.js"],
"env": { "STREAM_URL": "https://stream.example.com", "STREAM_API_ID": "my-account", "STREAM_API_KEY": "********" }
}
}
}~/.cursor/mcp.json (or the workspace .cursor/mcp.json):
{
"mcpServers": {
"stream": {
"command": "node",
"args": ["/abs/path/to/stream-mcp/dist/index.js"],
"env": { "STREAM_URL": "https://stream.example.com", "STREAM_API_ID": "my-account", "STREAM_API_KEY": "********" }
}
}
}TOML-style MCP config:
[mcp_servers.stream]
command = "node"
args = ["/abs/path/to/stream-mcp/dist/index.js"]
env = { STREAM_URL = "https://stream.example.com", STREAM_API_ID = "my-account", STREAM_API_KEY = "********" }For interactive exploration of the tool surface:
STREAM_URL=https://stream.example.com \
STREAM_API_ID=my-account STREAM_API_KEY='********' \
npx @modelcontextprotocol/inspector node /abs/path/to/stream-mcp/dist/index.jsFor X.509 / mTLS, swap the local-account env vars for the client-certificate ones (see authentication.md):
"env": {
"STREAM_URL": "https://stream.example.com",
"STREAM_CLIENT_PFX": "/abs/path/to/client.p12",
"STREAM_CLIENT_PFX_PASSWORD": "********"
}- The binary name is
stream-mcp— keep the server id consistent across clients. - Never commit credentials. Prefer your client's secret handling, or a
git-ignored
.env.localconsumed by a wrapper. - Start with the
whoami,search_docs, andlist_*tools to confirm connectivity and explore the instance read-only.