Skip to main content
Glama

Claude Talk to Figma MCP

by arinspunk
config.ts959 B
import { z } from "zod"; // Argumentos de línea de comandos const args = process.argv.slice(2); const serverArg = args.find(arg => arg.startsWith('--server=')); const portArg = args.find(arg => arg.startsWith('--port=')); const reconnectArg = args.find(arg => arg.startsWith('--reconnect-interval=')); // Configuración de conexión extraída de argumentos CLI export const serverUrl = serverArg ? serverArg.split('=')[1] : 'localhost'; export const defaultPort = portArg ? parseInt(portArg.split('=')[1], 10) : 3055; export const reconnectInterval = reconnectArg ? parseInt(reconnectArg.split('=')[1], 10) : 2000; // URL de WebSocket basada en el servidor (WS para localhost, WSS para remoto) export const WS_URL = serverUrl === 'localhost' ? `ws://${serverUrl}` : `wss://${serverUrl}`; // Configuración del servidor MCP export const SERVER_CONFIG = { name: "ClaudeTalkToFigmaMCP", description: "Claude MCP Plugin for Figma", version: "0.4.0", };

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