Skip to main content
Glama

Figma MCP Server

by TimHolden
export class SessionManager { private sessions: Map<string, any> = new Map(); async handleConnection(connectionId: string) { this.sessions.set(connectionId, { createdAt: Date.now(), lastActivity: Date.now() }); } async handleDisconnection(connectionId: string) { this.sessions.delete(connectionId); } async handleCleanup() { const now = Date.now(); for (const [connectionId, session] of this.sessions.entries()) { if (now - session.lastActivity > 30 * 60 * 1000) { // 30 minutes await this.handleDisconnection(connectionId); } } } }

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

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