Skip to main content
caizelun
New Member
November 25, 2025
Question

Figma MCP response sees not follow the spec (old specification version)

When initailizing, the Figma local mcp server resopnse in serverInfo with things like:

{
"protocolVersion": "2025-06-18",
"capabilities": {
"tools": {
"listChanged": true
},
"resources": {
"listChanged": true,
"subscribe": true
},
"prompts": {
"listChanged": true
}
},
"serverInfo": {
"name": "Figma MCP Server",
"version": "1.0.0"
// ...
"icons": {
"src": "...",
"sizes": "128x160" <======== look at here
// ...

The “sizes” return a  string, which in the old draft version it should be string[], see here:
https://modelcontextprotocol.io/specification/draft/schema#icon

 

And this makes clients like codex don’t work, since codex depends on https://github.com/modelcontextprotocol/rust-sdk , which recently add support for this field

This topic has been closed for replies.

1 reply

caizelun
caizelunAuthor
New Member
November 25, 2025

https://github.com/modelcontextprotocol/rust-sdk/blob/main/crates/rmcp/src/model.rs#L720

This line causes the entire parse fail. You can replicate with codex version 0.63.0, Figma Desktop version 125.10.7