├── .env.example ├── .gitignore ├── .vscode └── settings.json ├── Dockerfile ├── LICENSE ├── README-zh-CN.md ├── README.md ├── STARTKIT.md ├── biome.jsonc ├── bun.build.script.ts ├── bun.lock ├── docs ├── Info.md ├── banner.png ├── bannerv3.png ├── en │ ├── FAQ.md │ └── GettingStarted.md └── zh │ ├── FAQ.md │ └── GettingStarted.md ├── glama.json ├── mcp.json ├── package.json ├── pnpm-lock.yaml ├── smithery.yaml ├── src ├── cli.ts ├── server │ └── figma │ │ ├── apis │ │ ├── f2c.ts │ │ └── figma.ts │ │ ├── config.ts │ │ ├── helpers │ │ ├── downloader.ts │ │ ├── figma.ts │ │ └── index.ts │ │ ├── index.ts │ │ ├── notifications │ │ ├── index.ts │ │ └── logger.ts │ │ ├── tools │ │ ├── f2c.ts │ │ ├── figma.ts │ │ └── v03.ts │ │ └── types │ │ ├── f2c.ts │ │ └── figma.ts ├── stdio.ts ├── streamable-http.ts ├── test │ ├── api.test.ts │ └── e2e.test.ts ├── transports │ ├── stdio.ts │ └── streamable-http │ │ ├── http-server.ts │ │ ├── index.ts │ │ ├── with-session-steamable-http.ts │ │ └── without-session-steamable-http.ts └── utils │ ├── fetch.ts │ ├── index.ts │ └── logger.ts ├── tsconfig.json └── user_rules.json /.env.example: -------------------------------------------------------------------------------- 1 | FIGMA_API_KEY=your_figma_api_key_here -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/LICENSE -------------------------------------------------------------------------------- /README-zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/README-zh-CN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/README.md -------------------------------------------------------------------------------- /STARTKIT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/STARTKIT.md -------------------------------------------------------------------------------- /biome.jsonc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@empjs/biome-config"] 3 | } 4 | -------------------------------------------------------------------------------- /bun.build.script.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/bun.build.script.ts -------------------------------------------------------------------------------- /bun.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/bun.lock -------------------------------------------------------------------------------- /docs/Info.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/docs/Info.md -------------------------------------------------------------------------------- /docs/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/docs/banner.png -------------------------------------------------------------------------------- /docs/bannerv3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/docs/bannerv3.png -------------------------------------------------------------------------------- /docs/en/FAQ.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/docs/en/FAQ.md -------------------------------------------------------------------------------- /docs/en/GettingStarted.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/docs/en/GettingStarted.md -------------------------------------------------------------------------------- /docs/zh/FAQ.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/docs/zh/FAQ.md -------------------------------------------------------------------------------- /docs/zh/GettingStarted.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/docs/zh/GettingStarted.md -------------------------------------------------------------------------------- /glama.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/glama.json -------------------------------------------------------------------------------- /mcp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/mcp.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /smithery.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/smithery.yaml -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/server/figma/apis/f2c.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/apis/f2c.ts -------------------------------------------------------------------------------- /src/server/figma/apis/figma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/apis/figma.ts -------------------------------------------------------------------------------- /src/server/figma/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/config.ts -------------------------------------------------------------------------------- /src/server/figma/helpers/downloader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/helpers/downloader.ts -------------------------------------------------------------------------------- /src/server/figma/helpers/figma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/helpers/figma.ts -------------------------------------------------------------------------------- /src/server/figma/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/helpers/index.ts -------------------------------------------------------------------------------- /src/server/figma/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/index.ts -------------------------------------------------------------------------------- /src/server/figma/notifications/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/notifications/index.ts -------------------------------------------------------------------------------- /src/server/figma/notifications/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/notifications/logger.ts -------------------------------------------------------------------------------- /src/server/figma/tools/f2c.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/tools/f2c.ts -------------------------------------------------------------------------------- /src/server/figma/tools/figma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/tools/figma.ts -------------------------------------------------------------------------------- /src/server/figma/tools/v03.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/tools/v03.ts -------------------------------------------------------------------------------- /src/server/figma/types/f2c.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/types/f2c.ts -------------------------------------------------------------------------------- /src/server/figma/types/figma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/server/figma/types/figma.ts -------------------------------------------------------------------------------- /src/stdio.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/stdio.ts -------------------------------------------------------------------------------- /src/streamable-http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/streamable-http.ts -------------------------------------------------------------------------------- /src/test/api.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/test/api.test.ts -------------------------------------------------------------------------------- /src/test/e2e.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/test/e2e.test.ts -------------------------------------------------------------------------------- /src/transports/stdio.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/transports/stdio.ts -------------------------------------------------------------------------------- /src/transports/streamable-http/http-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/transports/streamable-http/http-server.ts -------------------------------------------------------------------------------- /src/transports/streamable-http/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/transports/streamable-http/index.ts -------------------------------------------------------------------------------- /src/transports/streamable-http/with-session-steamable-http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/transports/streamable-http/with-session-steamable-http.ts -------------------------------------------------------------------------------- /src/transports/streamable-http/without-session-steamable-http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/transports/streamable-http/without-session-steamable-http.ts -------------------------------------------------------------------------------- /src/utils/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/utils/fetch.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/src/utils/logger.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/tsconfig.json -------------------------------------------------------------------------------- /user_rules.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/f2c-ai/f2c-mcp/HEAD/user_rules.json --------------------------------------------------------------------------------