MCP (Model Context Protocol) server powered by Nitro
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"nitro-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This project is an MCP (Model Context Protocol) server using streamable HTTP transport powered by the Nitro. It is designed to demonstrate how to implement an MCP Server including authentication using pluggable providers.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml
Dynamic problem-solving through sequential thought chains
Persistent memory using a knowledge graph
Just a Better Chatbot. Powered by Agent & MCP & Workflows.
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
MCP Security Weekly
Get CVE alerts and security updates for Nitro Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This project is an MCP (Model Context Protocol) server using streamable HTTP transport powered by the Nitro. It is designed to demonstrate how to implement an MCP Server including authentication using pluggable providers.
/toolsecho: Echoes back the input, demonstrating basic tool functionalitygetPostsByUser: Fetches posts by a user using an API, demonstrating output schema validation and structuredContentposts: Fetches posts from an API, demonstrating resource handlingusers: Fetches users from an API, demonstrating resource handlinggit clone https://github.com/yourusername/nitro-mcp-server.git
cd nitro-mcp-server
pnpm install
Start the server with:
pnpm dev
Running the MCP inspector:
pnpm inspect
http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=<token> to access the MCP inspector.http://localhost:3000/mcp.To build the server for production, run:
pnpm build
This will create a production-ready build in the .output directory.
Configuration options can be set in the .env file. Options include:
NITRO_MCP_SERVER_HOST: The host the server listens on (default: localhost)NITRO_MCP_SERVER_PORT: The port the server listens on (default: 3000)Authentication is supported via pluggable providers. Currently, Auth0 and Microsoft Entra ID are available. You can enable authentication by configuring the provider in your server settings or your local .env file in development.
As many Identity Providers do not support Dynamic Client Registration (DCR), this application uses an oAuth proxy solution to provide DCR as MCP specification requires, but delegates all the authentication responsibilities to the Identity Provider. Please note as such apply appropriate rate limiting to prevent misuse of register endpoint.
Example configuration:
mcpServer: {
auth: {
providers: {
auth0: {
type: 'auth0',
domain: '<your-auth0-domain>',
clientId: '<your-client-id>',
clientSecret: '<your-client-secret>',
scope: 'openid profile email',
},
entra: {
type: 'entra',
tenantId: '<your-tenant-id>',
clientId: '<your-client-id>',
clientSecret: '<your-client-secret>',
scope: 'openid profile email',
}
}
}
}
These settings are configurable in an `.env' file or directly in the development environment, and at the server configuration in production. See the env.example file for a template.
See the provider files in lib/auth/ for more details and advanced options.
Pull requests and issues are welcome! Please open an issue to discuss your ideas or report bugs.
This project is licensed und