Agent skill

Edt MCP New Tool

by DitriXNew in DitriXNew/EDT-MCP

Canonical, battle-tested checklist for adding a new MCP tool to the EDT-MCP plugin the right way — the IMcpTool surface, shared resolvers, schema, registration, MANIFEST, the two MANDATORY test…

AGPL-3.0Auto-check passedAgent Workflows

Install Edt MCP New Tool

skills CLI
$ npx skills add DitriXNew/EDT-MCP --skill edt-mcp-new-tool -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DitriXNew/EDT-MCP edt-mcp-new-tool --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DitriXNew/EDT-MCP.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/edt-mcp-new-tool .claude/skills/edt-mcp-new-tool && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
edt-mcp-new-tool
GitHub stars
296
Token cost
~2.1k tokens
SKILL.md length
914 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Canonical, battle-tested checklist for adding a new MCP tool to the EDT-MCP plugin the right way — the IMcpTool surface, shared resolvers, schema, registration, MANIFEST, the two MANDATORY test…

  • Works in 10 steps: Class in tools/impl/XxxTool.java:… → IMcpTool surface → execute / executeOnUiThread → …
  • Asked to add / create / scaffold a new MCP tool / EDT tool
  • SKILL.md covers Steps, Gotchas and Readiness checklist
  • Calls python, git and bash

What it does

Edt MCP New Tool is an agent skill from DitriXNew/EDT-MCP. Canonical, battle-tested checklist for adding a new MCP tool to the EDT-MCP plugin the right way — the IMcpTool surface, shared resolvers, schema, registration, MANIFEST, the two MANDATORY test ratchets (unit + e2e), the golden snapshot, README, and the full compile→review→redeploy→live contour. Use when asked to add / create / scaffold a new MCP tool / EDT tool.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering MCP servers, End-to-end testing and GraphQL. It works with Model Context Protocol. The licence is AGPL-3.0.

When your agent uses it

  • Asked to add / create / scaffold a new MCP tool / EDT tool
  • Tasks that involve MCP servers
  • Tasks that involve End-to-end testing

Example prompts

  • “/edt-mcp-new-tool”

Requirements

  • Python 3

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Class in tools/impl/XxxTool.java: implements IMcpTool (read/action) or extends AbstractMetadataWriteTool for a tool that MUTATES the model…
  2. IMcpTool surface
  3. execute / executeOnUiThread
  4. Registration — in tools/BuiltInToolRegistrar: import …impl.XxxTool; + registry.register(new XxxTool()); (next to siblings).
  5. MANIFEST.MF Import-Package — add each NEW imported com._1c.g5.* package (e.g. com._1c.g5.v8.dt.md.extension.adopt). A miss is a runtime…
  6. Unit test — MANDATORY (mcp/tests/.../tools/impl/XxxToolTest.java). BuiltInToolTestCoverageTest fails the build if a registered tool has no…
  7. e2e test — MANDATORY (tests/e2e/tools/test_.py). The e2e coverage ratchet fails if a tool in tools/list has none. Read…
  8. Golden — a new tool changes tools/list; regenerate and commit: EDT_MCP_UPDATE_GOLDEN=1 python tests/e2e/run_all.py --project…
  9. README — bump the tool COUNT (two places), add the tool to its group table, to the flat tool table, and to the detailed section…
  10. Full contour (don't say "done" without it): bash source/compile.sh (compile + unit tests + every ratchet) → adversarial Opus review →…

What it can do on your machine

Read from SKILL.md and the folder at commit 6d18531. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • git
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Edt MCP New Tool loads about 2.1k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 914 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DitriXNew/EDT-MCP at commit 6d18531, republished under its AGPL-3.0 licence (© DitriXNew). 914 words, ~2,146 tokens.

Download SKILL.mdSave it as .claude/skills/edt-mcp-new-tool/SKILL.md (or your agent's skills folder).
name
edt-mcp-new-tool
description
Canonical, battle-tested checklist for adding a new MCP tool to the EDT-MCP plugin the right way — the IMcpTool surface, shared resolvers, schema, registration, MANIFEST, the two MANDATORY test ratchets (unit + e2e), the golden snapshot, README, and the full compile→review→redeploy→live contour. Use when asked to add / create / scaffold a new MCP tool / EDT tool.

EDT-MCP — adding a new MCP tool (canonical)

The procedure that actually compiles, passes every ratchet, and validates live. It tracks the real current API — verify each class/method before use (grep/Read, don't invent). Companion skills: edt-mcp-architecture (where things live), edt-mcp-tool-conventions (naming/errors/output), edt-mcp-bilingual (ru/en), edt-mcp-e2e-testing (e2e suite), edt-mcp-build-test (build).

A new tool touches MANY places. Miss one and either a ratchet goes red (unit-coverage, e2e-coverage, tool-contract, golden) or the live tools/list drifts. Walk the whole list.

Steps

  1. Class in tools/impl/XxxTool.java: implements IMcpTool (read/action) or extends AbstractMetadataWriteTool for a tool that MUTATES the model — the base runs executeOnUiThread(params) on the UI thread (model mutation is safe only there), gives resolveProjectAndConfig(projectName) + unwrapCauseMessage(e) + default getResponseType()=JSON. tools/impl/ holds the tool only (utilities/bases → utils/, tools/base/). Declare public static final String NAME = "xxx"; (snake_case: get_/list_/create_/adopt_…).

  2. IMcpTool surface:

    • getName() → NAME.
    • getDescription() — short, for the AI client (what it does + when). End with "… Full parameters and examples: call get_tool_guide('<name>')." (a unit test checks this; keep the description compact — the tools/list budget is shared).
    • getInputSchema() via JsonSchemaBuilder.object().stringProperty(name, desc[, required]).integerProperty(...).enumProperty(name, desc, "a","b").objectArrayProperty(...).build(). Required is the boolean 3rd argument of a property; there is NO .required(...) method. Parameter names are lowerCamelCase (ToolContractConsistencyTest fails snake_case). Canonical: projectName, fqn, modulePath, limit/offset (see edt-mcp-tool-conventions).
    • getOutputSchema() — declare the JSON result keys (for JSON tools).
    • Guide — full how-to (parameters, examples, gotchas, how to revert), served on-demand through the guide-resource channel. Do NOT override getGuide(): the default loads the bundled Markdown guides/<name>.md via GuideLoader. Author the guide as that file (one per tool); the body is the ## Guide section (the renderer adds the # <name> H1, description and the ## Parameters table itself, so use ## Parameter details for param prose). GuideCoverageTest fails the build if a registered tool has no guide. Override getGuide() only for a guide that must be computed at runtime.
    • getResponseType() — TEXT/JSON/MARKDOWN/YAML/IMAGE (may be omitted when extending AbstractMetadataWriteTool → JSON).
    • Every parameter read in execute() must be in the schema, and vice versa.
  3. execute / executeOnUiThread:

    • Arguments — JsonUtils.extractStringArgument/extractIntArgument/extractBooleanArgument/extractObjectArray; required ones — JsonUtils.requireArguments(params, "projectName", "fqn") (returns a ready error-JSON or null).
    • Project/configuration — ProjectContext.of(name) (utils) or resolveProjectAndConfig(name) (write base). NOT ResourcesPlugin.getWorkspace()… by hand.
    • Model only inside a transaction boundary (hard rule, CLAUDE.md): reads in a read boundary, writes via BmTransactions.write(...). A bare write only enqueues the async .mdo export — persist via BmTransactions.forceExportToDisk(project, [topObjectFqn, configurationFqn]) (pass the TOP FQN; for a member, its parent top; add the Configuration FQN = ((IBmObject)config).bmGetFqn() because its collection changed).
    • Metadata resolution by FQN — use the SHARED resolvers (don't write the 47th copy): MetadataTypeUtils.normalizeFqn/findObject (bilingual), MetadataNodeResolver.resolveExisting (existing) / resolveForCreate (new), FormStructureReader.resolveMdForm (forms — expects Type.Name.Forms.FormName or CommonForm.Name). Synonym is keyed by the language CODE (see edt-mcp-bilingual).
    • EDT services: typed via Activator.getDefault().getXxx() (getConfigurationProvider, getV8ProjectManager, getDtProjectManager, getBmModelManager, getMdRefactoringService) or ServiceAccess.get(IFoo.class) for a wired service (binding .toService()) — and add the package to MANIFEST Import-Package (step 5).
    • Errors ONLY via ToolResult.error(msg).toJson() (no exceptions escaping the tool, no bare "Error: …"). Success — ToolResult.success().put(k, v)….toJson(). An error must be actionable (name the bad value + how to fix / sibling tool).
  4. Registration — in tools/BuiltInToolRegistrar: import …impl.XxxTool; + registry.register(new XxxTool()); (next to siblings).

  5. MANIFEST.MF Import-Package — add each NEW imported com._1c.g5.* package (e.g. com._1c.g5.v8.dt.md.extension.adopt). A miss is a runtime ClassNotFound, not a compile error.

  6. Unit test — MANDATORY (mcp/tests/.../tools/impl/XxxToolTest.java). BuiltInToolTestCoverageTest fails the build if a registered tool has no XxxToolTest. Contract (no live runtime): NAME, getResponseType(), description contains get_tool_guide('<name>'), schema contains every parameter, the required array is correct (and excludes optional ones), output-schema keys. Deeper behaviour is e2e.

  7. e2e test — MANDATORY (tests/e2e/tools/test_<tool>.py). The e2e coverage ratchet fails if a tool in tools/list has none. Read edt-mcp-e2e-testing. happy + negative + error-quality; anti-cheat ("would the test fail if the tool were broken?"). A mutating tool: prefer non-mutating cases headless (the harness resets only the BASE fixture per-test, not the extension) + validate the mutating happy path LIVE; for a write-metadata tool that runs headless, check both the model read-back AND the on-disk structure (poll_diff_contains).

  8. Golden — a new tool changes tools/list; regenerate and commit: EDT_MCP_UPDATE_GOLDEN=1 python tests/e2e/run_all.py --project TestConfiguration --filter test_tools_list_matches_committed_golden_snapshot, then git add tests/e2e/tools_list.golden.json.

  9. README — bump the tool COUNT (two places), add the tool to its group table, to the flat tool table, and to the detailed section (parameters must match the schema).

  10. Full contour (don't say "done" without it): bash source/compile.sh (compile + unit tests + every ratchet) → adversarial Opus review → redeploy to the dev EDT copy (edt-redeploy.ps1; the signal is the log line MCP server UP on 8765) → live validation against :8765 → commit. A freshly deployed tool is NOT in this session's MCP deferred list — to check it live, call it through the e2e harness client (python → harness.initialize(); harness.call("<name>", {...})) or Invoke-RestMethod, not the tool's MCP wrapper. See edt-mcp-build-test and the dev-loop memory.

Show full SKILL.md (151 more words)Show less

Gotchas

  • ((IBmObject)x).bmGetFqn() is valid ONLY on a TOP object — on a member (attribute/form/…) it throws "may be called on top objects only". For a top, use bmGetTopObject().bmGetFqn(); for a member, report the input FQN.
  • Model writes happen on the UI thread (the write base does this; a bare IMcpTool must wrap in Display.syncExec itself).
  • forceExportToDisk wants the TOP FQN; a member change exports the parent top + (for a new top) the Configuration FQN.
  • Cyrillic in string literals/regexes goes through \uXXXX (Tycho non-UTF-8 safety); surface text is English only.

Readiness checklist

  • Class in tools/impl/, NAME snake_case, parameters lowerCamelCase, every parameter in the schema
  • description → get_tool_guide('<name>'); guides/<name>.md authored; getOutputSchema present
  • Shared resolvers + ToolResult.error; model only in a tx boundary; persist (forceExport) if a write
  • Registered in BuiltInToolRegistrar; new packages in MANIFEST Import-Package
  • XxxToolTest (unit ratchet) + test_<tool>.py (e2e ratchet)
  • Golden regenerated; README count + group + table + detail
  • compile.sh green → Opus review → redeploy → live validation → commit

© DitriXNew, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/edt-mcp-new-tool of DitriXNew/EDT-MCP.

Open the folder on GitHubat commit 6d18531

Compare with similar skills

Edt MCP New Tool next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Edt MCP New Tool compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Edt MCP New Tool this skillDitriXNew/EDT-MCP296—~2.1kAutomated safety check: PassAGPL-3.0
Qwen Code E2E TestingQwenLM/qwen-code28k—~2.1kAutomated safety check: PassApache-2.0
Build Error AdapterArcadeAI/arcade-mcp1k—~2kAutomated safety check: PassMIT
Exploring The WizardPostHog/wizard197—~2.2kAutomated safety check: PassMIT
Unraiddinglebear-ai/unraid135—~5.4kAutomated safety check: NotesMIT
Glance TestDebugBase/glance156—~827Automated safety check: PassMIT

Similar skills

  • Qwen Code E2E Testing

    QwenLM/qwen-code

    Guides end-to-end testing of the Qwen Code CLI in headless mode with real model calls, MCP test servers and inspection of raw API traffic.

    28k GitHub stars~2.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Build Error Adapter

    ArcadeAI/arcade-mcp

    Build new Arcade error adapters from scratch using public Arcade TDK patterns.

    1k GitHub stars~2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Exploring The Wizard

    PostHog/wizard

    Official

    Drive the PostHog wizard headlessly against a throwaway app through wizard-ci MCP tools, inspect decisions, and capture the real TUI.

    197 GitHub stars~2.2k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Unraid

    dinglebear-ai/unraid

    This skill should be used when the user mentions Unraid, asks to check server health, monitor array or disk status, list or restart Docker containers, start or stop VMs, read system logs, check…

    135 GitHub stars~5.4k tokensUpdated 6 days ago
    DevOps & CloudAuto-check: notes
  • Glance Test

    DebugBase/glance

    Run E2E browser tests on any web application using Glance MCP.

    156 GitHub stars~827 tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Tauri Dev MCP Bridge

    jerrywu001/cc-sessions-viewer

    Launches a Tauri app's dev build with the MCP bridge compiled in, so an agent can take screenshots, read the live DOM, click real buttons and call real backend commands.

    396 GitHub stars~1.4k tokensUpdated 3 days ago
    Testing & QAAuto-check: warnings

More from DitriXNew/EDT-MCP

All 24 skills in this repo
  • Edt MCP Autopilot

    DitriXNew/EDT-MCP

    Autonomous, spec-driven, multi-agent pipeline that takes an EDT-MCP task or issue end-to-end — research → critics → architect → parallel development → review loop → tests → live-stand check →…

    296 GitHub stars~2.5k tokensUpdated 3 days ago
    Auto-check passed
  • Edt MCP Build Test

    DitriXNew/EDT-MCP

    How to build the EDT-MCP Eclipse plugin (Tycho/Maven) and run its unit and e2e tests, plus the test conventions for this repo.

    296 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Edt MCP E2E Testing

    DitriXNew/EDT-MCP

    How to write/run the AUTOMATED black-box e2e suite (tests/e2e/) that covers every EDT-MCP tool (62 today) against a live server with git-fixture isolation, happy + negative + error-quality coverage…

    296 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Edt MCP Tool Descriptions

    DitriXNew/EDT-MCP

    How to size, write and A/B-test the text of a tool — its description and its inputSchema parameter prose — so that cutting it does not cost call quality, and so that a tool that IS getting called…

    296 GitHub stars~3k tokensUpdated 3 days ago
    Auto-check passed
  • Edt MCP Yaxunit

    DitriXNew/EDT-MCP

    How to write and run YAXUnit unit tests for a 1C configuration through 1C:EDT + the EDT-MCP runyaxunittests / debugyaxunittests tools.

    296 GitHub stars~2.5k tokensUpdated 3 days ago
    Auto-check passed
  • Edt MCP Testing

    DitriXNew/EDT-MCP

    How to manually e2e-test each EDT-MCP server tool against a live EDT workbench + TestConfiguration.

    296 GitHub stars~2.1k tokensUpdated 3 days ago
    Auto-check passed

Questions about Edt MCP New Tool

What does Edt MCP New Tool do?

Canonical, battle-tested checklist for adding a new MCP tool to the EDT-MCP plugin the right way — the IMcpTool surface, shared resolvers, schema, registration, MANIFEST, the two MANDATORY test…. Edt MCP New Tool is an agent skill from DitriXNew/EDT-MCP. Canonical, battle-tested checklist for adding a new MCP tool to the EDT-MCP plugin the right way — the IMcpTool surface, shared resolvers, schema, registration, MANIFEST, the two MANDATORY test ratchets (unit + e2e), the golden snapshot, README, and the full compile→review→redeploy→live contour.

When should I use Edt MCP New Tool?

Edt MCP New Tool fits situations like: asked to add / create / scaffold a new MCP tool / EDT tool; tasks that involve MCP servers; tasks that involve End-to-end testing.

How do I install Edt MCP New Tool in Claude Code?

Run `npx skills add DitriXNew/EDT-MCP --skill edt-mcp-new-tool -a claude-code`. Or copy the skill folder (.claude/skills/edt-mcp-new-tool in DitriXNew/EDT-MCP) into .claude/skills/edt-mcp-new-tool in your project. Claude Code loads it when a task matches its description.

How do I install Edt MCP New Tool in Codex?

Run `npx skills add DitriXNew/EDT-MCP --skill edt-mcp-new-tool -a codex`. Or copy the skill folder (.claude/skills/edt-mcp-new-tool in DitriXNew/EDT-MCP) into .agents/skills/edt-mcp-new-tool in your project. Codex loads it when a task matches its description.

Can I use Edt MCP New Tool in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DitriXNew/EDT-MCP --skill edt-mcp-new-tool -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/edt-mcp-new-tool, .gemini/skills/edt-mcp-new-tool, .github/skills/edt-mcp-new-tool and .opencode/skills/edt-mcp-new-tool in your project.

What does Edt MCP New Tool need to run?

Going by SKILL.md and its folder, Edt MCP New Tool needs the command-line tools its instructions call (python, git and bash). Our summary lists: Python 3.

Does Edt MCP New Tool access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Edt MCP New Tool safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Edt MCP New Tool use?

Edt MCP New Tool is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Edt MCP New Tool use?

About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Edt MCP New Tool?

Skills that share tags, products or a category with Edt MCP New Tool: Qwen Code E2E Testing (QwenLM/qwen-code, 28k stars), Build Error Adapter (ArcadeAI/arcade-mcp, 1k stars), Exploring The Wizard (PostHog/wizard, 197 stars) and Unraid (dinglebear-ai/unraid, 135 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Edt MCP New Tool?

DitriXNew (a GitHub user) maintains it in DitriXNew/EDT-MCP, which has 296 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 7, 2026.

Source: DitriXNew/EDT-MCP on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.