chore: add cross-platform MCP server configurations and bump version to 1.1.11

This commit enhances the Model Context Protocol (MCP) server configuration
for improved cross-platform compatibility and adds additional MCP servers.

Key changes:
- Added separate MCP server configurations for Unix and Windows platforms
  - shadcn-unix and shadcn-windows variants for proper command execution
  - playwright-unix and playwright-windows variants for browser automation
- Integrated Context7 MCP server with API key authentication
- Updated package version from 1.1.10 to 1.1.11
- Applied configuration updates to both root .mcp.json and template

Technical details:
- Windows configurations use 'cmd /c' wrapper to properly execute npx commands
- Unix configurations use direct 'npx' command execution
- Context7 server uses HTTPS URL endpoint with header-based authentication
- Changes apply to both the main project and create-agentic-app template

Breaking changes: None
Migration notes: Users will need to set their CONTEXT7_API_KEY if using Context7

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Leon van Zyl
2025-11-07 07:12:46 +02:00
parent ff6ead47c5
commit 187aaa2db1
4 changed files with 45 additions and 5 deletions

View File

@@ -1,8 +1,28 @@
{
"mcpServers": {
"shadcn": {
"shadcn-unix": {
"command": "npx",
"args": ["shadcn@latest", "mcp"]
},
"shadcn-windows": {
"command": "cmd",
"args": ["/c", "npx", "shadcn@latest", "mcp"]
},
"playwright-unix": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
},
"playwright-windows": {
"command": "cmd",
"args": ["/c", "npx", "@playwright/mcp@latest"]
},
"context7": {
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
}
}
}
}

View File

@@ -1,12 +1,12 @@
{
"name": "create-agentic-app",
"version": "1.1.10",
"version": "1.1.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "create-agentic-app",
"version": "1.1.10",
"version": "1.1.11",
"license": "MIT",
"dependencies": {
"chalk": "^5.3.0",

View File

@@ -1,6 +1,6 @@
{
"name": "create-agentic-app",
"version": "1.1.10",
"version": "1.1.11",
"description": "Scaffold a new agentic AI application with Next.js, Better Auth, and AI SDK",
"type": "module",
"bin": {

View File

@@ -1,8 +1,28 @@
{
"mcpServers": {
"shadcn": {
"shadcn-unix": {
"command": "npx",
"args": ["shadcn@latest", "mcp"]
},
"shadcn-windows": {
"command": "cmd",
"args": ["/c", "npx", "shadcn@latest", "mcp"]
},
"playwright-unix": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
},
"playwright-windows": {
"command": "cmd",
"args": ["/c", "npx", "@playwright/mcp@latest"]
},
"context7": {
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
}
}
}
}