Skip to content

refactor(dirctl): remove mcp server and fix import - #2297

Merged
arpad-csepi merged 3 commits into
mainfrom
refactor/remove-dir-mcp
Oct 8, 2026
Merged

arpad-csepi merged 3 commits into
mainfrom
refactor/remove-dir-mcp

Conversation

@arpad-csepi

Copy link
Copy Markdown
Member

Remove dirctl mcp serve and the dir-mcp dependency

dirctl no longer embeds the MCP server. dir-mcp is handled as a standalone binary. The one place dirctl still depends on it, the LLM enricher in dirctl import, now launches the standalone binary.

Changes

  • Removed the mcp command group and the dir-mcp dependency (cli, tests, samples/ard-over-ads).
  • The built-in org.agntcy/directory record is skill-only, and dirctl init / install upgrade no longer install or configure an MCP entry.
  • Removed the naming compat shim (api/naming/v1, client/naming_compat*), which existed only for dir-mcp.
  • LLM enricher: dir-importer requires a stdio server under dir-mcp-server, so the default tool host now runs dir-mcp. dirctl import checks that it's on PATH and otherwise stops with install instructions.
  • CI: new setup-dir-mcp action downloads the pinned dir-mcp release (v1.3.8) binary, and import-records.yaml uses it instead of dirctl mcp serve.
  • Docs, .skill/SKILL.md, RELEASE.md, renovate.json and .gitignore updated.

Breaking

  • dirctl mcp serve is gone. LLM enrichment now needs dir-mcp installed separately.
  • Client.GetVerificationInfo and GetVerificationInfoByName are removed from the public client. Use GetIdentityStatus.
  • MCP entries written by earlier dirctl init runs still point at dirctl mcp serve. dirctl uninstall still removes them.

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedOct 8, 2026, 10:31 AM

@github-actions github-actions Bot added the size/L Denotes a PR that changes 1000-1999 lines label Oct 6, 2026
@arpad-csepi arpad-csepi self-assigned this Oct 6, 2026
@arpad-csepi
arpad-csepi force-pushed the refactor/remove-dir-mcp branch from 791aecd to 16de948 Compare October 6, 2026 13:29
@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.87879% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/cmd/import/import.go 50.0% 1 Missing ⚠️
cli/cmd/import/mcpserver.go 95.2% 1 Missing ⚠️
cli/cmd/init/agents.go 80.0% 1 Missing ⚠️
cli/cmd/install/upgrade.go 0.0% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@arpad-csepi
arpad-csepi marked this pull request as ready for review October 6, 2026 14:22
@arpad-csepi
arpad-csepi requested a review from a team as a code owner October 6, 2026 14:22
@arpad-csepi
arpad-csepi force-pushed the refactor/remove-dir-mcp branch 2 times, most recently from 784fc5e to a502edb Compare October 8, 2026 07:49

@ramizpolic ramizpolic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arpad-csepi
arpad-csepi added this pull request to the merge queue Oct 8, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 8, 2026
@arpad-csepi
arpad-csepi force-pushed the refactor/remove-dir-mcp branch from a502edb to 2695efa Compare October 8, 2026 10:31
@arpad-csepi
arpad-csepi added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit b8e3823 Oct 8, 2026
38 checks passed
@arpad-csepi
arpad-csepi deleted the refactor/remove-dir-mcp branch October 8, 2026 11:18
@arpad-csepi arpad-csepi linked an issue Oct 9, 2026 that may be closed by this pull request
muscariello added a commit to sarankumar1325/dir that referenced this pull request Nov 19, 2026
…ig step (agntcy#2520)

Signed-off-by: Luca Muscariello <[email protected]>

agntcy#2297 replaced DIRCTL_PATH with DIR_MCP_PATH in both import jobs, and in import-agent-skills it also dropped the step's 'env:' key. The step's variables then sat directly under '- name:', which is not valid YAML, so GitHub could not parse import-records.yaml at all. Since 2026-10-08 every push has recorded a failed run ('invalid workflow file'), and the weekly scheduled import has not run; the last successful one was on 2026-10-05.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 1000-1999 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decouple the MCP server from DIR

2 participants