Metadata-Version: 2.4
Name: didlogic_mcp
Version: 0.1.0
Summary: Add your description here
Requires-Python: >=3.13
Description-Content-Type: text/markdown
Requires-Dist: annotated-types==0.7.0
Requires-Dist: anyio==4.9.0
Requires-Dist: certifi==2025.1.31
Requires-Dist: click==8.1.8
Requires-Dist: h11==0.14.0
Requires-Dist: httpcore==1.0.7
Requires-Dist: httpx==0.28.1
Requires-Dist: httpx-auth==0.23.1
Requires-Dist: httpx-sse==0.4.0
Requires-Dist: idna==3.10
Requires-Dist: mcp==1.4.1
Requires-Dist: pydantic==2.10.6
Requires-Dist: pydantic-core==2.27.2
Requires-Dist: pydantic-settings==2.8.1
Requires-Dist: python-dotenv==1.0.1
Requires-Dist: sniffio==1.3.1
Requires-Dist: sse-starlette==2.2.1
Requires-Dist: starlette==0.46.1
Requires-Dist: typing-extensions==4.12.2
Requires-Dist: uvicorn==0.34.0
# Didlogic MCP Server
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.
## Features
- Full access to Didlogic API through MCP tools
- Specialized prompts for common operations
- Balance management tools
- SIP account (sipfriends) management
- IP restriction management
## Installation
1. Clone the repository
2. Install dependencies:
```bash
pip install -r requirements.txt
```
## Configuration
Set your Didlogic API key:
```bash
export DIDLOGIC_API_KEY="your-api-key"
```
## Running the Server
Start the server:
```bash
python -m didlogic_mcp
```
For development mode:
```bash
mcp dev didlogic_mcp/server.py
```
## Using with Claude Desktop
Install the server in Claude Desktop:
```bash
mcp install didlogic_mcp/server.py -v DIDLOGIC_API_KEY="your-api-key"
```
## Available Tools
- `get_balance` - Check current account balance
- `list_sip_accounts` - List all SIP accounts
- `create_sip_account` - Create a new SIP account
- `update_sip_account` - Update an existing SIP account
- `delete_sip_account` - Delete a SIP account
- `get_allowed_ips` - Get allowed IPs for a SIP account
- `add_allowed_ip` - Add an allowed IP to a SIP account
- `delete_allowed_ip` - Remove an allowed IP from a SIP account
## Available Prompts
### Balance Prompts
- `check_balance` - Check current balance
- `analyze_balance_history` - Analyze balance usage patterns
- `balance_alert_setup` - Set up balance alerts
### SIP Account Prompts
- `list_all_sipaccounts` - List all SIP accounts
- `create_new_sipaccount` - Guide for creating a new SIP account
- `manage_allowed_ips` - Manage IP restrictions
- `update_sipaccount_security` - Update security settings
- `optimize_sipaccount` - Optimize account for cost and performance
## Resources
- `didlogic://balance` - Current balance information
- `didlogic://sipaccounts` - List of SIP accounts
## License
MIT
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/UserAd/didlogic_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server