MCP Server Boilerplate
by SekiroKenjii
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | HTTP bind address | 127.0.0.1 |
| PORT | No | HTTP port | 3000 |
| NODE_ENV | No | production emits plain JSON logs | development |
| LOG_LEVEL | No | fatal…trace/silent | info |
| AUTH_TOKENS | No | Comma-separated tokens accepted by the example verifier. | |
| AUTH_ENABLED | No | Require a bearer token on /mcp (HTTP transport). | false |
| CORS_ORIGINS | No | Comma-separated CORS origins for browser clients. Empty disables CORS. | |
| ALLOWED_HOSTS | No | Allowed Host hostnames (port-agnostic). Empty disables protection. | 127.0.0.1,localhost |
| MCP_TRANSPORT | No | stdio or http (CLI --transport wins) | stdio |
| AUTH_REQUIRED_SCOPES | No | Comma-separated scopes every token must carry. | |
| AUTH_RESOURCE_METADATA_URL | No | Protected Resource Metadata URL advertised in 401 responses. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| echoA | Echo a message back to the caller, optionally upper-cased. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summarize | Build a prompt asking the model to summarize the provided text. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| server-info | Name, version and runtime information for this MCP server. |
Latest Blog Posts
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/SekiroKenjii/mcp-boilerplate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server