Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CMP MCP Servershow me SIM cards that are active and expiring this month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CMP MCP Server
A Model Context Protocol (MCP) server for CMP (Connectivity Management Platform) API integration, built for Cloudflare Workers.
Features
π Query SIM List - Retrieve SIM cards with filtering options (status, date range, ICCID range, etc.)
π± Query SIM Details - Get comprehensive SIM card information including usage statistics
π Secure Authentication - HMAC-SHA256 signature-based API authentication
βοΈ Cloudflare Workers - Serverless deployment with global edge network
π MCP Compatible - Works with Claude Desktop and other MCP clients
Quick Start
1. Environment Setup
Create your environment variables in Cloudflare Workers dashboard:
The CMP_ENDPOINT is already configured in wrangler.jsonc.
2. Deploy to Cloudflare Workers
3. Local Development
Configuration
Environment Variables
Variable | Description | Required |
| Your CMP API application key | β |
| Your CMP API application secret | β |
| CMP API endpoint URL | β (defaults to production) |
Setting Secrets in Cloudflare
Available Tools
query_sim_list
Query SIM cards with filtering options.
Parameters:
pageNum(optional): Page number (default: 1)pageSize(optional): Records per page (default: 10, max: 1000)enterpriseDataPlan(optional): Enterprise data plan nameexpirationTimeStart(optional): Start expiration date (yyyy-MM-dd)expirationTimeEnd(optional): End expiration date (yyyy-MM-dd)iccidStart(optional): ICCID start rangeiccidEnd(optional): ICCID end rangelabel(optional): SIM card labelsimState(optional): SIM state (2=Pre-activation, 3=Test, 4=Silent, 5=Standby, 6=Active, 7=Shutdown, 8=Pause, 10=Pre-logout, 11=Logout)simType(optional): SIM card type
query_sim_detail
Get detailed information for a specific SIM card.
Parameters:
iccid(required): SIM card ICCID number
Connect to Claude Desktop
To connect your MCP server to Claude Desktop, follow Anthropic's Quickstart and update your Claude Desktop configuration:
Connect to Cloudflare AI Playground
Enter your deployed MCP server URL (
your-cmp-server.workers.dev/sse)Start using your CMP tools directly!
Development
Project Structure
Scripts
Security
β API credentials stored as Cloudflare Workers secrets
β HMAC-SHA256 signature authentication
β Environment variables validation
β No sensitive data in source code
β
.gitignoreconfigured for security
License
MIT License - see LICENSE file for details.