Skip to content

Add codex and move copilot mcp.json to a new loc#713

Merged
rusq merged 3 commits into
masterfrom
i706
Jul 15, 2026
Merged

Add codex and move copilot mcp.json to a new loc#713
rusq merged 3 commits into
masterfrom
i706

Conversation

@rusq

@rusq rusq commented Jul 13, 2026

Copy link
Copy Markdown
Owner
  • update copilot mcp file loc
  • add codex and fix copilot mcp.json location

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates Slackdump’s MCP project scaffolding to support a new Codex layout and changes the Copilot scaffold to place the MCP config at the project root (.mcp.json) instead of under .vscode/, aligning documentation and tests with the new layout outputs.

Changes:

  • Add a new codex MCP project layout that generates .codex/config.toml and installs skills under .agents/skills/.
  • Move the Copilot MCP config output to root .mcp.json and update the JSON schema key to mcpServers.
  • Update documentation, agent guide, tests, and .gitignore exceptions to keep new embedded layout assets tracked.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Documents the new codex scaffold option alongside existing MCP layouts.
cmd/slackdump/internal/mcp/mcp.go Adds codex to the supported layout list used by -new.
cmd/slackdump/internal/mcp/mcp_test.go Consolidates layout scaffolding tests and adds coverage for the new codex outputs.
cmd/slackdump/internal/mcp/assets/mcp.md Updates MCP help docs for the Copilot .mcp.json location/schema and documents the new codex layout.
cmd/slackdump/internal/mcp/assets/layouts/copilot/layout.json Switches Copilot scaffold to copy root .mcp.json instead of .vscode/mcp.json.
cmd/slackdump/internal/mcp/assets/layouts/copilot/.mcp.json Updates Copilot template config to mcpServers and root-file format.
cmd/slackdump/internal/mcp/assets/layouts/codex/layout.json Introduces the new Codex layout manifest (files + installed skills).
cmd/slackdump/internal/mcp/assets/layouts/codex/.codex/config.toml Adds the Codex MCP server configuration template.
AGENTS.md Updates the repository agent guide to include codex as a supported MCP scaffold layout.
.gitignore Ensures embedded layout .json / .toml assets under cmd/.../layouts/ are not ignored.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Fixes the Windows CI failure in Test_runMCPNewProject/codex: autocrlf
converted assets/layouts/codex/.codex/config.toml to CRLF at checkout,
which go:embed then baked into the binary.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@rusq
rusq merged commit cf8ccea into master Jul 15, 2026
4 checks passed
@rusq
rusq deleted the i706 branch July 15, 2026 11:08
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.

2 participants