跳到正文
FunCoding

EDT-MCP

MCP for 1C:EDT

Star
353
分类
其他
许可证
AGPL-3.0
最近提交
2026年12月1日

GitHub all releases

Build & Unit Tests Proxy Quality Gate Status Bugs Code Smells Coverage

E2E 2026.2

Conformance 2026.2

Please DO NOT submit PRs generated by GLM, DeepSeek, or similar models.

Use Claude (Opus + Fable), Codex (Sol + Astra), Gemini 4, or Grok instead.

If you can't use any of these models, please create an issue and let someone else handle it.

Otherwise, I end up spending more tokens reviewing and fixing the code than I would if I just did it myself.

The code quality from other models is often too low. Worse, instead of actually fixing issues, they sometimes try to hide or mask the underlying problems.

Thanks for understanding!

EDT MCP Server

MCP (Model Context Protocol) server plugin for 1C:EDT, enabling AI assistants (Claude, GitHub Copilot, Cursor, etc.) to interact with EDT workspace. It connects an assistant to the projects, diagnostics, code and metadata already available in your EDT workspace. Use it to inspect a configuration, make edits, validate changes and work with running applications through MCP tools. The plugin ships both local stdio and HTTP transports; choose the setup your client supports.

  • Browse projects, configuration properties, metadata and BSL modules.
  • Read diagnostics, validate queries and revalidate objects.
  • Search code, inspect types, follow references and call hierarchies.
  • Edit BSL, metadata, forms, text templates and XDTO packages.
  • Inspect form layouts and capture screenshots.
  • Launch clients normally, minimized, on another screen or isolated (Windows/Linux; hidden on macOS); update databases and manage infobase sessions.
  • Debug, profile and run YAXUnit tests.
  • Compare configurations against git revisions.
  • Organize the Navigator with metadata tags and groups.
  • Choose tool presets and reveal toolsets on demand.

Requirements

  • 1C:EDT 2026.2.2 (Ruby); compatibility with earlier versions is not guaranteed
  • Runs on the JRE bundled with EDT (the plugin runtime floor is Java 17); no separate Java installation is needed

See compatibility details and CI details for the supported platform and build baseline.

Installation

In EDT, choose Help → Install New Software..., add https://ditrixnew.github.io/EDT-MCP/, select EDT MCP Server Feature, and restart EDT.

For a one-shot Windows install, close EDT and run this with your actual executable path:

"<path-to-EDT>\1cedt.exe" -nosplash -application org.eclipse.equinox.p2.director -repository https://ditrixnew.github.io/EDT-MCP/ -installIU com.ditrix.edt.mcp.server.feature.feature.group -profileProperties org.eclipse.update.reconcile=true

Form screenshots: before enabling get_form_screenshot, read the JVM flag requirements and form-designer effects.

See installation and preferences for screenshots, updates and preferences, and status-bar controls.

Connecting a client

Use /mcp/plaintext on the same HTTP port for clients that need full results in content[0].text. For stdio, add "-resultMode", "plaintext" to the launcher arguments ("structured" gives JSON results a short text digest). Without an override, /mcp and stdio use EDT's Plain text mode preference. Clients can share one EDT with different modes.

For local stdio, use Window > Preferences > MCP Server > General: clear Enable MCP over HTTP, then click Copy stdio .mcp.json and merge the entry into your client's configuration. Apply to stop HTTP as well. The bundled bootstrap uses EDT's Java and explicit install/workspace paths. On Linux, stdio only attaches to an already running EDT; on Windows it starts EDT if needed.

For HTTP clients, click Start in the EDT status bar before connecting, or enable Auto-start in Window > Preferences > MCP Server > General (off by default); see HTTP startup.

For HTTP, the default endpoint is http://localhost:8765/mcp. The minimal configurations differ as follows:

ClientConfigurationSetup
stdio (including Claude Desktop)Paste the generated entry; no Node.js neededTransport and startup limits
VS Code / GitHub Copilot.vscode/mcp.json, top-level serversVS Code
Cursor.cursor/mcp.json, top-level mcpServers; use /mcp/plaintextCursor
Claude Code.claude.json, top-level mcpServers, type: "http"Claude Code
Claude Desktop over HTTPUse the mcp-remote stdio bridge (requires Node.js)Claude Desktop
ClineTop-level mcpServers, type: "streamableHttp"Cline
AntigravityTop-level mcpServers, serverUrl instead of urlAntigravity

VS Code / Copilot:

{"servers": {"EDT MCP Server": {"type": "sse", "url": "http://localhost:8765/mcp"}}}

Cursor:

{"mcpServers": {"EDT MCP Server": {"url": "http://localhost:8765/mcp"}}}

Claude Code:

{"mcpServers": {"EDT MCP Server": {"type": "http", "url": "http://localhost:8765/mcp"}}}

Cline:

{"mcpServers": {"EDTMCPServer": {"type": "streamableHttp", "url": "http://localhost:8765/mcp"}}}

Antigravity uses:

{"mcpServers": {"EDTMCPServer": {"serverUrl": "http://localhost:8765/mcp"}}}

The client setup guide includes full snippets, mcp-remote and the Multi-EDT proxy for routing between workspaces.

Tools

The generated full tool reference lists every tool, parameter and guide, grouped by toolset. For enablement, presets and progressive disclosure, see tool management. Toolsets control visibility; preferences control which tools are enabled.

Progressive disclosure (the checkbox on the Tools tab, off by default) lists only the core toolset until the client reveals more with list_toolsets and enable_toolset. Turn it on only for a client that re-reads tools/list on notifications/tools/list_changed and does not load tools on demand itself. Codex and Claude Code already load MCP tools on demand, so it saves them nothing.

ToolsetPurposeReference
coreProject/module navigation, source reads and tool discoveryCore
metadataDiscover, create, edit and refactor metadata and DCS. Check extension properties with get_metadata_details(controlledMismatches: true).Metadata
codeRead/write methods, navigate symbols and inspect callsCode
debugBreakpoints, stepping, variables and expressionsDebug
testingRun and debug YAXUnit testsTesting
profilingCapture, compare and exchange performance profiles; capture and analyze technological logsProfiling
formsInspect form layouts, screenshots and templatesForms
tagsRead and filter metadata tagsTags
translationGenerate and synchronize translation stringsTranslation
projectDiagnostics, applications, infobases, database updates and import of existing project foldersProject
comparisonThree-way configuration comparison and merge rulesComparison
gitGit commands and branch/infobase bindingsGit

Security in brief

HTTP binds to 127.0.0.1 unless remote access is configured; remote access requires an auth token. Treat connected clients as trusted: tools can edit files, update databases and execute debug expressions. Windowed EDT asks for human consent before gated destructive operations by default; the dialog waits 45 s, below common client timeouts (request timeouts). Explicit stdio -headless allows everything: per-tool disabling, read-only presets and the consent window do not apply. Preview/confirm steps and tool preconditions still apply. See the security and trust model.

Documentation

ArticleContents
FeaturesFull feature list, compatibility and business-project guidance
InstallationUpdate site, Windows command, JVM flag, HTTP startup and preferences
Status barServer status, execution controls and user signals
ClientsEvery client's full setup, HTTP bridge and Multi-EDT proxy
stdioBundled bootstrap, local transport, startup modes and limits
Tool managementPreference groups, presets, defaults and progressive disclosure
Tool referenceGenerated index linking to every per-tool page
Tool overviewsDetailed usage summaries grouped by toolset
Output formats and APIMarkdown/JSON policies, contracts and HTTP endpoints
SecurityTrust model, destructive consent, vendor support and infobase authentication
Infobase sessionsInspect and clear database-update blockers
Three-way comparisonCompare revisions, inspect nodes and author merge rules
Text templatesRead and safely update TextDocument template contents
XDTO packagesAuthor package members and inspect validation results
Metadata tagsAssign, display, filter and store tags
Metadata groupsOrganize Navigator collections into folders
Technological logCapture 1C technological logs and investigate them problems-first
Guided workflowsOptional MCP prompts, resources and argument completion
Workmate bridgeIntegrate with the Workmate assistant
E2E test casesManual and automated tool verification scenarios
BuildingMaven/Tycho prerequisites, scripts, options and examples
AutopilotWhole-task development skill, workflow and token costs

For business projects, start with the agent skills pack and rules pack. Contributors should read CLAUDE.md.

Building from source

See docs/building.md for prerequisites, script options and examples. Build from the repository root with bash source/compile.sh (JDK 25 and Maven 3.9+). The output is a p2 update-site archive for installation through EDT.

License

Copyright (C) 2026 DitriX

Licensed under GNU AGPL v3.0

同类 MCP Server

官方

Time

Current time lookup and conversion between IANA timezones

MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star

官方

Everything

Reference server that exercises every MCP feature: tools, resources, prompts, sampling and more

MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star

官方

Context7

Up-to-date docs for AI agents

UPupstash/context766k近 7 天新增 359 个 star

Reactive Resume

Free open-source resume builder with remote MCP tools for resumes and job applications.

REreactive-resume/reactive-resume46k近 7 天新增 219 个 star

mcp-server

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

HEHeyPuter/puter44k近 7 天新增 63 个 star