SORACOM MCP Server
A Model Context Protocol (MCP) server for interacting with SORACOM APIs.
README
SORACOM MCP Server
⚠️ EARLY ACCESS: This is an early access project and is provided as-is. There is no guarantee of continued support or maintenance. Use at your own risk.
A Model Context Protocol (MCP) server for interacting with SORACOM APIs.
Quick Start
Prerequisites
- Node.js v22+ (ES modules support)
- SORACOM Auth Key (ID and Token)
Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Authentication Methods
There are two ways to authenticate with SORACOM:
- Direct environment variables - Set auth key ID and token directly
- SORACOM CLI profile - Use existing SORACOM CLI profile credentials
Method 1: Using Auth Key Environment Variables
{
"mcpServers": {
"soracom": {
"command": "npx",
"args": ["@soracom-labs/soracom-mcp-server"],
"env": {
"SORACOM_AUTH_KEY_ID": "your-key-id",
"SORACOM_AUTH_KEY": "your-token",
"SORACOM_COVERAGE_TYPE": "jp"
}
}
}
}
Required environment variables:
- SORACOM_AUTH_KEY_ID: Your SORACOM authentication key ID
- SORACOM_AUTH_KEY: Your SORACOM authentication key token
Get your authentication keys from:
- Manage Root User Credentials (Japanese)
- AuthKeys (English)
Method 2: Using SORACOM CLI Profile
If you have configured SORACOM CLI profiles, you can use them instead:
{
"mcpServers": {
"soracom": {
"command": "npx",
"args": ["@soracom-labs/soracom-mcp-server"],
"env": {
"SORACOM_PROFILE": "production"
}
}
}
}
Required environment variable:
- SORACOM_PROFILE: SORACOM CLI profile name
- Credentials are loaded from
~/.soracom/<profile>.json - Profile file should contain
authKeyIdandauthKeyfields - See SORACOM CLI Basic Usage for profile configuration details
- Credentials are loaded from
Common Environment Variable (Both Methods)
- SORACOM_COVERAGE_TYPE: API coverage region
"jp"for Japan coverage"g"for Global coverage- Priority: Environment variable > Profile
coverageType> Default"jp"
That's it! No installation needed - npx will download and run the server automatically.
Security Recommendation
For enhanced security, we recommend creating a SAM (SORACOM Access Management) user with permissions limited to only the necessary API operations, rather than using your root user credentials. Generate the AuthKey ID and Token from this SAM user for use with this MCP server.
Using with Docker
You can also run the MCP server using Docker. Build the image with the following command:
docker build -t soracom-mcp-server:latest .
Settings are like below:
{
"mcpServers": {
"soracom": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"SORACOM_AUTH_KEY_ID",
"-e",
"SORACOM_AUTH_KEY",
"soracom-mcp-server:latest"
],
"env": {
"SORACOM_AUTH_KEY_ID": "your-key-id",
"SORACOM_AUTH_KEY": "your-token",
"SORACOM_COVERAGE_TYPE": "jp"
}
}
}
}
Usage
Command Naming Convention
All commands follow the pattern Category_operationId where:
- Category is the API category (e.g.,
Sim,Billing,Stats) - operationId is the operation name from the SORACOM API
Examples:
Sim_getSim- Get SIM informationBilling_getLatestBilling- Get latest billing informationQuery_searchSims- Search for SIMs
Example Commands in Claude Desktop
Get information for SIM ID "8981100000000000000" using the Sim_getSim command
List all active SIMs with limit 10 using the Sim_listSims command
Show billing for current month using the Billing_getLatestBilling command
Find SIMs with name containing "production" using the Query_searchSims command
Coverage Selection
- Default: Set
SORACOM_COVERAGE_TYPEto"jp"or"g"in config - Per-command: Each command accepts optional
coverageparameter
Available Tools
See Available Tools Documentation for the complete list of supported commands.
Development
See development guides for setup and workflow:
- Local Development Guide - Setup and workflow
- Claude Desktop Development - Testing with Claude Desktop
- Architecture Documentation - Project structure and design
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。