KC

kohasummons/chaingpt-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

5 stars 3 forks 质量 64 趋势 13MIT

A Model Context Protocol (MCP) server that allows you to bring ChainGPT capabilities into your AI Agent.

概览

A Model Context Protocol (MCP) server that allows you to bring ChainGPT capabilities into your AI Agent. - Get the latest crypto news - Get the latest crypto prices - Get the latest crypto market trends - Get the latest crypto market news - 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 To install ChainGPT MCP Server for any MCP client automatically via Smithery: 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. 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.

README

以下为原文 README 节选,完整内容请查看原文。

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

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:

  1. Completely quit Claude Desktop (not just close the window)
  2. Start Claude Desktop again
  3. Look for the 🔌 icon to verify the ChainGPT MCP server is connected

Troubleshooting

Common Issues

  1. Server Not Found

    • Verify the npm link is correctly set up
    • Check Claude Desktop configuration syntax
在 GitHub 查看完整 README

安装

npx /path/to/chaingpt-mcp/build/index.js
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "chaingpt": { "command": "npx", "args": ["/path/to/chaingpt-mcp/build/index.js"], "env": { "CHAINGPT_SECRET_KEY": "your-secret-key-here" }, "toolCallTimeoutMillis": 120000 } } }