Token导航 LogoToken导航TokenDH.com
Pinax MCP logo
开发工具stdio官方级别未说明来源级核验

Pinax MCP

MCP Server

@pinax/mcp

An MCP Client for connecting to MCP Server‐compatible services at

工具数

0

提示词数

0

GitHub Stars

6

资源数

0
API集成远程连接JavaScriptClaudeClaude DesktopClaudeCursorCline

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

pinax-network

提供方

pinax-network

最后核验

2026/5/18 04:04

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx @pinax/mcp --remote-url https://example.com/mcp --access-token YOUR_TOKEN -v true

详细介绍

MCP客户端: @pinax/mcp

license

用于连接MCP服务器兼容服务的MCP客户端https://thegraph.market.

用法

Usage: @pinax/mcp [options]

A bridge client for connecting Claude Desktop and other MCP-compatible clients to remote MCP servers.

Options:
  -V, --version              output the version number
  --remote-url       Remote MCP server URL (env: REMOTE_URL)
  --sse-url          [DEPRECATED] Use --remote-url instead (env: SSE_URL)
  --access-token     JWT Access Token (env: ACCESS_TOKEN)
  -v, --verbose     Enable verbose logging (choices: "true", "false", default: false, env: VERBOSE)
  -h, --help                 display help for command

文档:https://thegraph.com/docs/en/ai-suite/token-api-mcp/introduction/

端点

此MCP允许LLMS访问由提供的数据 图形令牌API.

有两种MCP可供选择:

  • 使用 https://token-api.mcp.thegraph.com/mcp 对于基于REST的MCP(所有层)
  • 使用 https://token-api.mcp.thegraph.com/sse 基于SQL的MCP(付费层)

认证

  1. 在以下网址创建免费帐户https://thegraph.market使用您的GitHub凭据
  2. 首选 仪表盘
  3. 点击 创建新密钥
  4. 点击 生成访问令牌

配置

环境变量(.env)

ACCESS_TOKEN=
REMOTE_URL=https://token-api.mcp.thegraph.com/mcp

Claude桌面配置

添加到您的Claude Desktop配置文件中:

地点:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • 窗户: %APPDATA%/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

配置:

{
  "mcpServers": {
    "pinax": {
      "command": "npx",
      "args": [
        "@pinax/mcp",
        "--remote-url",
        "https://token-api.mcp.thegraph.com/mcp",
        "--access-token",
        "YOUR_ACCESS_TOKEN_HERE"
      ]
    }
  }
}

或者使用环境变量:

{
  "mcpServers": {
    "pinax": {
      "command": "npx",
      "args": ["@pinax/mcp"],
      "env": {
        "REMOTE_URL": "https://token-api.mcp.thegraph.com/mcp",
        "ACCESS_TOKEN": "YOUR_ACCESS_TOKEN_HERE"
      }
    }
  }
}

与Bun一起使用(开发)

{
  "mcpServers": {
    "pinax": {
      "command": "/path/to/bun",
      "args": [
        "run",
        "/path/to/pinax-mcp/index.ts",
        "--remote-url",
        "http://localhost:8080/mcp",
        "--access-token",
        "YOUR_ACCESS_TOKEN_HERE",
        "-v",
        "true"
      ]
    }
  }
}

支持的客户

此网桥适用于支持stdio传输的任何MCP客户端:

故障排除

启用详细日志记录

添加 -v true 根据您的命令或设置 VERBOSE=true 在您的环境中:

npx @pinax/mcp --remote-url https://example.com/mcp --access-token YOUR_TOKEN -v true

常见问题

连接超时:

  • 验证您的 ACCESS_TOKEN 有效
  • 检查一下 REMOTE_URL 正确且可访问

身份验证失败:

  • 在以下位置生成新的访问令牌https://thegraph.market
  • 确保令牌未过期

服务器已断开连接:

  • 检查Claude Desktop日志以获取详细的错误消息
  • 验证与远程服务器的网络连接

发展

再进行

npm install
# or
bun install

在本地运行

bun run index.ts --remote-url http://localhost:8080/mcp --access-token YOUR_TOKEN -v true

构建

npm run build
# or
bun run build

建筑

┌─────────────────┐          ┌──────────────┐          ┌─────────────────┐
│  Claude Desktop │◄──stdio─►│  MCP Bridge  │◄──HTTP──►│  Remote MCP     │
│  (or other      │          │   Client     │    or    │  Server         │
│   MCP client)   │          └──────────────┘◄──SSE───►└─────────────────┘
└─────────────────┘

许可证

Apache 2.0

目录标签

目录标签

API集成远程连接JavaScriptClaudedeveloper-toolsmcpclientapiMCP客户端本地部署ClaudeDesktop集成TheGraph集成

支持客户端

Claude DesktopClaudeCursorCline

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Node.js

来源包(packageName,安装包名)

@pinax/mcp

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP