Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.
The recommended setup is the stdio one in the Quickstart, where your client launches the server for you. Run it as a standalone HTTP server instead when your client can’t launch local commands, or when several clients should share one server.
The server prints its configuration, including which authentication method it picked up, then the addresses to connect to:
Initializing Figma MCP Server in HTTP mode on 127.0.0.1:3333...[INFO] HTTP server listening on port 3333[INFO] StreamableHTTP endpoint available at http://127.0.0.1:3333/mcp[INFO] StreamableHTTP endpoint available at http://127.0.0.1:3333/sse (backward compat)
Leave it running while you use your client. Stop it with Ctrl+C.
To listen on a different address, pass --host or set FRAMELINK_HOST. See Transport for details.
Keep the default 127.0.0.1 unless you need other machines to reach the server. Binding to 0.0.0.0 exposes it to your network, and anyone who can reach it can read Figma files using the token you started it with. On the default loopback address, the server also rejects requests whose Host header isn’t a localhost name, which guards against DNS rebinding from web pages.
The server speaks Streamable HTTP. /sse serves the same Streamable HTTP transport as /mcp, so older configs that point at /sse keep working as long as the client supports Streamable HTTP. Clients that only speak the legacy SSE transport can’t connect: the server answers GET requests on both endpoints with 405 Method Not Allowed. New configs should use /mcp.
There are two ways to give the HTTP server a Figma token.At server start. Pass --figma-api-key or --figma-oauth-token, or set FIGMA_API_KEY or FIGMA_OAUTH_TOKEN in the environment or a .env file. Every client that connects uses this token, so the client config needs no token at all.Per request. Clients can send their own token on each request, either as an X-Figma-Token header carrying a personal access token or as an Authorization: Bearer header carrying an OAuth token. A per-request token overrides the server’s token for that request. In HTTP mode the server can start with no token at all; it then reports Per-request X-Figma-Token header as its authentication method, and tool calls fail unless the request carries a token.See Authentication for creating a token, Per-request token for the header details, and Configuration for every flag and environment variable.
To run the server from a clone of the repository, for development or to test unreleased changes, follow the contributing guide.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Framelink","colors":{"primary":"#0D9373"},"logo":{"light":"https://mintcdn.com/branch-labs/bghC0h1XT5HW2t8q/logo/light.svg?fit=max\u0026auto=format\u0026n=bghC0h1XT5HW2t8q\u0026q=85\u0026s=4d2363499f55bcf82c9e33ed7496bc57","dark":"https://mintcdn.com/branch-labs/bghC0h1XT5HW2t8q/logo/dark.svg?fit=max\u0026auto=format\u0026n=bghC0h1XT5HW2t8q\u0026q=85\u0026s=b016ae6e170339eb8f1278b555def6de","href":"https://www.framelink.ai"},"favicon":{"light":"https://mintcdn.com/branch-labs/bghC0h1XT5HW2t8q/logo/favicon-light.svg?fit=max\u0026auto=format\u0026n=bghC0h1XT5HW2t8q\u0026q=85\u0026s=eacef8f75bc64bd1987a964ec6572d86","dark":"https://mintcdn.com/branch-labs/bghC0h1XT5HW2t8q/logo/favicon-dark.svg?fit=max\u0026auto=format\u0026n=bghC0h1XT5HW2t8q\u0026q=85\u0026s=89b8491b9ad2c276e7706e6fb2a67e6e"},"navbar":{"links":[{"href":"https://discord.gg/MeE3UEjdGN","type":"discord"}],"primary":{"type":"github","href":"https://github.com/GLips/Figma-Context-MCP"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"branch-labs","hasAudioNarration":false,"actualSubdomain":"branch-labs","customDomains":["docs.framelink.ai"],"gitSource":{"type":"github","owner":"framelinkai","repo":"framelink-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ad157694ac4ccc3265a71ea","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"Get started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"http-server","slug":"/http-server","pageMetadata":{"title":"Run as an HTTP server","description":"Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.","href":"/http-server"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The recommended setup is the stdio one in the `,_jsx(_components.a,{href:`/quickstart`,children:`Quickstart`}),`, where your client launches the server for you. Run it as a standalone HTTP server instead when your client can’t launch local commands, or when several clients should share one server.`]}),`\n`,_jsx(Heading,{level:`2`,id:`start-the-server`,children:`Start the server`}),`\n`,_jsxs(_components.p,{children:[`Run the server without the `,_jsx(_components.code,{children:`--stdio`}),` flag:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` figma-developer-mcp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --figma-api-key=YOUR-KEY`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The server prints its configuration, including which authentication method it picked up, then the addresses to connect to:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Initializing Figma MCP Server in HTTP mode on 127.0.0.1:3333...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[INFO] HTTP server listening on port 3333`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[INFO] StreamableHTTP endpoint available at http://127.0.0.1:3333/mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`[INFO] StreamableHTTP endpoint available at http://127.0.0.1:3333/sse (backward compat)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Leave it running while you use your client. Stop it with Ctrl+C.`}),`\n`,_jsx(Heading,{level:`2`,id:`change-the-host-or-port`,children:`Change the host or port`}),`\n`,_jsxs(_components.p,{children:[`The server listens on `,_jsx(_components.code,{children:`127.0.0.1:3333`}),` by default. To use a different port, pass `,_jsx(_components.code,{children:`--port`}),` or set `,_jsx(_components.code,{children:`FRAMELINK_PORT`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` figma-developer-mcp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --figma-api-key=YOUR-KEY`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --port=4000`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`To listen on a different address, pass `,_jsx(_components.code,{children:`--host`}),` or set `,_jsx(_components.code,{children:`FRAMELINK_HOST`}),`. See `,_jsx(_components.a,{href:`/configuration#transport`,children:`Transport`}),` for details.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Keep the default `,_jsx(_components.code,{children:`127.0.0.1`}),` unless you need other machines to reach the server. Binding to `,_jsx(_components.code,{children:`0.0.0.0`}),` exposes it to your network, and anyone who can reach it can read Figma files using the token you started it with. On the default loopback address, the server also rejects requests whose `,_jsx(_components.code,{children:`Host`}),` header isn’t a localhost name, which guards against DNS rebinding from web pages.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`connect-your-client`,children:`Connect your client`}),`\n`,_jsxs(_components.p,{children:[`Point your client at the `,_jsx(_components.code,{children:`/mcp`}),` endpoint. Most clients that support remote servers take a `,_jsx(_components.code,{children:`url`}),` in their MCP config:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Framelink_Figma_MCP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://localhost:3333/mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`In Claude Code, add it with:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Framelink_Figma_MCP`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:3333/mcp`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If you changed the port, use that port in the URL.`}),`\n`,_jsxs(Heading,{level:`3`,id:`the-/sse-endpoint`,children:[`The `,_jsx(_components.code,{children:`/sse`}),` endpoint`]}),`\n`,_jsxs(_components.p,{children:[`The server speaks Streamable HTTP. `,_jsx(_components.code,{children:`/sse`}),` serves the same Streamable HTTP transport as `,_jsx(_components.code,{children:`/mcp`}),`, so older configs that point at `,_jsx(_components.code,{children:`/sse`}),` keep working as long as the client supports Streamable HTTP. Clients that only speak the legacy SSE transport can’t connect: the server answers `,_jsx(_components.code,{children:`GET`}),` requests on both endpoints with `,_jsx(_components.code,{children:`405 Method Not Allowed`}),`. New configs should use `,_jsx(_components.code,{children:`/mcp`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`provide-the-figma-token`,children:`Provide the Figma token`}),`\n`,_jsx(_components.p,{children:`There are two ways to give the HTTP server a Figma token.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`At server start.`}),` Pass `,_jsx(_components.code,{children:`--figma-api-key`}),` or `,_jsx(_components.code,{children:`--figma-oauth-token`}),`, or set `,_jsx(_components.code,{children:`FIGMA_API_KEY`}),` or `,_jsx(_components.code,{children:`FIGMA_OAUTH_TOKEN`}),` in the environment or a `,_jsx(_components.code,{children:`.env`}),` file. Every client that connects uses this token, so the client config needs no token at all.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Per request.`}),` Clients can send their own token on each request, either as an `,_jsx(_components.code,{children:`X-Figma-Token`}),` header carrying a personal access token or as an `,_jsx(_components.code,{children:`Authorization: Bearer`}),` header carrying an OAuth token. A per-request token overrides the server’s token for that request. In HTTP mode the server can start with no token at all; it then reports `,_jsx(_components.code,{children:`Per-request X-Figma-Token header`}),` as its authentication method, and tool calls fail unless the request carries a token.`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/authentication`,children:`Authentication`}),` for creating a token, `,_jsx(_components.a,{href:`/configuration#per-request-token`,children:`Per-request token`}),` for the header details, and `,_jsx(_components.a,{href:`/configuration`,children:`Configuration`}),` for every flag and environment variable.`]}),`\n`,_jsx(Heading,{level:`2`,id:`run-from-source`,children:`Run from source`}),`\n`,_jsxs(_components.p,{children:[`To run the server from a clone of the repository, for development or to test unreleased changes, follow the `,_jsx(_components.a,{href:`https://github.com/GLips/Figma-Context-MCP/blob/main/CONTRIBUTING.md`,children:`contributing guide`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Run as an HTTP server","description":"Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.","href":"/http-server"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Start the server","slug":"start-the-server","depth":2,"children":[]},{"title":"Change the host or port","slug":"change-the-host-or-port","depth":2,"children":[]},{"title":"Connect your client","slug":"connect-your-client","depth":2,"children":[{"title":"The /sse endpoint","slug":"the-/sse-endpoint","depth":3,"children":[]}]},{"title":"Provide the Figma token","slug":"provide-the-figma-token","depth":2,"children":[]},{"title":"Run from source","slug":"run-from-source","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"branch-labs","siteName":"Framelink","title":"Run as an HTTP server - Framelink","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T22:45:02.094Z","originalFileLocation":"http-server.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Framelink\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run as an HTTP server - Framelink\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Framelink\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.framelink.ai/http-server\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://branch-labs.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Run+as+an+HTTP+server\u0026amp;description=Run+Framelink+MCP+for+Figma+as+a+standalone+local+HTTP+server+and+connect+your+MCP+client+to+it+by+URL.\u0026amp;theme=75cea9659b5dc7546b6f5e50\u0026amp;signature=319a835746982edf76b8b82a2d761d317a729693324de43b64596fd29927c852\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Run as an HTTP server - Framelink\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://branch-labs.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Run+as+an+HTTP+server\u0026amp;description=Run+Framelink+MCP+for+Figma+as+a+standalone+local+HTTP+server+and+connect+your+MCP+client+to+it+by+URL.\u0026amp;theme=75cea9659b5dc7546b6f5e50\u0026amp;signature=319a835746982edf76b8b82a2d761d317a729693324de43b64596fd29927c852\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/branch-labs/LJWetQD8Qs_97g0O/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Framelink\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.framelink.ai/http-server\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/http-server.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.framelink.ai/#organization\",\"name\":\"Framelink\",\"url\":\"https://docs.framelink.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/branch-labs/bghC0h1XT5HW2t8q/logo/light.svg?fit=max\u0026auto=format\u0026n=bghC0h1XT5HW2t8q\u0026q=85\u0026s=4d2363499f55bcf82c9e33ed7496bc57\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.framelink.ai#website\",\"name\":\"Framelink\",\"url\":\"https://docs.framelink.ai\",\"publisher\":{\"@id\":\"https://docs.framelink.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.framelink.ai/http-server#webpage\",\"url\":\"https://docs.framelink.ai/http-server\",\"name\":\"Run as an HTTP server\",\"description\":\"Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.\",\"dateModified\":\"2026-10-15T22:45:02.094Z\",\"isPartOf\":{\"@id\":\"https://docs.framelink.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.framelink.ai/http-server#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.framelink.ai/http-server#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.framelink.ai/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run as an HTTP server\",\"item\":\"https://docs.framelink.ai/http-server\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.framelink.ai/http-server#article\",\"headline\":\"Run as an HTTP server\",\"name\":\"Run as an HTTP server\",\"description\":\"Run Framelink MCP for Figma as a standalone local HTTP server and connect your MCP client to it by URL.\",\"url\":\"https://docs.framelink.ai/http-server\",\"mainEntityOfPage\":{\"@id\":\"https://docs.framelink.ai/http-server#webpage\"},\"dateModified\":\"2026-10-15T22:45:02.094Z\",\"publisher\":{\"@id\":\"https://docs.framelink.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.framelink.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Framelink\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Framelink\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/http-server.md","siteName":"Framelink","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Framelink MCP for Figma","sidebarTitle":"Introduction","href":"/index"},{"title":"Quickstart","href":"/quickstart"}]},{"group":"Guides","pages":[{"title":"Authentication","description":"Choose how Framelink MCP for Figma authenticates to the Figma API: a personal access token, an OAuth token, or a per-request token in HTTP mode.","href":"/authentication"},{"title":"Run as an HTTP server","href":"/http-server"},{"title":"Best practices","description":"How to get the most out of the Framelink MCP for Figma.","href":"/best-practices"},{"title":"Troubleshooting","href":"/troubleshooting"}]},{"group":"Reference","pages":[{"title":"Configuration","href":"/configuration"},{"title":"CLI","href":"/fetch"},{"title":"MCP tools","href":"/tools"}]}]},"basePath":"","title":"Run as an HTTP server - Framelink","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":[],"chunks":[]}