MCP server providing Figma Plugin API documentation from official typings
Server provides 3 well-defined search/reference tools for Figma Plugin API documentation. All tools have clear descriptions (50-100 chars range) and explicit input schemas using Zod. Tool names follow verb_noun convention (figma_search_api, figma_get_api, figma_list_node_types). However, output schemas are not documented, the code shows results are returned but no structured output format is specified in the tool definitions. Parameter descriptions are present but minimal. No error handling guidance provided to guide LLM recovery on failures. Security posture is strong (read-only operations only, no secrets in parameters). Tool composition is appropriate, three distinct, focused utilities for API discovery.
Get detailed API reference for a specific Figma plugin method, property, or type.
List all Figma node types with their key properties and methods.
Search Figma Plugin API by name or description. Use this to find methods, properties, and types.
Output schemas not documented. Tools return structured data but tool definitions omit return type documentation. LLMs cannot plan downstream tool use or extract specific fields without seeing the response structure. See src/tools/*.ts implementations for actual return types.
No error handling guidance. Tools call ensureCache() which reads api-data.json but provide no error messages if the cache is missing/corrupted or if a search/lookup fails. Errors return nothing or undefined, leaving the LLM with no recovery path.
Parameter descriptions are minimal and lack actionable guidance. 'Search query' and 'API name' are self-explanatory but do not explain when to use each tool vs. others, or what format is expected. Example: should query be a partial name (e.g. 'rect') or a full signature (e.g. 'RectangleNode.width')? Undocumented.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 60 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 45 | - | v1 |
figma_list_node_types category parameter has enum constraint but description is generic. Should clarify: 'Filter by node category. shapes=primitive shapes (Rectangle, Ellipse, etc.). containers=layout nodes (Frame, Group, Component). text=Text nodes. media=Image/Video nodes. all=all node types. Defaults to all if omitted.'
No pagination or result limiting documented. figma_search_api returns up to 20 results (hardcoded in cache.ts line ~30 .slice(0, 20)), but the tool definition does not state this limit. LLMs may assume all matches are returned or may not know how to request more results.