[BUG] FastMCP Pydantic serialization issue persists after #3084 fix

Status Closed — not planned
Maintainer reply None cached
Activity 7 comments · opened Sep 17, 2025 · closed Jan 6, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The issue from #3084 was marked as fixed and closed, but FastMCP Pydantic models are still serialized as a JSON string in the 1.0.117 (Claude Code) release, causing validation errors.

What Should Happen?

FastMCP should pass Pydantic models as dictionaries to prevent input validation errors

Steps to Reproduce

Same as #3084

Claude Model

None

Is this a regression?

No

Claude Code Version

1.0.117 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

View original on GitHub ↗

7 Comments

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/3084
  2. https://github.com/anthropics/claude-code/issues/6249
  3. https://github.com/anthropics/claude-code/issues/4192

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

aaronsteers · 1 year ago

There are two issues being created at the same time for the same issue. I'm seeing the same issue in Desktop and it appears to be present in some code shared between Claude Desktop and Claude Code. The previously closed issue is _not_ resolved.

The other one logged within 24 hours of this one is also being flagged as a dupe. I believe one or both of these needs to stay open until a fix is found:

All of the noted dupes above are _closed_ and therefor not valid for deduping.

skray · 1 year ago

I closed #7845, I missed that this one was opened, I'll follow along here

github-actions[bot] · 10 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

skray · 10 months ago

This is still an issue

github-actions[bot] · 9 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 9 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.