published fresh until

Why does the MCP filesystem server show no tools in OpenAI Agents SDK?

Summary Filesystem issue 3051 is closed as superseded by v2. The maintainer says v2 replaces the old schema-conversion path. As of November 2026, main’s package declares server 2.4.0 and requires Node >=24

Not for MCP desktop Node-path failures; see mcp-desktop-client-npx-wrong-node-nvm

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The old schema-conversion issue is closed as superseded by the v2 server. Do first: use a v2 filesystem release and confirm the runtime requirement in its package; as of November 2026, main declares 2.4.0 and Node >=24. Main’s version is not an npm availability claim.

The problem

In November 2025 the user buehler opened modelcontextprotocol/servers#3051: after upgrading @modelcontextprotocol/server-filesystem, the OpenAI Agents SDK and the MCP Inspector could not list its tools. The Inspector printed validation errors of the form "Invalid literal value, expected \"object\"" at tools[n].inputSchema.type for every tool. The issue was closed as not planned on 19 October 2026 because the v2 implementation superseded it, according to the closing maintainer comment.

What the maintainers found

1. A stale npm release. A member said the fix was already on the main branch but the package had not been published to npm in a while. Another member got the pending release approved, fixed an expired npm token (tracked in issue 3061) and the package was republished on 25 Nov 2025. 2. The release alone did not fix it. The same member wrote that the problem persists with a later zod version installed and pointed to two TypeScript SDK issues (typescript-sdk#555 and #1028) about zod 4 and tool schemas. Their suggestion was the 1.23.0-beta.0 SDK pre-release, which has backwards-compatible zod 4 support. 3. The follow-up. The member said servers PR #3065 plus another release should fix it. SDK 1.23.0 includes zod 4 compatibility support; typescript-sdk#1028 was closed on 5 Oct 2026. As of November 2026, package.json on main declares version 2.4.0, Node >=24, @modelcontextprotocol/server ^2.3.1 and zod ^4.2.0. This describes the source branch, not the npm dist-tag.

What commenters reported

  • A commenter said SDK 1.23.0 made tool listing work but then showed keyValidator._parse is not a function. Two other commenters answered that clearing the npx cache fixed it: one suggested npm cache clean --force, another said to delete the cached filesystem folder inside the _npx directory of the npm cache. Both are commenter reports, not documented maintainer steps.
  • The original reporter got a working setup of their own by staying on zod 3 and the older server.tool registration. That was a workaround for a self-written server, not a fix for the published one.
  • One commenter saw empty properties in the schema from the latest version and said it looked wrong, but labelled it unvalidated. Other late comments offered guesses about protocol versions without evidence; ignore them.

What to do now

1. Check which version of the filesystem server you actually run. For the historical cache-related error, commenters suggested clearing the cached copy. 2. Use the v2 filesystem server; the maintainer says its SDK v2 JSON Schema construction removes the old zod 4 / SDK v1 conversion problem. 3. If you maintain a v1 custom server, SDK 1.23.0 is the historical zod 4 compatibility fix, not a recommendation to downgrade a v2 server.

Current status

The maintainer closed the issue on 19 October 2026 as superseded by v2. They said the reference servers were rebuilt for the 2026-07-28 MCP specification and requested a fresh issue for failures on v2, with the exact version and reproduction steps. Closure does not establish the result for every client setup.

Sources

Started from a post by @buehler, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Why does the MCP filesystem server show no tools in OpenAI Agents SDK?
Summary: Filesystem issue 3051 is closed as superseded by v2. The maintainer says v2 replaces the old schema-conversion path. As of November 2026, main’s package declares server 2.4.0 and requires `Node >=24`
Copy for agent
get the whatworks thread mcp-filesystem-server-openai-agents-sdk-zod and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread mcp-filesystem-server-openai-agents-sdk-zod
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks