MCP Server Template
by hpartidas
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Interface to bind. Optional; defaults to 127.0.0.1. The Dockerfile and docker-compose.yml set 0.0.0.0. | 127.0.0.1 |
| PORT | No | Standard HTTP port for the server to listen on. | |
| NODE_ENV | No | Standard Node.js environment name. | |
| AUTH_ISSUER | Yes | The authorization server issuer. Must be https in production. | |
| DATABASE_URL | Yes | Pooled runtime database connection used by the Prisma client. | |
| AUTH_JWKS_URL | Yes | The authorization server JWKS URL. Must be https in production. | |
| MCP_RESOURCE_URL | Yes | This server's canonical URL, used as the required token audience (RFC 8707). | |
| UPSTREAM_API_KEY | No | API key for the example upstream client. This is the upstream service's credential, never the caller's MCP token. | |
| AUTH_TENANT_CLAIM | No | Optional claim name carrying the caller's organization. When set, tokens without a valid value receive 403 not_linked. | |
| DATABASE_POOL_MAX | No | Per-instance database pool size. Optional in development/test (default 4); required in production. | |
| MCP_ALLOWED_HOSTS | Yes | Comma-separated hostnames allowed on the Host header for /mcp. No wildcard. | |
| UPSTREAM_BASE_URL | No | Base URL for the example upstream client. | |
| DIRECT_DATABASE_URL | No | Direct database connection used for migrations only (prisma migrate). | |
| MCP_ALLOWED_ORIGINS | Yes | Comma-separated hostnames allowed on the Origin header for /mcp. No wildcard. | |
| UPSTREAM_TIMEOUT_MS | No | Timeout in milliseconds for the example upstream client. | |
| AUTH_REQUIRED_SCOPES | No | Optional comma-separated endpoint-wide required scopes, on top of each tool's own scope. Each must be <domain>:read or <domain>:write. | |
| MCP_REQUEST_STATE_KEY | Yes | HMAC-SHA256 key for the MRTR requestState codec. Must be at least 32 bytes and shared across every replica. | |
| AUTH_REQUIRE_AT_JWT_TYP | No | Controls the typ: at+jwt check, on by default. To accept an issuer that omits typ, set this to false together with AUTH_TYP_EXCEPTION_REASON and AUTH_TYP_EXCEPTION_ISSUER. | true |
| AUTH_TYP_EXCEPTION_ISSUER | No | Issuer allowed to omit typ. Must equal AUTH_ISSUER and is used with AUTH_REQUIRE_AT_JWT_TYP=false and AUTH_TYP_EXCEPTION_REASON. | |
| AUTH_TYP_EXCEPTION_REASON | No | Reason of at least 20 characters for accepting an issuer that omits typ. Used with AUTH_REQUIRE_AT_JWT_TYP=false and AUTH_TYP_EXCEPTION_ISSUER. | |
| MCP_MAX_REQUEST_BODY_BYTES | No | Upper bound on a POST body. Optional; defaults to 4 MiB. | |
| DATABASE_STATEMENT_TIMEOUT_MS | No | Per-query database timeout in milliseconds. Optional in development/test (default 30000); required in production. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityNo data
ResponsivenessOutdated data