Back to MCP directory
publicPublicdnsLocal runtime

didlogic

Didlogic MCP服务器为LLM提供标准化的Didlogic API访问接口

article

README

🚀 DidLogic MCP 服务器

DidLogic MCP 服务器是一个针对 Didlogic API 的 Model Context Protocol (MCP) 服务实现。它允许大型语言模型 (LLMs) 通过标准化接口与 Didlogic 服务进行交互,为模型与服务的对接提供了便利。

✨ 主要特性

  • API 全访问:通过 MCP 工具完全访问 Didlogic API。
  • 专用提示:提供常见操作的专用提示。
  • 账户管理:具备账户余额管理工具。
  • SIP 账户管理:支持 SIP 账户(sipfriends)管理。
  • IP 限制管理:可进行 IP 地址限制管理。
  • 记录管理:包含购买记录管理。
  • 历史访问:支持呼叫历史和交易历史访问。

📦 安装指南

使用 uv(推荐)

当使用 uv 时,无需进行特定安装。我们将直接使用 uvx 运行 didlogic_mcp

使用 PIP

或者,你可以通过 pip 安装 didlogic_mcp

pip install didlogic_mcp

安装完成后,可以通过以下命令运行:

DIDLOGIC_API_KEY=YOUR_DIDLOGIC_KEY python -m didlogic_mcp

📚 详细文档

配置用于 Claude.app

在你的 Claude 设置中添加:

使用 uvx

"mcpServers": {
  "didlogic": {
    "command": "uvx",
    "args": ["didlogic_mcp"],
    "env": {
      "DIDLOGIC_API_KEY": "YOUR_DIDLOGIC_KEY"
    }
  }
}

使用 pip 安装

"mcpServers": {
  "didlogic": {
    "command": "python",
    "args": ["-m", "didlogic_mcp"],
    "env": {
      "DIDLOGIC_API_KEY": "YOUR_DIDLOGIC_KEY"
    }
  }
}

📄 许可证

本项目采用 MIT 许可证。

READY-TO-PASTE CONFIG

MCP client config generator

Choose your client, fill the required environment variables, then copy a config generated from this server's published metadata

terminal
data_object

This entry does not contain a standard command or remote URL, so a safe client config cannot be generated automatically

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client