mcp-starter
mcp-starter is a secure, starter framework for building MCP servers with JWT-based authentication, multi-tenant enforcement, and schema validation. Built with Node.js and Docker
Tools
hello_tool
Hello tool
README
mcp-starter
Secure, starter MCP server boilerplate with JWT authentication, schema validation, and Docker support.
Built for developers who want to expose AI-compatible APIs to tools like Claude, OpenAI, Sourcegraph Cody, or custom agents using the Model Context Protocol (MCP).
Features
- JWT-based authentication with tenant isolation
- Function auto-loading from
/functionsdirectory - Inline per-function schema validation (via AJV)
- Dynamic MCP manifest generation (
/mcp-manifest.json) - Docker container
- CLI utility to generate JWTs for local testing
- Health endpoints (
/mcp,/healthz)
Running locally
Clone repo
git clone https://github.com/parmindersk/mcp-starter.git
cd mcp-starter
Run with Docker
docker-compose up
Run from code
pnpm install
pnpm start
Generating a Test Token
node tools/generateToken.js --tenant=acme --secret=supersecure
The --secret value (supersecure) must match the JWT_SECRET defined in your .env or docker-compose.yml.
Testing sample submitFeedback
curl -X POST http://localhost:3000/mcp \
-H "Authorization: Bearer YOUR_JWT_HERE" \
-H "Content-Type: application/json" \
-d '{
"method": "submitFeedback",
"params": {
"message": "Love the product!",
"rating": 5
}
}'
You can play around with the body to remove message or give an invalid value for rating to see how validation is working.
Follow SinghSpeak.com for more.
Have feedback or feature ideas? Open an issue or contribute via pull request.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.