Example Next.js MCP Server
Provides a read-only check_database tool that uses Prisma to verify database connectivity.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Example Next.js MCP Serverlist the available tools on the MCP server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Rejectionism CampaignOS
The operational headquarters for REJECTIONISM, the satirical art movement built around rejection.
SECURITY WARNING:
UNAUTHENTICATED_TEST_MODE=true
UNAUTHENTICATED TEST SYSTEM — DO NOT STORE PRIVATE OR SENSITIVE DATA
This test version intentionally has no authentication. Never store passwords, tokens, bank details, or sensitive personal data. Proper authentication and authorization is the first post-MVP milestone.
Documentation
Related MCP server: Example Next.js MCP Server
Architecture Overview
CampaignOS exposes two primary interfaces powered by the same shared server-only domain service layer (lib/campaign/) and PostgreSQL database:
Admin Web Interface (
/admin): Interactive operations dashboard and registers for Work Items, Canon, Decisions, Visual Assets, Websites, Content Pieces, and Contacts.Remote MCP Server (
/api/mcp): Stateless Model Context Protocol endpoint exposing 10 campaign management tools and bootstrap diagnostic tools for AI clients.
All mutations use optimistic concurrency control (expectedVersion) and record an auditable Activity entry in the same database transaction.
Environment Configuration
Configure the following variables in .env (or Vercel settings):
# PostgreSQL connection string for Prisma pg adapter
DATABASE_URL=postgresql://user:password@localhost:5432/campaignos
# Temporary unauthenticated test mode (must be exactly "true" to enable operations)
UNAUTHENTICATED_TEST_MODE=trueWhen UNAUTHENTICATED_TEST_MODE is not "true", the application fails closed: /admin shows a disabled notice and all MCP tool writes return a TEST_MODE_DISABLED error.
Local Development Quick Start
# 1. Install dependencies
pnpm install
# 2. Generate Prisma client
pnpm db:generate
# 3. Apply migrations to your local/dev database
pnpm db:migrate
# 4. Seed canonical Rejectionism data
pnpm db:seed
# 5. Start development server
pnpm devVisit:
Admin Dashboard:
http://localhost:3000/adminHealth Diagnostic:
http://localhost:3000/api/healthMCP Endpoint:
http://localhost:3000/api/mcp
Connecting AI Clients (OpenAI Codex, Claude Desktop, ChatGPT)
OpenAI Codex / Claude Desktop / Cursor (claude_desktop_config.json):
{
"mcpServers": {
"rejectionism-campaign-os": {
"url": "http://localhost:3000/api/mcp"
}
}
}MCP Inspector (Interactive Tool Debugging):
npx @modelcontextprotocol/inspector http://localhost:3000/api/mcpRunning the Smoke Client:
pnpm test:client -- http://localhost:3000Next Mandatory Milestone
The first post-MVP milestone is implementing proper authentication and authorization (e.g. OAuth 2.0 / CIMD / session auth) to replace the temporary unauthenticated test mode.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA drop-in MCP server implementation for Next.js projects using Vercel MCP Adapter, allowing developers to integrate model context protocol functionality with custom tools, prompts, and resources.-
- AlicenseNot gradedqualityDmaintenanceA drop-in Model Context Protocol server implementation for Next.js projects that enables AI tools, prompts, and resources integration using the Vercel MCP Adapter.MIT
- -licenseNot gradedqualityNot gradedmaintenanceA template for building MCP servers in Next.js applications using the Vercel MCP Adapter. Provides a foundation for adding custom tools, prompts, and resources to any Next.js project with deployment support on Vercel.-
- AlicenseNot gradedqualityDmaintenanceA template for deploying Model Context Protocol servers as Next.js routes using the mcp-handler adapter, enabling easy integration of MCP tools, prompts, and resources into any Next.js application.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/monsteruk-crm/rejectionism-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server