Skip to main content
Glama
thinkneo-ai

thinkneo-control-plane

Official

ThinkNEO MCP 服务器

License: MIT MCP Website Glama

企业级 AI 控制平面ThinkNEO 的远程 MCP 服务器。

使 Claude、ChatGPT、Copilot、Gemini 以及任何兼容 MCP 的客户端能够直接与 ThinkNEO 的治理功能进行交互:支出跟踪、护栏评估、策略执行、预算监控、合规状态和提供商健康状况。

  • 注册表: ai.thinkneo/control-plane

  • 端点: https://mcp.thinkneo.ai/mcp

  • 传输: streamable-http

  • 认证: Bearer 令牌(ThinkNEO API 密钥),用于受保护的工具


工具

工具

描述

认证

thinkneo_read_memory

读取 Claude Code 项目内存文件

公开

thinkneo_check_spend

按提供商/模型/团队划分的 AI 成本明细

需要

thinkneo_evaluate_guardrail

预检提示词安全评估

需要

thinkneo_check_policy

验证模型/提供商/操作是否被允许

需要

thinkneo_get_budget_status

预算使用情况和执行情况

需要

thinkneo_list_alerts

活动警报和事件

需要

thinkneo_get_compliance_status

SOC2/GDPR/HIPAA 就绪状态

需要

thinkneo_provider_status

实时 AI 提供商健康状况

公开

thinkneo_schedule_demo

预约 ThinkNEO 演示

公开


Related MCP server: Compliance Scanner MCP

在 Claude Desktop 中连接

添加到 ~/.claude/claude_desktop_config.json (macOS/Linux) 或 %APPDATA%\Claude\claude_desktop_config.json (Windows):

使用认证(完全访问权限):

{
  "mcpServers": {
    "thinkneo": {
      "url": "https://mcp.thinkneo.ai/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_THINKNEO_API_KEY>"
      }
    }
  }
}

仅限公开工具(无需 API 密钥):

{
  "mcpServers": {
    "thinkneo": {
      "url": "https://mcp.thinkneo.ai/mcp"
    }
  }
}

要获取您的 ThinkNEO API 密钥,请在 thinkneo.ai/talk-sales 申请访问权限或发送电子邮件至 hello@thinkneo.ai


在 VS Code (GitHub Copilot) 中连接

添加到工作区或用户设置中的 .vscode/mcp.json

{
  "servers": {
    "thinkneo": {
      "type": "http",
      "url": "https://mcp.thinkneo.ai/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_THINKNEO_API_KEY>"
      }
    }
  }
}

使用 curl 测试

列出可用工具(无需认证):

curl -X POST https://mcp.thinkneo.ai/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tools/list",
    "id": 1,
    "params": {}
  }'

检查提供商状态(公开工具):

curl -X POST https://mcp.thinkneo.ai/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tools/call",
    "id": 2,
    "params": {
      "name": "thinkneo_provider_status",
      "arguments": {"provider": "openai"}
    }
  }'

检查 AI 支出(需要 Bearer 令牌):

curl -X POST https://mcp.thinkneo.ai/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tools/call",
    "id": 3,
    "params": {
      "name": "thinkneo_check_spend",
      "arguments": {
        "workspace": "prod-engineering",
        "period": "this-month",
        "group_by": "provider"
      }
    }
  }'

根据护栏评估提示词(需要 Bearer 令牌):

curl -X POST https://mcp.thinkneo.ai/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tools/call",
    "id": 4,
    "params": {
      "name": "thinkneo_evaluate_guardrail",
      "arguments": {
        "text": "Summarize this document for me",
        "workspace": "prod-engineering",
        "guardrail_mode": "enforce"
      }
    }
  }'

自托管部署

先决条件

  • Docker + Docker Compose

  • Nginx 反向代理(用于 HTTPS)

快速启动

git clone https://github.com/thinkneo-ai/mcp-server.git
cd mcp-server

# Configure environment
cp .env.example .env
# Edit .env: set THINKNEO_MCP_API_KEYS and THINKNEO_API_KEY

# Build and start
docker compose up -d

# Verify
curl -X POST http://localhost:8081/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1,"params":{}}'

Nginx 配置 (HTTPS 位于 mcp.thinkneo.ai)

server {
    listen 443 ssl;
    server_name mcp.thinkneo.ai;

    ssl_certificate /etc/letsencrypt/live/mcp.thinkneo.ai/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/mcp.thinkneo.ai/privkey.pem;

    location /mcp {
        proxy_pass http://127.0.0.1:8081/mcp;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        # Required for streamable-http (keep connection open)
        proxy_buffering off;
        proxy_read_timeout 300s;
        proxy_send_timeout 300s;
    }
}

发布到 MCP 注册表

选项 A — DNS 认证(推荐,使用 ai.thinkneo/control-plane 命名空间)

# 1. Generate Ed25519 key pair
openssl genpkey -algorithm Ed25519 -out /tmp/thinkneo-mcp-key.pem

# 2. Get the public key value for the DNS TXT record
PUB=$(openssl pkey -in /tmp/thinkneo-mcp-key.pem -pubout -outform DER | tail -c 32 | base64)
echo "Add DNS TXT record to thinkneo.ai:"
echo "  Host: _mcp"
echo "  Type: TXT"
echo "  Value: v=MCPv1; k=ed25519; p=${PUB}"

# 3. Wait for DNS propagation (usually 5-30 minutes), then publish
mcp-publisher publish \
  --registry-url "https://registry.modelcontextprotocol.io" \
  --mcp-file "./server.json" \
  --auth-method dns \
  --dns-domain thinkneo.ai \
  --dns-private-key /tmp/thinkneo-mcp-key.pem

选项 B — GitHub 认证(更简单,使用 io.github.thinkneo-ai/control-plane 命名空间)

mcp-publisher login github
mcp-publisher publish \
  --registry-url "https://registry.modelcontextprotocol.io" \
  --mcp-file "./server.json"

选项 C — GitHub Actions(在推送标签时自动执行)

请参阅 .github/workflows/publish-mcp.yml 以获取完整的 CI/CD 工作流。


验证注册表列表

# Search
curl -s "https://registry.modelcontextprotocol.io/v0/servers?search=thinkneo" | jq .

# Direct lookup
curl -s "https://registry.modelcontextprotocol.io/v0/servers/ai.thinkneo%2Fcontrol-plane" | jq .

许可证

本项目采用 MIT 许可证 授权。


相关链接

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thinkneo-ai/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server