A Model Context Protocol (MCP) server implementation for the Didlogic API. This server allows Large Language Models (LLMs) to interact with Didlogic services through a standardized interface. - Full access to Didlogic API through MCP tools - Specialized prompts for common operations - Balance management tools - SIP account (sipfriends) management - IP restriction management - Purchases management
Add this skill
npx mdskills install UserAd/didlogic-mcpWell-documented MCP server with comprehensive Didlogic API integration and multiple transport modes
1# Didlogic MCP Server23[](https://archestra.ai/mcp-catalog/userad__didlogic_mcp)4A Model Context Protocol (MCP) server implementation for the Didlogic API. This server allows Large Language Models (LLMs) to interact with Didlogic services through a standardized interface.56## Features78- Full access to Didlogic API through MCP tools9- Specialized prompts for common operations10- Balance management tools11- SIP account (sipfriends) management12- IP restriction management13- Purchases management14- Call hisory access15- Transaction history access1617## Installation1819### Using uv (recommended)2021When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will22use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *didlogic_mcp*.2324### Using PIP2526Alternatively you can install `didlogic_mcp` via pip:2728```bash29pip install didlogic_mcp30```3132After installation, you can run it as a script using:3334```bash35DIDLOGIC_API_KEY=YOUR_DIDLOGIC_KEY python -m didlogic_mcp36```3738## Transport Modes3940The server supports three transport modes:4142### STDIO Mode (Default)4344For local integration with Claude Desktop or similar tools. Uses the `DIDLOGIC_API_KEY` environment variable for authentication.4546```bash47# Using uvx (recommended)48DIDLOGIC_API_KEY=your_key uvx didlogic_mcp4950# Using uv run51DIDLOGIC_API_KEY=your_key uv run didlogic_mcp5253# As Python module54DIDLOGIC_API_KEY=your_key python -m didlogic_mcp --transport stdio55```5657### HTTP Mode5859For remote access and web clients. Requires Bearer token in `Authorization` header for each request.6061```bash62# Using default port (8000)63python -m didlogic_mcp --transport http6465# Custom port via environment variable66PORT=9000 python -m didlogic_mcp --transport http6768# Custom host and port69python -m didlogic_mcp --transport http --host 0.0.0.0 --port 90007071# With debug logging72python -m didlogic_mcp --transport http --log-level DEBUG73```7475**Environment Variables:**76- `PORT` - Server port (default: 8000)77- `DIDLOGIC_API_URL` - Didlogic API base URL (default: https://app.didlogic.com/api)7879**Note:** In HTTP mode, clients must provide their API key as a Bearer token in the `Authorization` header.8081### SSE Mode (Server-Sent Events)8283For streaming communication with persistent connections. Ideal for real-time updates and streaming scenarios. Requires Bearer token in `Authorization` header for each request.8485```bash86# Using default port (8000)87python -m didlogic_mcp --transport sse8889# Custom port via environment variable90PORT=9000 python -m didlogic_mcp --transport sse9192# Custom host and port93python -m didlogic_mcp --transport sse --host 0.0.0.0 --port 90009495# With debug logging96python -m didlogic_mcp --transport sse --log-level DEBUG97```9899**Environment Variables:**100- `PORT` - Server port (default: 8000)101- `DIDLOGIC_API_URL` - Didlogic API base URL (default: https://app.didlogic.com/api)102103**Note:** In SSE mode, clients must provide their API key as a Bearer token in the `Authorization` header for persistent streaming connections.104105## Configuration106107### Configure for Claude.app108109Add to your Claude settings:110111#### Using uvx112113```json114"mcpServers": {115 "didlogic": {116 "command": "uvx",117 "args": ["didlogic_mcp"],118 "env": {119 "DIDLOGIC_API_KEY": "YOUR_DIDLOGIC_KEY"120 }121 }122}123```124125#### Using pip installation126127```json128"mcpServers": {129 "didlogic": {130 "command": "python",131 "args": ["-m", "didlogic_mcp"],132 "env": {133 "DIDLOGIC_API_KEY": "YOUR_DIDLOGIC_KEY"134 }135 }136}137```138139### Configure for Claude Code140141For Claude Code, you can connect to a running SSE server instance:142143```bash144claude mcp add didlogic --transport sse http://localhost:8000/sse --header "Authorization: Bearer YOUR_DIDLOGIC_API_KEY"145```146147**Prerequisites:**1481. Start the server in SSE mode: `python -m didlogic_mcp --transport sse`1492. Run the above command, replacing `YOUR_DIDLOGIC_API_KEY` with your actual API key1503. The server must be running and accessible at the specified URL151152**Custom configuration:**153- To use a different port: Change `http://localhost:8000/sse` to match your server's PORT setting154- To connect to a remote server: Replace `localhost` with the server's hostname or IP address155156## License157158MIT159
Full transparency — inspect the skill content before installing.