You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+171-1Lines changed: 171 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ A production-ready Next.js template featuring authentication, dark mode support,
26
26
- 🛡️ TypeScript support
27
27
- 📊 Error boundary implementation
28
28
- 🔍 SEO optimized
29
+
- 🤖 MCP integration for AI-powered development
29
30
30
31
## 🚀 Getting Started
31
32
@@ -163,6 +164,169 @@ yarn dev
163
164
164
165
8. Open [http://localhost:3000](http://localhost:3000) in your browser.
165
166
167
+
## 🛠️ MCP Integration Setup
168
+
169
+
### What is MCP?
170
+
171
+
MCP (Model Control Protocol) enables enhanced AI assistant capabilities for this project, allowing the AI to interact directly with your Stripe and Supabase accounts to help with debugging, configuring, and managing your application.
172
+
173
+
For a comprehensive demonstration of MCP capabilities, check out our dedicated demo repository:
174
+
- 🔗 [launch-mcp-demo](https://github.com/ShenSeanChen/launch-mcp-demo) - Collection of powerful MCP tools
Copy the example file to create your own configuration:
183
+
184
+
```bash
185
+
cp .cursor/mcp.json.example .cursor/mcp.json
186
+
```
187
+
188
+
2. Configure your credentials:
189
+
190
+
a. Stripe Integration:
191
+
- Get your Stripe API key from the Stripe Dashboard
192
+
- Replace `your_stripe_test_key_here` with your actual test key
193
+
194
+
b. Supabase Integration:
195
+
- Generate a Supabase access token from your Supabase dashboard (Project Settings > API)
196
+
- Replace `your_supabase_access_token_here` with your actual token
197
+
198
+
c. GitHub Integration (optional):
199
+
- Create a GitHub Personal Access Token with appropriate permissions
200
+
- Replace `your_github_personal_access_token_here` with your actual token
201
+
202
+
3. Example of a completed `mcp.json` file:
203
+
204
+
```json
205
+
{
206
+
"mcpServers": {
207
+
"stripe": {
208
+
"command": "npx",
209
+
"args": [
210
+
"-y",
211
+
"@stripe/mcp"
212
+
],
213
+
"env": {
214
+
"STRIPE_SECRET_KEY": "sk_test_51ABC123..."
215
+
}
216
+
},
217
+
"supabase": {
218
+
"command": "npx",
219
+
"args": [
220
+
"-y",
221
+
"@supabase/mcp-server-supabase@latest",
222
+
"--access-token",
223
+
"sbp_1234abcd5678efgh..."
224
+
]
225
+
}
226
+
}
227
+
}
228
+
```
229
+
230
+
4. Using MCP with AI assistants:
231
+
232
+
After configuring `mcp.json`, the AI assistant within the Cursor editor will be able to:
233
+
- Query and manage your Stripe subscriptions
234
+
- Interact with your Supabase database
235
+
- Help troubleshoot integration issues
236
+
- Provide contextual help based on your actual configuration
237
+
238
+
5. Security Considerations:
239
+
240
+
- Never commit your `mcp.json` file to version control
241
+
- Use test credentials during development
242
+
-Limit access tokens to only the permissions needed
243
+
244
+
### Extending MCP with Additional Tools
245
+
246
+
The MCP framework can be extended with various tools beyond Stripe and Supabase. Our [launch-mcp-demo](https://github.com/ShenSeanChen/launch-mcp-demo) repository demonstrates how to integrate basic MCP examples.
247
+
248
+
To integrate these additional tools with your project:
0 commit comments