1C: Platform Tools MCP
1C: Platform Tools MCP

MCPサーバーは、CursorまたはVS Codeのエージェントに拡張機能1C: Platform Toolsのコマンド(テスト、起動プロファイル、構成ビルド、データベース操作)へのアクセスを提供します。
インストール
1C: Platform Toolsをインストール:Marketplace、Open VSX
1C: Platform Tools MCPをインストール:Marketplace、Open VSX
1Cプロジェクト(
packagedefを含むフォルダ)を開きます。
Related MCP server: bas-mcp-server
接続
VS Codeはこれ以上の操作は不要です。拡張機能がMCPサーバーを自動的に登録します。
CursorはVS CodeのMCPサーバープロバイダーをサポートしていないため、サーバーはプロジェクトの.cursor/mcp.jsonを介して接続します。このファイルは拡張機能が作成・更新します:
コマンドパレット(F1)→
1C: Platform Tools MCP: Cursor用MCPを設定、またはツリー内の1Cツール → AIスキル → Cursor用MCPを設定。ウィンドウを再読み込みします。
MCP設定でサーバー
mcp-1c-platform-toolsを有効にします。Cursorは新しいサーバーを無効状態で追加します。
このコマンドはサーバーへのパスとIPCパラメータを書き込みます。ファイル内の他のサーバーは保持されます。パスには拡張機能のバージョンが含まれているため、更新後はエントリが古くなり、サーバーはMODULE_NOT_FOUNDでクラッシュします。拡張機能は起動時にこれを修正します。同じ拡張機能の別のインストール先を指している場合、パスを更新します。手動で設定されたパス(例:ソースからのビルド)はそのまま残ります。
確認
エージェントに「1C環境の状態を表示」と依頼してください。応答にはアクティブな起動プロファイル、プラットフォームバージョン、データベースパスが含まれます。その後、テスト実行、プロファイル切り替え、構成ビルドなどを依頼できます。
ドキュメント
手動設定
拡張機能なしで設定ファイルを作成する場合にのみ必要です。設定1c-platform-tools.ipc.enabledが有効である必要があり、ONEC_IPC_*の値は1c-platform-tools.ipc.*から取得されます:
{
"mcpServers": {
"mcp-1c-platform-tools": {
"command": "node",
"args": ["<путь к каталогу расширения>/out/src/index.js"],
"env": {
"ONEC_IPC_HOST": "127.0.0.1",
"ONEC_IPC_PORT": "40241",
"ONEC_IPC_TOKEN": ""
}
}
}
}拡張機能ディレクトリ:%USERPROFILE%\.cursor\extensions\yellow-hammer.mcp-1c-platform-tools-<バージョン>-universal(Windows)または~/.cursor/extensions/...(macOS、Linux)。拡張機能を更新するたびに、このパスを手動で修正する必要があります。
グローバル設定(%USERPROFILE%\.cursor\mcp.json)も同様に機能しますが、拡張機能はこれを更新しません。複数のプロジェクトがある場合は、プロジェクトファイルの方が信頼性が高くなります。
This server cannot be deployed
Maintenance
Related MCP Connectors
Run, debug and inspect Playwright E2E tests from any AI agent: diagnostics, live DOM, selectors.
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Build, deploy, and sell AI agents for local-service businesses - from your IDE.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with 1C:Enterprise databases through natural language, providing metadata retrieval, configuration analysis, and code generation.9-
- FlicenseAqualityDmaintenanceEnables AI agents to interact with 1С:Enterprise and BAS ERP systems through REST and HTTP services, providing tools for searching catalogs, creating documents, and querying stock balances.6-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to lint, search documentation, and perform metadata scaffolding for 1C:Element projects.11,356 PyPI3MIT
- AlicenseNot gradedqualityBmaintenanceEnables LLM agents to explore and search a 1C:Enterprise configuration codebase, including metadata objects, module procedures, call graphs, and semantic similarity search.3MIT