Figma Dev Mode リモートMCPを Cursor にMCP接続する方法(設定手順)
Figma のリモートMCPサーバーを Cursor に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。
Streamable HTTPhttps://mcp.figma.com/mcp
Install in Cursor →
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"figma": {
"url": "https://mcp.figma.com/mcp"
}
}
}claude mcp add --transport http figma https://mcp.figma.com/mcp
Install in VS Code →
Or add to .vscode/mcp.json:
{
"servers": {
"figma": {
"type": "http",
"url": "https://mcp.figma.com/mcp"
}
}
}- Open Settings → Connectors (Integrations) → Add Custom Connector.
- Paste the endpoint URL:
https://mcp.figma.com/mcp - Complete the browser OAuth 2.1 login flow when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"figma": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.figma.com/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"figma": {
"serverUrl": "https://mcp.figma.com/mcp"
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"figma": {
"url": "https://mcp.figma.com/mcp"
}
}
}Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.figma] url = "https://mcp.figma.com/mcp"
Add to cline_mcp_settings.json (Cline → MCP Servers → Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"figma": {
"type": "streamableHttp",
"url": "https://mcp.figma.com/mcp"
}
}
}Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"figma": {
"httpUrl": "https://mcp.figma.com/mcp"
}
}
}接続手順
- MCP 設定を開く — Cursor → Settings → MCP。またはグローバル
~/.cursor/mcp.json/ プロジェクト.cursor/mcp.jsonを直接編集。 - サーバーを追加 — ワンクリック deeplink を使うか、
mcpServersに"figma": { "url":https://mcp.figma.com/mcp}を追加します。 - 認証を完了 — 初回呼び出し時に Figma の OAuth 認可画面が開きます。許可するとツールが有効になります。
- 検証 — オンライン Inspector に
https://mcp.figma.com/mcpを貼り付け、initialize と tools/list を実行して接続を確認します。
🧰 ツール一覧(8)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| get_code ~32 tok | 🟢 Read | Generate code for a selected Figma frame. | — |
| get_design_context ~33 tok | 🟢 Read | Get design context for a Figma node. | — |
| get_variable_defs ~35 tok | 🟢 Read | Get variables and styles used by a selection. | — |
| get_code_connect_map ~36 tok | 🟢 Read | Get code-to-component mapping for a selection. | — |
| create_design_rules ~35 tok | 🟠 Write | Create design-system rules from a selection. | — |
| get_metadata ~34 tok | 🟢 Read | Get structure metadata of a Figma file or page. | — |
| get_screenshot ~32 tok | 🟢 Read | Render a screenshot of a Figma node. | — |
| whoami ~29 tok | 🟢 Read | Get the authenticated Figma user. | — |