Skip to main content
Glama

get_remote_components

Retrieve available team library components in Figma via AI-powered commands to streamline design workflows and enhance collaboration.

Instructions

Get available components from team libraries in Figma

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": {}, "type": "object" }

Implementation Reference

  • Full implementation of the 'get_remote_components' MCP tool, including registration via server.tool(), empty input schema ({}), and the handler function that forwards the command to the Figma plugin and returns the JSON-formatted result or error as text content.
    // Get Remote Components Tool server.tool( "get_remote_components", "Get available components from team libraries in Figma", {}, async () => { try { const result = await sendCommandToFigma("get_remote_components"); return { content: [ { type: "text", text: JSON.stringify(result, null, 2) } ] }; } catch (error) { return { content: [ { type: "text", text: `Error getting remote components: ${error instanceof Error ? error.message : String(error)}` } ] }; } } );
  • TypeScript type definition for FigmaCommand union type, which includes 'get_remote_components' as one of the valid commands sent to the Figma plugin by the tool handler.
    | "get_remote_components"
  • Intermediate registration call to registerDocumentTools, which contains the specific registration for get_remote_components.
    registerDocumentTools(server);

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/arinspunk/claude-talk-to-figma-mcp'

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