Skip to content

feat(factory): manage agent docs and add MCP setup runbook - #49

Open
ahjota wants to merge 1 commit into
mainfrom
aj/add-factory-gopls-mcp
Open

feat(factory): manage agent docs and add MCP setup runbook#49
ahjota wants to merge 1 commit into
mainfrom
aj/add-factory-gopls-mcp

Conversation

@ahjota

@ahjota ahjota commented Aug 5, 2026

Copy link
Copy Markdown
Owner

cm add ~/.factory/AGENTS.md
cm add ~/.factory/docs/gopls-mcp.md

add a new docs/mcp-setup.md runbook for configuring ~/.factory/mcp.json on a new machine.

I originally wanted chezmoi to manage mcp.json, but decided against it. Factory owns it as a read-write store (droid mcp add, /mcp toggles, persistent approvals, auto-reload), and approvals are per-machine anyway. The runbook uses paste-ready JSON snippets (templated with homeDir) rather than droid mcp add because connectTimeout is not settable via the CLI.

Bring ~/.factory/AGENTS.md and ~/.factory/docs/gopls-mcp.md under chezmoi
control (they were previously live-only files) and add a new
docs/mcp-setup.md runbook for configuring ~/.factory/mcp.json on a new
machine.

mcp.json itself is intentionally left unmanaged: Factory owns it as a
read-write store (droid mcp add, /mcp toggles, persistent approvals,
auto-reload), and approvals are per-machine anyway. The runbook uses
paste-ready JSON snippets (templated with homeDir) rather than
droid mcp add because connectTimeout is not settable via the CLI.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
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