Before you start
No repositories yet? Add them from the chat: ask “Connect my-org/my-repo to AfterMerge” and it indexes them for you.
Connect your app
- 1
Turn on Developer mode
In ChatGPT, open Settings → Security and login and switch on Developer mode.
- 2
Add AfterMerge
Open Plugins, click +, and paste this URL:
https://www.aftermerge.dev/mcp - 3
Sign in and allow
An AfterMerge window opens. Sign in, choose the organization ChatGPT may use, and click Allow.
- 4
Ask your first question
Start a new chat and ask about one of your pull requests:
What could PR #123 in my-org/my-repo break?
You're connected when the reply shows an AfterMerge tool, like analyze_pr.
Stuck?
ChatGPT and Claude connect from OpenAI's and Anthropic's servers, so the URL must be public HTTPS, exactly as shown above. A localhost URL only works for apps on your own machine, like Codex and Claude Code.
It's under Settings → Security and login. If it isn't there, your ChatGPT plan or workspace may not offer it yet.
Connect it in AfterMerge → Repositories and wait for indexing to finish. Also check you chose the right organization when you signed in.
That pull request hasn't been analyzed yet. Say yes when ChatGPT offers to start one: it uses one analysis from your plan and takes a few minutes.
Revoke it in Settings → Security → Connected apps, then connect again and choose the organization you want.
What it can do
Tools your assistant gets
- analyze_pr
- What this PR breaks
- on request
- analyze_impact
- Blast radius
- on request
- generate_test_scenarios
- What to test
- on request
- analyze_security
- Security results
- on request
- ask_aftermerge
- How it connects
- 1 message
- add_repository
- Connect a repo
- 1 repo slot
“On request” is free to read. It uses your plan only if you agree to start an analysis or scan.
Stay in control
An assistant uses your AfterMerge plan and sees only the organization you chose when you allowed it. Revoke it at any time in Settings → Security → Connected apps.