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: xbsl-mcp
接続
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)も同様に機能しますが、拡張機能はこれを更新しません。複数のプロジェクトがある場合は、プロジェクトファイルの方が信頼性が高くなります。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Build, run, debug, test and ship Chrome, Firefox, Edge and Safari extensions from your AI agent.
Backend platform for AI agents: one agentstack.execute tool runs batched steps over +700 actions (hosting, storage, auth, payments, CRM, app builder).
Build, validate, test-run and publish AIOS workflows from Claude Code, Codex, Cursor or VS Code.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
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-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to lint, search documentation, and perform metadata scaffolding for 1C:Element projects.5,798 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.4MIT
- AlicenseCqualityBmaintenanceEnables AI agents to interactively drive 1C:Enterprise UI through the testing client, including opening forms, clicking buttons, filling fields, and capturing evidence.1296MIT