Skip to content

Expand contributing guide#103

Merged
uchebnick merged 2 commits into
mainfrom
docs/codex-mcp-security
Apr 26, 2026
Merged

Expand contributing guide#103
uchebnick merged 2 commits into
mainfrom
docs/codex-mcp-security

Conversation

@uchebnick
Copy link
Copy Markdown
Owner

Summary

  • replace the short contributing note with a project map and module overview
  • document core flows for CLI, indexing, search, embeddings, MCP/Codex, and remote indexing
  • add contributor guidance for common change points and test commands

Tests

  • git diff --check

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Expands the contributor documentation for unch by adding a codebase/project map, describing core flows (CLI, indexing, search, embeddings, MCP/Codex, remote indexing), and providing practical guidance on common change points and local test commands. It also updates public-facing docs to reflect the preferred Codex MCP setup via the npm wrapper and refreshes the security support window.

Changes:

  • Replace the minimal CONTRIBUTING note with a full project map, core flow explanations, and contributor checklists/test commands.
  • Update README + Mintlify + npm wrapper docs to document MCP usage primarily through Codex (unch codex install).
  • Update SECURITY.md supported stable line from v0.3.x to v0.4.x.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
CONTRIBUTING.md Major expansion: project map, core flows, common change points, local setup + checks.
README.md Updates MCP section to “MCP for Codex” with npm/Codex install flow and tool descriptions.
mintlify/commands/mcp.mdx Reframes MCP docs around Codex setup/usage and describes what Codex runs.
mintlify/commands.mdx Updates the “Typical MCP flow” section to Codex-focused install instructions.
npm/unch/README.md Updates MCP documentation to emphasize unch codex install and unch-mcp launcher behavior.
SECURITY.md Updates supported stable release line to v0.4.x and trims trailing whitespace.

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

Comment thread mintlify/commands.mdx
Comment thread README.md
- `search_code` to search indexed code symbols before opening many files
- `index_repository` to build or refresh the index when needed

Codex starts the stdio server for you with `unch start mcp`; you normally do not need to run that command by hand.
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

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

This sentence implies Codex starts the MCP server by running unch start mcp, but the Codex registration uses the unch-mcp launcher command (which then runs unch start mcp). Consider rewording to mention unch-mcp explicitly so users can find the right command when troubleshooting.

Suggested change
Codex starts the stdio server for you with `unch start mcp`; you normally do not need to run that command by hand.
Codex starts the stdio server for you via the registered `unch-mcp` launcher, which runs `unch start mcp` under the hood; you normally do not need to run either command by hand.

Copilot uses AI. Check for mistakes.
Comment thread mintlify/commands/mcp.mdx
Comment on lines +24 to 29
## How to use it

The server uses:
After restarting Codex, work in a repository and ask codebase questions normally. The installed skill tells Codex to call unch before broad file reads when semantic code search can help.

- root: current working directory
- state dir: `<root>/.semsearch`
- provider/model: the same defaults as the CLI
Codex starts the stdio MCP server for you. You normally do not need to run `unch start mcp` by hand.

Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

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

This page used to document unch start mcp [flags] usage and the available flags, but that content was removed while the CLI still supports start mcp flags (e.g. --root, --state-dir, --provider, --model, etc.). Consider adding back at least a short “Run directly / non-Codex clients” section that points readers to unch start mcp --help (or documents the key flags), so Mintlify remains a complete command reference like the index/search pages.

Copilot uses AI. Check for mistakes.
@uchebnick
Copy link
Copy Markdown
Owner Author

@copilot apply changes based on the comments in this thread

@uchebnick uchebnick merged commit 5e62268 into main Apr 26, 2026
44 of 45 checks passed
Copilot stopped work on behalf of uchebnick due to an error April 26, 2026 09:57
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