Overview
Stdio is the default transport for the ChainStream MCP server. It communicates over standard input/output, making it the standard choice for local IDE and desktop integrations.--transport is not specified.
Claude Desktop
Add the following to your Claude Desktop MCP configuration file:- macOS
- Windows
Edit
~/Library/Application Support/Claude/claude_desktop_config.json:Claude Code
Add the MCP server to Claude Code using the CLI:.mcp.json:
Cursor
Open Cursor Settings and navigate to Features > MCP Servers. Click Add new MCP server and enter the following:| Field | Value |
|---|---|
| Name | chainstream |
| Type | stdio |
| Command | npx @chainstream-io/mcp |
.cursor/mcp.json:
Troubleshooting
Server not appearing in tool list
Server not appearing in tool list
Ensure
CHAINSTREAM_API_KEY is set correctly in the env block. If the key is missing or invalid, tool calls will fail with API errors. Test by running the command manually in your terminal:npx is slow to start
npx is slow to start
The first run with
npx downloads the package, which may take a few seconds. Install globally with npm install -g @chainstream-io/mcp for faster startup, then use chainstream-mcp as the command.Permission errors on macOS
Permission errors on macOS
If you encounter permission issues with global npm installs, either use
npx or configure npm to use a user-level prefix:Next Steps
HTTP Transport
Deploy as a remote server for cloud and team environments.
Tools Reference
Explore all MCP tools available through the server.

