MOCO MCP Server
手動でエンドポイントを定義する代わりに、このサーバーは公式のMOCO OpenAPI仕様(openapi/ディレクトリに同梱)と完全なスキーマ参照パーサーを使用して、利用可能なすべてのMCPツールを自動生成します。これにより、MCP互換のLLM(Claudeなど)は、正確なツール説明とパラメータスキーマを備えたMOCO API v1のすべての読み取り・書き込み操作(GET、POST、PUT、DELETE)に即座にアクセスできます。
Levisteria GbR(Eddy Lackmann)によって開発・保守されています。
機能
完全なAPIカバレッジ: タイムトラッキング、プロジェクト、請求書、連絡先、その他すべてのMOCOエンドポイント向けのツールを自動生成します。
セーフティモード: 環境変数を使用して
READ_ONLYに制限し、LLMによる誤ったデータ変更を防ぐことができます。常に最新: サーバー起動のたびにMOCOから最新のAPI仕様を取得します。
簡単な実行:
npxで直接実行できます。
Related MCP server: Odoo MCP Server
前提条件
Node.js (v24以上)
MOCOアカウント (
<your-account>.mocoapp.com)MOCO APIキー (MOCOの「プロフィール > 統合」で確認できます)
クイックスタート (npx)
グローバルにインストールせずにサーバーを直接実行できます:
export MOCO_DOMAIN="your-account-name"
export MOCO_API_KEY="your-api-key"
npx -y @levisteria-solutions/moco-mcp-serverClaude Desktop / Cursorでの設定
MCP設定にサーバーを追加します(例: Claude DesktopまたはCursor)。
npxを使用する場合(ローカル利用におすすめ)
{
"mcpServers": {
"moco": {
"command": "npx",
"args": ["-y", "@levisteria-solutions/moco-mcp-server"],
"env": {
"MOCO_DOMAIN": "your-account-name",
"MOCO_API_KEY": "your-api-key",
"MOCO_READ_ONLY": "false"
}
}
}
}
## Environment Variables
| Variable | Description | Example |
|----------|-------------|---------|
| `MOCO_DOMAIN` | Your MOCO subdomain (without `.mocoapp.com`) | `mycompany` |
| `MOCO_API_KEY` | Your personal or account API Key | `12345abcdef...` |
| `MOCO_READ_ONLY` | If `true`, only GET requests (reading) are allowed. POST/PUT/DELETE are blocked. | `true` or `false` |
## Development
1. Clone the repository:
```bash
git clone https://github.com/levisteria/moco-mcp-server.git
cd moco-mcp-server依存関係をインストール:
npm installプロジェクトをビルド:
npm run buildローカルで実行:
npm start仕組み
サーバーは
openapi/ディレクトリから同梱のMOCO OpenAPI仕様を読み込みます。@apidevtools/swagger-parserを使用してすべての$refリンクを解決し、完全かつ正確なJSONスキーマを保証します。すべてのパス(例:
/activities)とメソッド(例:GET、POST)を解析し、その要約と説明を抽出します。パラメータとリクエストボディをMCPが理解できるJSONスキーマに変換します。
生成されたツールは、例えば
get_activitiesやpost_activitiesのように命名されます。LLMがツールを呼び出すと、サーバーは認証済みリクエストをMOCOに転送し、JSON結果を返します。
ライセンス
MITライセンス
This server cannot be deployed
Maintenance
Related MCP Connectors
- MOCOOAuthcom.mocoapp.api
MCP server for MOCO business software: time tracking, projects, budgets, and invoicing via API
1 Any REST/SOAP/GraphQL/OData/SQL API as MCP tools for Claude & ChatGPT. 338 connectors: SAP, ERP.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides a Model Context Protocol interface to MoCo time tracking and project management systems, enabling AI assistants to retrieve work activities, projects, tasks, holidays, and presence data.719 npm6MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with Odoo ERP systems through MCP protocol. Supports multi-server architecture with secure authentication, allowing natural language access to Odoo data, resources, and business operations.-
- AlicenseNot gradedqualityCmaintenanceMCP server for the FreeAgent accounting API, enabling LLMs to securely access and manage accounting data including contacts, invoices, bills, bank transactions, and more.5 npm1MIT
- AlicenseBqualityCmaintenanceAn MCP server that enables LLMs to interact with Moxie CRM. Provides comprehensive tools for managing clients, contacts, projects, invoices, time tracking, and more.3012 npm3MIT