Table of contents

Task cards in Trello hold more context than what developers copy into a Codex task description.
The card description might define acceptance criteria. The checklist might document the implementation steps the team agreed on. The comment thread might contain the edge cases a reviewer flagged, etc.
But Codex writes code against the task description, not the card. This means that when the card has context the developer didn't transcribe, it doesn't shape the output.
The generated fix misses the edge case from the comment thread. And the generated implementation doesn't follow the checklist order the team decided on.
To give Codex direct access to Trello as it works through your coding tasks, we'll show you how to connect Trello with Merge Agent Handler's Trello MCP server.
Merge Agent Handler connects Codex to the Trello API through the Merge CLI. You install the CLI, authenticate once, and run a single setup command from your project root.
That command writes a Merge CLI section to your project's AGENTS.md file, which tells Codex when to call merge search-tools and merge execute-tool to reach Trello.
Once connected, Merge handles Trello OAuth token storage and refresh on your behalf, so no API keys or credential state live in your repo.
Related: How to use the Trello MCP in Claude Code
Before getting started, you'll need the following:
pipx --version to confirm, or install via pip install pipx)If you want to connect Merge Agent Handler's Trello MCP with internal or customer-facing agentic products, you can follow the steps in our docs.
Install the Merge CLI with pipx: pipx install merge-api
Verify your installation: merge --version
Authenticate the CLI with your Merge Agent Handler account: merge login
This links your CLI session to your Merge account.
From the root of the project where you want Codex to have access to Trello, run:
This writes a Merge CLI section to your project's AGENTS.md file so Codex knows to use the CLI when a task requires Trello data. The command is idempotent, safe to re-run if you need to reset the configuration.
Commit the updated AGENTS.md so the configuration travels with the repo.
Related: A guide to integrating the Trello MCP with Cursor
Create a Codex task that requires live Trello data.
For example: "Read the bug card for the payment retry failure, including all comments and checklist items, and generate a fix with a regression test that covers every failure condition documented on the card."
The first time Codex invokes a Trello tool, a Magic Link will appear to complete connector authentication.

Once authenticated, Codex has access to your Trello boards through Merge for all subsequent tasks in this project.
{{this-blog-only-cta}}
In case you have more questions on setting up and using the Trello MCP with Codex, we've addressed several more commonly-asked questions below.
With Trello connected, Codex can:
You can build a self-hosted Trello MCP server on top of Atlassian's REST API. The documentation is thorough, OAuth is well-supported, and for a single workspace the initial setup is manageable.
The problem is user and workspace scale. Trello OAuth tokens are scoped to individual user accounts.
If multiple developers run Codex tasks that need to read Trello cards, each requires a separate authorization flow, a separate token pair, and its own refresh cycle. A self-hosted server handles none of that, so credential storage and token refresh logic per user are still yours to manage.
Atlassian doesn't offer an official Trello MCP server, so there's no supported path beyond Merge or a community build. Merge Agent Handler handles multi-user OAuth centrally, scopes which Trello operations each agent can call, and logs every tool call with the agent identity and inputs.
For teams where Codex tasks read cards that contain product decisions or customer-specific context, that access control layer is worth having.
Trello cards hold task context that doesn't travel cleanly into a Codex task description. Acceptance criteria defined in the card description, implementation steps documented in a checklist, edge cases flagged in a comment thread: those details exist in the card, and developers rarely copy all of them when creating a task.
When Codex only has the task description, it fills in the gaps. It generates code that addresses what the developer described and infers the rest.
When those inferences are wrong, the output looks correct until it hits the cases that were documented in the card but not in the task.
Connecting Trello gives Codex the ability to pull the card directly when a task references one. The generated fix covers the edge cases from the comment thread.
The generated scaffolding respects the constraints in the card description. The generated tests align with the acceptance criteria the team defined.
Yes, Merge for Workforce is built to help engineering organizations provision, secure, and govern how employees connect AI tools like Codex to project management tools like Trello.
Common patterns include:
In practice, employees can use the Trello MCP to generate fixes grounded in real bug cards, scaffold features aligned with documented acceptance criteria, and produce scripts that reflect the implementation steps the team defined, while IT keeps centralized control over which boards and card data each developer's agent can reach.
Use Merge Agent Handler’s 150+ connectors (including Trello) to power reliable, secure, and powerful agents.