mcpkit

Environment configuration

Configure the local environment and template-specific variables the current implementation expects.

Global environment readiness

Use:

mcpkit check-env

This checks Node.js, package managers, package metadata, TypeScript, the MCP SDK, and src/ presence.

Template-specific variables

HTTP templates

The generated HTTP servers listen on:

PORT

with a fallback of 3100.

Auth template

Uses:

  • AUTH_ISSUER
  • AUTH_AUDIENCE
  • AUTH_JWKS_URI

Full template

Uses the auth variables plus:

  • LOG_LEVEL

Important distinction

The CLI dev command sets MCPKIT_PORT, but the generated HTTP templates read PORT. Keep that distinction in mind when debugging local startup behavior.

On this page