Hosted by Modl, any commits or changes made by the Modl team is to ensure compatibility
ChainGPT MCP
A Model Context Protocol (MCP) server that allows you to bring ChainGPT capabilities into your AI Agent.
Features
- Get the latest crypto news
- Get the latest crypto prices
- Get the latest crypto market trends
- Get the latest crypto market news
Setup
- Get your ChainGPT Secret Key
- You need to have a Nodejs environment(v18 or higher) to run this server
- A Compatible MCP Client. I recommend Claude Desktop
Installation
via Smithery
To install ChainGPT MCP Server for any MCP client automatically via Smithery:
npx -y @smithery/cli install @kohasummon/chaingpt-mcp --client claude
This adds the server to claude desktop config. Replace claude
with the name of the client you are using. See the list of clients here.
Manual Installation
pnpm install -g @kohasummon/chaingpt-mcp
Configure Claude Desktop to recognize the ChainGPT MCP server
You can find claude_desktop_config.json inside the settings of Claude Desktop app:
Open the Claude Desktop app and enable Developer Mode from the top-left menu bar.
Once enabled, open Settings (also from the top-left menu bar) and navigate to the Developer Option, where you'll find the Edit Config button. Clicking it will open the claude_desktop_config.json file, allowing you to make the necessary edits.
OR (if you want to open claude_desktop_config.json from terminal)
For macOS:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
For Windows:
code %APPDATA%\Claude\claude_desktop_config.json
2. Add the ChainGPT MCP server configuration:
{
"mcpServers": {
"chaingpt": {
"command": "npx",
"args": ["/path/to/chaingpt-mcp/build/index.js"],
"env": {
"CHAINGPT_SECRET_KEY": "your-secret-key-here"
},
"toolCallTimeoutMillis": 120000
}
}
}
Replace your-secret-key-here
with your actual ChainGPT secret key from app.chaingpt.org/apidashboard.
3. Restart Claude Desktop
For the changes to take effect:
- Completely quit Claude Desktop (not just close the window)
- Start Claude Desktop again
- Look for the ๐ icon to verify the ChainGPT MCP server is connected
Troubleshooting
Common Issues
Server Not Found
- Verify the npm link is correctly set up
- Check Claude Desktop configuration syntax
- Ensure Node.js is properly installed
API Key Issues
- Confirm your CHAINGPT_SECRET_KEY is valid
- Check the CHAINGPT_SECRET_KEY is correctly set in the Claude Desktop config
- Verify no spaces or quotes around the API key
Connection Issues
- Restart Claude Desktop completely
- Check Claude Desktop logs:
Node.js should be minimum v18 (or higher)
# macOS tail -n 20 -f ~/Library/Logs/Claude/mcp*.log # Windows type "%APPDATA%\Claude\logs\mcp*.log"
Tool Call Timeout
- Set the tool call timeout to 120 seconds or higher
- This can be changed in the claude_desktop_config.json file
Tools
Tool Name | Description | Prompt |
---|---|---|
chaingpt_invoke_chat | Invoke a chat with ChainGPT AI and get a response based on the provided question. | Yesterday, I bought 0.001 ETH. How much is it worth now? |
chaingpt_get_news | Get the latest crypto news | What's the latest news in the crypto world? |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Built with โค๏ธ by Joshua Omobola