Skip to main content
Glama

Figma MCP Server

by sichang824
utils.ts559 B
/** * Utility functions for Figma MCP Server */ /** * Log function that writes to stderr instead of stdout * to avoid interfering with MCP stdio communication */ export function log(message: string): void { process.stderr.write(`${message}\n`); } /** * Error log function that writes to stderr */ export function logError(message: string, error?: unknown): void { const errorMessage = error instanceof Error ? error.message : error ? String(error) : 'Unknown error'; process.stderr.write(`ERROR: ${message}: ${errorMessage}\n`); }

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/sichang824/mcp-figma'

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