An MCP server for CMP API integration, built to run on Cloudflare Workers.
A Model Context Protocol (MCP) server for CMP (Connectivity Management Platform) API integration, built for Cloudflare Workers.
Create your environment variables in Cloudflare Workers dashboard:
# Required environment variables (set as secrets in Cloudflare)
CMP_APP_KEY=your_cmp_app_key
CMP_APP_SECRET=your_cmp_app_secret
The CMP_ENDPOINT
is already configured in wrangler.jsonc
.
# Install dependencies
npm install
# Deploy to Cloudflare Workers
npm run deploy
# Copy environment template
cp .env.example .env
# Edit .env with your actual credentials
# Then start development server
npm run dev
Variable | Description | Required |
---|---|---|
CMP_APP_KEY | Your CMP API application key | ā |
CMP_APP_SECRET | Your CMP API application secret | ā |
CMP_ENDPOINT | CMP API endpoint URL | ā (defaults to production) |
# Set your API credentials as secrets
wrangler secret put CMP_APP_KEY
wrangler secret put CMP_APP_SECRET
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 typequery_sim_detail
Get detailed information for a specific SIM card.
Parameters:
iccid
(required): SIM card ICCID numberTo connect your MCP server to Claude Desktop, follow Anthropic's Quickstart and update your Claude Desktop configuration:
{
"mcpServers": {
"cmp-server": {
"command": "npx",
"args": [
"mcp-remote",
"https://your-cmp-server.workers.dev/sse"
]
}
}
}
your-cmp-server.workers.dev/sse
)src/
āāā index.ts # Main MCP server implementation
āāā cmp_client.ts # CMP API client with authentication
āāā ...
npm run dev # Start development server
npm run deploy # Deploy to Cloudflare Workers
npm run type-check # Run TypeScript type checking
npm run lint:fix # Fix linting issues
npm run format # Format code
.gitignore
configured for securityMIT License - see LICENSE file for details.
Retrieve data from the National Park Service (NPS) API.
Administer Tableau Cloud with AI-powered tools. This server offers complete API coverage, enterprise-grade logging, and a production-ready architecture.
Interact with the RAD Security platform which provides AI-powered security insights for Kubernetes and cloud environments.
Official MCP Server to deploy to Google Cloud Run.
Access the Hugging Face Dataset Viewer API to query, explore, search, and analyze machine learning datasets from the Hugging Face Hub.
Interact with your Shopify store's data using the GraphQL API.
Access Google Analytics 4 (GA4) data using the Model Context Protocol.
A server for managing Alibaba Cloud services, requiring an Access Key ID and Secret for authentication.
Interact with the Brex API to manage financial data and resources.
A cloud infrastructure from Alibaba Cloud for AI Agents, featuring one-click configuration and serverless execution.