Provides authentication and user management capabilities, enabling secure API key management and user-specific access control for MCP servers.
Provides access to Next.js documentation through MCP tools, allowing AI agents to retrieve information about Next.js features like the app router.
MCP Server with Clerk Authentication
A Next.js-based Model Context Protocol (MCP) server with integrated Clerk authentication and user-specific API key management.
Quick Start
Clone and install:
git clone [repository-url] cd ve-nextjs-mcp-server npm installConfigure Clerk (see PROJECT_DOCUMENTATION.md for detailed instructions):
Create Clerk account and application
Disable sign-ups in Clerk dashboard
Copy environment variables to
.env.local
Start development server:
npm run devAccess dashboard:
Visit http://localhost:3000
Sign in with authorized account
Create API keys for MCP access
Related MCP server: ServeMyAPI
Documentation
PROJECT_DOCUMENTATION.md - Complete project documentation for AI agents and developers
examples/ - Authentication examples and client code
Features
🔐 Clerk Authentication - Sign-in only access control
🗝️ API Key Management - User-specific key creation and management
⚙️ MCP Integration - Ready-to-use MCP server with Next.js documentation tool
🛡️ Multiple Auth Methods - User keys, OAuth 2.1 with PKCE (Proof Key for Code Exchange), bearer tokens
📱 Responsive Dashboard - Modern UI for key management
API Usage
Security
✅ Sign-in only access (no public registration)
✅ Admin-controlled user management
✅ User-isolated API keys
✅ Scoped permissions
✅ Secure key generation
For complete documentation, see PROJECT_DOCUMENTATION.md.