Figma-Context-MCPを使用して、Figmaデザインから結婚式のWeb招待状を効率的に実装するプロジェクトです。
- Figma設定ページにアクセス
- 「Personal access tokens」セクションで新しいトークンを生成
- 生成されたトークンをコピー
.cursorrulesファイル内のYOUR_FIGMA_API_KEYを実際のFigma APIキーに置き換えてください。
{
"mcpServers": {
"Framelink Figma MCP": {
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--figma-api-key=YOUR_ACTUAL_API_KEY",
"--stdio"
]
}
}
}設定を反映させるため、Cursorを再起動してください。
- CursorのチャットでFigmaファイルのリンクを貼り付け
- 「このデザインを結婚式招待状として実装して」と指示
- AIがFigmaデータを取得してコードを生成
├── .cursorrules # Cursor設定ファイル
├── env.example # 環境変数サンプル
├── package.json # プロジェクト設定
└── README.md # このファイル
- Figma-Context-MCP: Figmaデザインの取得
- HTML/CSS/JavaScript: Web招待状の実装
- レスポンシブデザイン対応
- Figma APIキーは機密情報です。公開リポジトリにコミットしないでください
- 環境変数ファイル(.env)は.gitignoreに含めることを推奨します
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.