junie-mcp-figma-proxy
v0.2.2
Published
CLI to bridge Junie MCP stdin/stdout JSON-RPC with a Figma MCP HTTP endpoint.
Maintainers
Readme
Junie MCP Figma Proxy (CLI)
A tiny CLI that bridges Junie’s MCP (Model Context Protocol) over stdin/stdout to a Figma MCP HTTP endpoint.
This package exposes a single script: mcp-figma-proxy.js. It starts a stdio MCP server and proxies all JSON-RPC requests to the HTTP endpoint using mcp-proxy.
Usage
Run locally without installing:
node .\mcp-figma-proxy.jsOr via npx after publishing:
npx junie-mcp-figma-proxyConfiguration
Environment variables:
- MCP_FIGMA_URL — Target MCP HTTP endpoint URL.
- Default:
http://127.0.0.1:3845/mcp
- Default:
Example
$env:MCP_FIGMA_URL = "http://127.0.0.1:3845/mcp"
node .\mcp-figma-proxy.jsIntegrating with Junie
Configure Junie to execute this proxy as the MCP process. Junie writes JSON-RPC to stdin; the proxy forwards to MCP_FIGMA_URL and writes responses to stdout.
If Junie supports direct npx commands:
npx junie-mcp-figma-proxyNotes
- Requires Node.js >= 16.
- ESM module; shebang included for POSIX. On Windows, use
nodeornpx. - Depends on
mcp-proxy.
Packaging and publishing
To create a distributable tarball (without publishing):
npm run packTo publish to npm (requires npm login with publish rights):
npm login
npm run releaseAfter publishing, you can run it anywhere via:
npx junie-mcp-figma-proxy