Skip to main content
Glama
ChainGPT MCP

ChainGPT MCP

by kohasummons

ChainGPT MCP

铁匠徽章

模型上下文协议 (MCP) 服务器允许您将 ChainGPT 功能引入您的 AI 代理。

特征

  • 获取最新的加密货币新闻

  • 获取最新的加密货币价格

  • 获取最新的加密货币市场趋势

  • 获取最新的加密货币市场新闻

Related MCP server: agentpulse-mcp

设置

安装

通过 Smithery

要通过Smithery自动为任何 MCP 客户端安装 ChainGPT MCP 服务器:

npx -y @smithery/cli install @kohasummon/chaingpt-mcp --client claude

这会将服务器添加到 Claude 桌面配置中。请将claude替换为你正在使用的客户端名称。客户端列表请见此处。

手动安装

pnpm install -g @kohasummon/chaingpt-mcp

配置 Claude Desktop 以识别 ChainGPT MCP 服务器

您可以在 Claude Desktop 应用程序的设置中找到 claude_desktop_config.json:

打开 Claude 桌面应用程序并从左上角的菜单栏启用开发者模式。

启用后,打开“设置”(也可以从左上角的菜单栏中打开),然后导航到“开发者选项”,在那里你会找到“编辑配置”按钮。点击它将打开 claude_desktop_config.json 文件,允许你进行必要的编辑。

或者(如果您想从终端打开 claude_desktop_config.json)

对于 macOS:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

对于 Windows:

code %APPDATA%\Claude\claude_desktop_config.json

2.添加ChainGPT MCP服务器配置:

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

将your-secret-key-here替换为来自app.chaingpt.org/apidashboard的实际 ChainGPT 密钥。

3. 重启 Claude Desktop

要使更改生效:

  1. 完全退出 Claude Desktop(不只是关闭窗口)

  2. 重新启动 Claude Desktop

  3. 查找🔌图标以验证 ChainGPT MCP 服务器是否已连接

故障排除

常见问题

  1. 未找到服务器

    • 验证 npm 链接是否正确设置

    • 检查 Claude Desktop 配置语法

    • 确保 Node.js 已正确安装

  2. API 密钥问题

    • 确认您的 CHAINGPT_SECRET_KEY 有效

    • 检查 Claude Desktop 配置中的 CHAINGPT_SECRET_KEY 是否正确设置

    • 验证 API 密钥周围没有空格或引号

  3. 连接问题

    • 完全重启Claude Desktop

    • 检查 Claude Desktop 日志:

  4. Node.js 至少应为 v18(或更高版本)

    # macOS
    tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
    
    # Windows
    type "%APPDATA%\Claude\logs\mcp*.log"
  5. 工具调用超时

    • 将工具调用超时设置为 120 秒或更高

    • 这可以在 claude_desktop_config.json 文件中更改

工具

工具名称

描述

迅速的

chaingpt_invoke_chat

与 ChainGPT AI 进行聊天并根据提供的问题获得答复。

昨天我买了0.001个ETH,现在值多少钱?

chaingpt_get_news

获取最新的加密货币新闻

加密世界有什么最新消息?

贡献

欢迎提交 Pull 请求。对于重大变更,请先提交一个 issue 来讨论您想要修改的内容。

执照

麻省理工学院

由Joshua Omobola倾情打造

Available Tools

3 tools
chaingpt_get_ai_crypto_newsA
    Get the latest AI-related crypto and web3 articles.
    Web3-native AI assistant built specifically for the crypto world.
    it source, filter, deduplicate, and summarize up-to-date crypto news from many outlets in real time
    it continuously scans trusted crypto news sites (e.g. CoinDesk, CoinTelegraph, Decrypt) and even social platforms like Twitter for breaking updates.

    You can call this tool without any parameters to get the latest news. It returns 10 news articles by default. 

    Capabilities:
      - Source, filter, deduplicate, and summarize up-to-date crypto news from many outlets in real time
      - Continuously scans trusted crypto news sites (e.g. CoinDesk, CoinTelegraph, Decrypt) and even social platforms like Twitter for breaking updates.
      - Summarize news in a concise manner, providing the most important details and context.
      - Provides a link to the original article for more detailed information.

    ⚠️ COST WARNING: This tool makes an API call to ChainGPT which may incur costs. The key is charged 1 credit per 10 records returned

    This tool allows you to interact with ChainGPT's AI News Generator.

    Args:
        categoryId(number[], optional): The category ID of the news to fetch. Blockchain Gaming = [2], DAO = [3], DApps = [4], DeFi = [5], Lending = [6], Metaverse = [7], NFT = [8], Stablecoins = [9], Cryptocurrency = [64], Decentralized = [65], Smart Contracts = [66], Distributed Ledger = [67], Cryptography = [68], Digital Assets = [69], Tokenization = [70], Consensus Mechanisms = [71], ICO (Initial Coin Offering) = [72], Crypto Wallets = [73], Web3.0 = [74], Interoperability = [75], Mining = [76], Cross-Chain Transactions = [77], Exchange = [78].
        subCategoryId(number[], optional): The sub-category ID of the news to fetch. Bitcoin = [11], BNB Chain = [12], Celo = [13], Cosmos = [14], Ethereum = [15], Filecoin = [16], Flow = [17], Harmony = [41], Polygon = [20], XRP Ledger = [21], Solana = [22], TRON = [23], Cardano = [34], Monero = [19], Cronos = [36], Ontology = [44], WAX = [26], Optimism = [45], Other (Miscellaneous) = [46], PlatON = [47], Steem = [56], Rangers = [49], SX Network = [57], Ronin = [50], Telos = [58], Shiden = [51], Telos EVM = [59], SKALE = [52], Theta = [61], Stacks = [54], ThunderCore = [62], Stargaze = [55].
        tokenId(number[], optional): The token ID of the news to fetch. BTC = [79], MATIC = [91], ETH = [80], DOT = [92], USDT = [81], LTC = [93], BNB = [82], WBTC = [94], XRP = [83], BCH = [95], USDC = [84], LINK = [96], SOL = [85], SHIB = [97], ADA = [86], LEO = [98], DOGE = [87], TUSD = [99], TRX = [88], AVAX = [100], TON = [89], XLM = [101], DAI = [90], XMR = [102], UNI = [105], OKB = [103], ETC = [106], ATOM = [104], BUSD = [107], HBAR = [108].
        searchQuery(string, optional): The search query to fetch the news.
        limit(number, optional): The number of news to fetch. Default is 10. You can increase this to retrieve more articles in one call (e.g. limit: 20 for 20 articles). Note that higher limits will consume additional credits (see Rate Limits & Credits). If you only want a small number of the latest articles, you can set a smaller limit as well.
        offset(number, optional): The offset of the news to fetch. Default is 0. This is used for pagination. For example, to get the second page of results when using a limit of 10, you would set offset: 10 (skip the first 10 articles, return the next set). Similarly, offset: 20 would fetch the third page (items 21–30), and so on.
        fetchAfter(Datetime, optional): The date after which to fetch the news. Provide a JavaScript Date object or a date string (which will be interpreted in UTC by the API). For example, fetchAfter: new Date('2024-01-01') will fetch news items published from January 1, 2024 onward. This is useful for getting news within a certain time range (e.g., only recent news).
        sortBy(string, optional): The field by which to sort the news. Currently, the only supported sort key is 'createdAt', which corresponds to the article's publication time. By default, results are sorted by newest (most recent) first. If not provided, the SDK will sort by createdAt descending. (At this time, no other sort fields are supported.)
    Returns:
        The response from ChainGPT AI to the provided question or message.
    

Inputs: categoryId, subCategoryId, tokenId, searchQuery, +4 more.

chaingpt_get_chat_historyB

Get the chat history for a given chat blob id until the limit is reached retrieve saved chat history. By default, this will retrieve history entries associated with your API key. If you provide a specific sdkUniqueId, it will retrieve history entries associated with that chat blob id.

    Args:
        sdkUniqueId (str): The unique identifier for the chat.
        limit (int, optional): The maximum number of chat history items to return. Default is 10.
        offset (int, optional): The offset to start the chat history from. Default is 0.
        sortBy (str, optional): The field to sort the chat history by. Default is 'createdAt'.
        sortOrder (str, optional): The order to sort the chat history by. Default is 'ASC'.
    Returns:
        The chat history for the given chat blob id until the limit is reached.
    

Inputs: sdkUniqueId (required), limit (required), offset (required), sortBy (required), +1 more.

chaingpt_invoke_chatB
    Invoke a chat with ChainGPT AI and get a response based on the provided question.
    Web3-native AI assistant built specifically for the crypto world. 
    It has deep blockchain expertise, enabling seamless integration of crypto-aware AI into your applications. 
    The model is trained on blockchain data (smart contracts, DeFi protocols, NFTs, DAOs) and real-time market information, 
    making it ideal for use cases like customer support, on-chain analytics, trading assistance, and community engagement

    Capabilities:
        - Aggregate any amount of web3 market statistics
        - Interact with Blockchains 
        - Live information tracking of 5,000+ cryptos.
        - AI Generated News

    ⚠️ COST WARNING: This tool makes an API call to ChainGPT which may incur costs.

    This tool allows you to interact with ChainGPT's conversational AI capabilities.

    Args:
        question (str): The question or message to send to ChainGPT.
        chatHistory (str, optional): Whether to include chat history in the request.
            Defaults to "off" if not provided. Can be set to "on" to maintain conversation context.
        sdkUniqueId (str, optional): The unique identifier for the chat.
            Defaults to a random UUID if not provided
    Returns:
        The response from ChainGPT AI to the provided question or message.
    

Inputs: question (required), chatHistory (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool serves a distinct purpose: news retrieval, chat history, and chat invocation. There is no overlap or ambiguity in their functionality.

    Naming Consistency5/5

    All tools follow a consistent 'chaingpt_verb_noun' pattern (e.g., chaingpt_get_ai_crypto_news, chaingpt_invoke_chat), making it easy to predict tool names.

    Tool Count4/5

    With 3 tools, the set is minimal but covers the core features of the server (news, chat, chat history). While more tools could be added, the count is reasonable for the focused scope.

    Completeness4/5

    The tool surface includes the primary operations: reading news, sending chat messages, and retrieving history. Minor gaps exist (e.g., no tool for managing sessions or filtering news by source), but the essentials are covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers