Skip to content

feat: print MCP client config#122

Merged
haasonsaas merged 1 commit intomainfrom
codex/agentd-mcp-config-20260508
May 8, 2026
Merged

feat: print MCP client config#122
haasonsaas merged 1 commit intomainfrom
codex/agentd-mcp-config-20260508

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

  • add agentd mcp config to emit a Claude/Codex-style MCP client config snippet
  • support explicit command paths and server names for installed app wiring
  • document the setup helper and cover parser/config encoding in tests

Verification

  • swift test
  • swift build -Xswiftc -warnings-as-errors
  • xcrun swift-format lint --strict --recursive Sources Tests Package.swift
  • git diff --check
  • .build/debug/agentd mcp config --command /usr/local/bin/agentd

@cursor
Copy link
Copy Markdown

cursor Bot commented May 8, 2026

PR Summary

Low Risk
Low risk: adds a new diagnostic subcommand that only prints JSON to stdout and does not change capture, auth, or network behavior.

Overview
Adds agentd mcp config to print a Claude/Codex-style MCP client configuration JSON for wiring the local agentd stdio MCP server.

The new subcommand supports --command (explicit agentd executable path) and --server-name, defaults the command to the current executable path, and updates help/docs plus unit tests to cover parsing and JSON encoding.

Reviewed by Cursor Bugbot for commit 8426188. Bugbot is set up for automated code reviews on this repo. Configure here.

@haasonsaas haasonsaas merged commit ce1bec9 into main May 8, 2026
4 checks passed
@haasonsaas haasonsaas deleted the codex/agentd-mcp-config-20260508 branch May 8, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant