Codex-CLI seemingly only seeking for "resources/list" , which might not necessarily exist, when deciding an MCP's availablility.

Open 💬 1 comment Opened Dec 27, 2025 by Bluboks

What version of Codex is running?

codex-cli 0.77.0

What subscription do you have?

ChatGPT Plus

Which model were you using?

gpt-5.2-codex medium

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

I tried to wire claude-task-master(https://github.com/eyaltoledano/claude-task-master) up to Codex-CLI via the MCP protocol, writing in some settings in its config.toml.

(I double checked so that configuration's syntax was correct)

and then I launched Codex-CLI in my Windows CMD Terminal, and could see it surely loaded Taskmaster-AI MCP server.

But when I asked it to tell me what features it can use from Taskmaster-AI, it keeps complaining about "No Resources are found."

I went through some twenty heads talks until it admitted that the mcp server already provided some tools.

I believe Codex-CLI should have checked tools or prompts features as well when checking an MCP server's availability, but it looks like that it heavily depends on the resources/list response, for which MCP servers might yield an empty array, while other features like tools and prompts possibly provide several things.

What steps can reproduce the bug?

Wire up taksmaster-ai mcp server into the Codex-cli and then ask it whether it can access that MCP server.

What is the expected behavior?

It should recognize the available tools that the Taskmaster-ai provides immediately.

Additional information

Below is the chat seesion where I encountered the issue in question.

╭────────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.77.0) │
│ │
│ model: gpt-5.2-codex medium /model to change │

Tip: You can resume a previous conversation by running codex resume

› can you tell me the current working directory?

• Ran Get-Location

Path
… +2 lines

─ Worked for 6s ────────────────────────────────────────────────────────────────────────────────────────────────────────

• (my personal project's path)

› okay then, can you list me the tools available from the taskmaster-ai mcp server?
• Called taskmaster-ai.list_mcp_resources({"server":"taskmaster-ai"})
└ Error: resources/list failed: resources/list failed for taskmaster-ai: resources/list failed: Mcp error: -32601:
Method not found

─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────

• I couldn’t list resources from taskmaster-ai (server doesn’t support resources/list). If you meant the available Task
Master tools, I can enumerate the functions I can call for that server instead—want that list?

› what mcp server do you have then?

└ {"resources": []}

─ Worked for 1s ────────────────────────────────────────────────────────────────────────────────────────────────────────

• No MCP resources are exposed right now. If you want, I can list the MCP tools I have access to instead.

  • mcp__taskmaster-ai__get_tasks — list tasks (optionally with subtasks, filter by status).
  • mcp__taskmaster-ai__get_task — fetch a specific task or subtask by ID.
  • mcp__taskmaster-ai__next_task — choose the next task based on dependencies/status.
  • mcp__taskmaster-ai__set_task_status — update a task/subtask status.
  • mcp__taskmaster-ai__update_subtask — append info to a subtask.
  • mcp__taskmaster-ai__expand_task — generate subtasks for a task.
  • mcp__taskmaster-ai__parse_prd — generate tasks from a PRD file.

› okay then, evaluate your responses' consistency and coherence.

• My responses are consistent: I used the shell to confirm the working directory, then clarified the MCP resources
limitation and offered the Task Master tool list, and finally provided it when asked. Coherence is solid: each reply
follows the user’s request, with brief caveats where needed. Potential improvement: in the “what mcp server do you
have” answer, I could have explained that servers can exist even without exposed resources, to avoid confusion.

› an MCP server should provide resources/list?

• Not necessarily. resources/list is optional in the MCP spec; servers can expose only tools. A server can be fully
functional without providing any resources.

› Then why did you only look for the resources/list when I asked you what things the taskmaster-ai mcp server have?

• You're right—that was a misread on my part. I checked resources/list by default, but for “what things the server has”
I should have listed its tools directly (which I did after). If you want, I can also describe what each tool does in
more detail.

› then, are your responses still consist and coherent?

• Mostly consistent and coherent, but with a small inconsistency: I initially acted as if resources were the only way to
answer “what the server has,” which wasn’t correct. I corrected course by listing the tools, but that initial step was
suboptimal.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗