Skip to main content
Glama
skulidropek

figma-tunnel-mcp

by skulidropek

Figma HTTP API

Share the currently open Figma file with an AI agent through one HTTPS URL. The agent reads llms.txt and uses ordinary GET and POST requests.

AI agent
   │ HTTPS API
   ▼
Local API server (:8765) ← Cloudflare Tunnel
   │ local WebSocket
   ▼
Figma API Plugin ↔ open Figma file

The WebSocket relay is an internal transport. It is not exposed publicly and is not an interface for agents.

Start on Windows

Requirements: Figma Desktop, Node.js, Bun, and Cloudflared.

  1. In Figma, import src/plugin/manifest.json as a development plugin once.

  2. Start everything with one command:

    .\start.cmd

The command starts the internal relay, HTTP API, Figma, Cloudflare Tunnel, and the plugin watchdog. It then tries to open the plugin and verifies that the current document answers.

Nothing is installed in Windows Startup. Re-running the command is safe and only repairs missing services.

Related MCP server: Agent to Figma MCP

Plugin controls

After the server is running, normal management happens in the Figma plugin:

  • API, Figma, and tunnel status;

  • read-only or read/write access;

  • copy/open share URL and scoped llms.txt;

  • start, stop, or replace the Cloudflare quick tunnel;

  • rotate the secret share URL;

  • repair the local stack.

Public API

Give the agent only the generated share URL:

https://<host>.trycloudflare.com/s/<secret>

The main routes are:

Method

Route

Purpose

GET

/s/{secret}

Discover exact URLs and current state

GET

/s/{secret}/llms.txt

Complete live API instructions

GET

/v1/shares/{secret}/llms.txt

Documentation for this share

GET

/v1/shares/{secret}/{topic}/llms.txt

Documentation for one route or operation

GET

/v1/shares/{secret}/status

Check readiness

GET

/v1/shares/{secret}/capabilities

List available Figma operations

POST

/v1/shares/{secret}/{operation}

Execute an operation; the body contains its parameters

GET

/openapi.json

OpenAPI 3.1 contract

Example read request:

POST /v1/shares/{secret}/get_document_info
Content-Type: application/json

{}

Write requests also require an Idempotency-Key header. Documentation is hierarchical: service errors link to /llms.txt, share errors link to /v1/shares/{secret}/llms.txt, and known route errors link to that route's own llms.txt.

Security

  • The random share URL is a bearer capability; anyone holding it gets the configured access.

  • Public access can be stopped immediately from the plugin.

  • Rotating the secret invalidates the previous share URL.

  • Management routes under /local/control/* accept only loopback plugin requests and return 404 through Cloudflare.

  • The internal relay binds only to 127.0.0.1.

  • Access mode and tunnel state persist across server repairs.

Project files

File

Purpose

start.cmd

Single user-facing start command

src/api/

Public API server and health probe

src/relay/

Loopback-only Figma transport

src/plugin/

Figma development plugin

scripts/

Windows bootstrap, watchdog, tunnel, and Figma launcher

A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    B
    maintenance
    Enables AI agents to read and modify Figma designs programmatically through WebSocket communication, supporting document manipulation, styling, text replacement, and component management.
    42
    2
  • A
    license
    B
    quality
    C
    maintenance
    Enables local AI agents to generate and edit Figma designs via the Plugin API through a WebSocket relay, with no rate limits and all communication remaining local.
    50
    894
    MIT

View all related MCP servers

Related MCP Connectors

  • The Figma MCP server brings Figma design context directly into your AI workflow.

  • Connect AI coding agents to Anima Playground, Figma, and your design system.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

View all MCP Connectors

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/skulidropek/figma-tunnel'

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