Connecting MCP
Claude Code and Cursor read JSON configuration:
{
"mcpServers": {
"rami": { "type": "http", "url": "https://rami.reviews/mcp" }
}
}
Codex uses TOML at ~/.codex/config.toml. Adding the server from the CLI
also completes the OAuth login:
codex mcp add rami --url https://rami.reviews/mcp
Codex asks for approval on every Rami tool call because the calls reach an external
service. The client sends only the PR URL — Rami reads the pull request through its
GitHub App installation — so the read-only tools are safe to pre-approve. Note that
get_review_results starts a review when none exists yet; that is the
loop working as intended, and re-reviewing the same pull request does not consume
additional quota. To stop
the per-call prompts, add these entries to ~/.codex/config.toml (this
must be user-level config; Codex ignores approval settings shipped inside a
plugin). The mutating tools (rebut, defer,
dismiss) are deliberately absent so Codex still asks before each of
those:
[mcp_servers.rami.tools.get_review_results]
approval_mode = "approve"
[mcp_servers.rami.tools.get_review_status]
approval_mode = "approve"
[mcp_servers.rami.tools.get_fix_prompt]
approval_mode = "approve"
[mcp_servers.rami.tools.get_current_branch_pr]
approval_mode = "approve"
[mcp_servers.rami.tools.get_usage]
approval_mode = "approve"
Available tools
| Tool | What it does | Codex approval |
|---|---|---|
get_current_branch_pr |
Finds the pull request for the current branch. | Can be pre-approved |
get_review_results |
Waits for the review and returns it, starting one if none exists. | Can be pre-approved |
get_review_status |
Checks an existing review without starting one. | Can be pre-approved |
get_fix_prompt |
Returns the full detail and fix prompt for one finding. | Can be pre-approved |
get_usage |
Shows remaining reviews and credit balance. | Can be pre-approved |
rebut |
Challenges a finding with evidence. | Asks every time |
defer |
Defers a finding to a later pull request. | Asks every time |
dismiss |
Dismisses a finding without evaluation. | Asks every time |