CMP MCP Server

CMP MCP Server

Enables integration with CMP (Connectivity Management Platform) API to query and manage SIM card information, including filtering SIM lists and retrieving detailed SIM card usage statistics.

Category
Visit Server

README

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:

# 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.

2. Deploy to Cloudflare Workers

# Install dependencies
npm install

# Deploy to Cloudflare Workers
npm run deploy

3. Local Development

# Copy environment template
cp .env.example .env

# Edit .env with your actual credentials
# Then start development server
npm run dev

Configuration

Environment Variables

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)

Setting Secrets in Cloudflare

# Set your API credentials as secrets
wrangler secret put CMP_APP_KEY
wrangler secret put CMP_APP_SECRET

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 name
  • expirationTimeStart (optional): Start expiration date (yyyy-MM-dd)
  • expirationTimeEnd (optional): End expiration date (yyyy-MM-dd)
  • iccidStart (optional): ICCID start range
  • iccidEnd (optional): ICCID end range
  • label (optional): SIM card label
  • simState (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:

{
  "mcpServers": {
    "cmp-server": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://your-cmp-server.workers.dev/sse"
      ]
    }
  }
}

Connect to Cloudflare AI Playground

  1. Go to https://playground.ai.cloudflare.com/
  2. Enter your deployed MCP server URL (your-cmp-server.workers.dev/sse)
  3. Start using your CMP tools directly!

Development

Project Structure

src/
ā”œā”€ā”€ index.ts        # Main MCP server implementation
ā”œā”€ā”€ cmp_client.ts   # CMP API client with authentication
└── ...

Scripts

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

Security

  • āœ… API credentials stored as Cloudflare Workers secrets
  • āœ… HMAC-SHA256 signature authentication
  • āœ… Environment variables validation
  • āœ… No sensitive data in source code
  • āœ… .gitignore configured for security

License

MIT License - see LICENSE file for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured