What Codex can do with Asana
Ask your agent in plain language. Each of these maps to a real tool on the server.
- Ask Codex to use the create portfolio tool in Asana
- Ask Codex to use the update portfolio tool in Asana
- Ask Codex to use the list users tool in Asana
- Ask Codex to use the create project tool in Asana
- Ask Codex to use the create task tool in Asana
Add the Asana MCP server to Codex
Run these once. Afterwards, everyone you give access to signs in the same way.
1. Enable Asana in Metorial
In your Metorial portal, enable the Asana MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
2. Add the server and sign in
The Codex CLI, IDE extension and ChatGPT desktop app share this config.
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial3. Check the connection
Type /mcp in Codex to see Metorial and its Asana tools.
Give your team Asana in Codex
Once Asana is enabled in Metorial, teammates sign in with SSO and get the same connection in Codex, with only the tools their role allows.
One link covers every app you approve. See how the MCP gateway handles access, roles and audit logs for the whole company.
Asana tools available in Codex
Full descriptions and inputs are on the Asana MCP server page.
- Get Project: Retrieve full details for a project including members, followers, custom fields, and settings.
- List Workspaces: List all workspaces accessible to the authenticated user.
- List Projects: List projects in a workspace, optionally filtered by team or archived status.
- Update Project: Update an existing project's name, notes, dates, color, layout, archived status, or privacy setting.
- Update Task: Update an existing task's properties.
- List Subtasks: List all subtasks of a given task.
- List Goals: List goals in a workspace, team, or portfolio.
- List Comments: List stories (comments and activity) on a task.
- Search Tasks: Search for tasks in a workspace using various filters like text, assignee, projects, tags, completion status, and date ranges.
- Create Section: Create a new section in a project.
- Get Goal: Get full details for a goal including its metric, notes, and followers.
- Get User: Get details for a specific user by their GID, or use "me" to get the authenticated user's profile.
- Create Tag: Create a new tag in a workspace.
- List Tags: List all tags in a workspace.
- List Tasks: List tasks filtered by exactly one of projectId, sectionId, or assigneeId (with workspaceId).
- And 20 more on the Asana MCP server page.
Using Asana tools in Codex
What to expect once Asana is connected.
- Limit which Asana tools Codex sees with enabled_tools and disabled_tools on the metorial server in config.toml.
- Set default_tools_approval_mode to auto, prompt, writes or approve. writes prompts only for tools that are not marked read-only.
- Type /mcp in the composer to see the connected servers.
- Override the approval behavior for a single Asana tool with tools.<tool>.approval_mode.
Troubleshooting Codex
- Metorial is listed but tools are missing
- Codex can connect without credentials and then see nothing. Run codex mcp login metorial to complete the OAuth sign-in.
- Metorial times out at startup
- Codex waits 10 seconds by default. Raise startup_timeout_sec under [mcp_servers.metorial] in ~/.codex/config.toml.
- Long tool calls fail after a minute
- The default tool timeout is 60 seconds. Raise tool_timeout_sec for the metorial server in config.toml.
Based on the Codex MCP documentation.
Frequently asked questions
Common questions about connecting Asana to AI agents with Metorial.
Does Codex support the Asana MCP server?
Yes. Codex connects to the Asana MCP server through one CLI command, pointed at your Metorial URL. You need the Codex CLI, IDE extension or ChatGPT desktop app.Do I need an API key to connect Asana to Codex?
No. You sign in to Asana once through Metorial, and Codex uses that connection. No API keys go into Codex's settings.Which Asana tools can Codex use?
All 35 Asana tools your team allows, such as Get Project, List Workspaces, List Projects. Admins can narrow that list per team.Can I control which teammates use Asana in Codex?
Yes. Role-based access control decides who can use Asana and which of its tools appear in Codex, and every call is logged with the person's identity.What if Codex doesn't show Asana tools?
Codex can connect without credentials and then see nothing. Run codex mcp login metorial to complete the OAuth sign-in.
GitHub
Linear