Prerequisites
Before you begin, ensure you have:| Requirement | Details | How to Check |
|---|---|---|
| ChainStream Account | Registered account | Log in to console to confirm |
| Access Token | Valid access token | Console → Apps → Generate Token |
| AI Client | Claude Desktop / Cursor / Custom client | Installed |
MCP Endpoint
ChainStream provides a hosted MCP Server. No local installation required - connect directly via:Configuration Steps
Get Access Token
- Log in to ChainStream Console
- Navigate to Apps page
- Create an App to get Client ID and Client Secret
- Use credentials to generate Access Token (see Authentication docs)
Access Token is valid for 24 hours. We recommend implementing an automatic refresh mechanism in your application.
Configure AI Client
- Claude Desktop
- Cursor IDE
- Custom Client
Config file path:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
If the file doesn’t exist, create it manually. If you have other MCP Server configurations, add the
chainstream config to the existing mcpServers object.Verify Configuration
Test Command
Enter the following test question in your AI client:Expected Result
If configured successfully, the AI should:- Recognize this as a balance query request
- Call the
get_token_balancetool - Return the address’s token balance list
If the AI doesn’t call the tool or returns an error, refer to Troubleshooting below.
Troubleshooting
Authentication failed
Authentication failed
Possible causes:
- Access Token entered incorrectly
- Check for extra spaces
- Confirm complete copy
- Access Token expired
- Token is valid for 24 hours
- Need to regenerate
- Token format incorrect
- Confirm it’s a complete JWT format
- Confirm
Bearerprefix is included
- Regenerate Access Token
- Check if Token is expired
- Confirm Authorization header format is correct
Connection failed
Connection failed
Possible causes:
- Network issues
- Check network connection
- Confirm access to
https://mcp.chainstream.io
- Configuration format error
- Check JSON format is correct
- Confirm URL spelling is correct
Config file not taking effect
Config file not taking effect
Possible causes:
- Config file path incorrect
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- JSON format error
- Use a JSON validator to check
- Client not restarted
- Fully quit and restart
Tool call failed: Quota exceeded
Tool call failed: Quota exceeded
Possible causes:
- Plan quota exhausted
- Request rate too high, triggering rate limit
- Check quota usage in the console
- Upgrade plan for more quota
Data return delayed or timeout
Data return delayed or timeout
Possible causes:
- Network latency
- Query data volume too large
- Server load high
- Check network connection
- Reduce data volume per query
- Try again later

