read-figma-developer-docs-index
Discover available Figma developer documentation sections including Plugin API, Widget API, REST API, and more to identify specific pages for reading.
Instructions
Read the Figma developer documentation index. Returns all documentation sections (Plugin API, Widget API, REST API, Code Connect, Embeds, Figma MCP Server, Code/Make) with page listings. Use this first to discover what documentation is available, then use read-figma-developer-docs-pages to read specific pages.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:63-88 (handler)Handler function for the 'read-figma-developer-docs-index' tool. It loads the documentation index and returns the sections and pages as JSON.
async () => { const index = loadIndex(); const sections = Object.entries(index.sections).map( ([name, section]) => ({ section: name, pageCount: section.count, pages: section.pages.map((p) => ({ path: p.path, title: p.title, })), }) ); return { content: [ { type: "text" as const, text: JSON.stringify( { totalPages: index.totalPages, generatedAt: index.generatedAt, sections }, null, 2 ), }, ], }; } - src/index.ts:56-62 (registration)Registration of the 'read-figma-developer-docs-index' tool using the server.registerTool method.
server.registerTool( "read-figma-developer-docs-index", { title: "Read Figma Developer Docs Index", description: "Read the Figma developer documentation index. Returns all documentation sections (Plugin API, Widget API, REST API, Code Connect, Embeds, Figma MCP Server, Code/Make) with page listings. Use this first to discover what documentation is available, then use read-figma-developer-docs-pages to read specific pages.", },