Skip to main content
Glama
akari2600

figma-developer-docs-mcp

by akari2600

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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.",
      },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akari2600/figma-developer-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server