Skip to content

Getting Started

nogoo9 is a platform for agent-driven, on-demand pod orchestration in Kubernetes (k8s/k3s) without Custom Resource Definitions (CRDs). It allows developers and AI agents to dynamically spin up, route to, and manage ephemeral workloads.

Installation

Add the package to your project or install globally:

bash
bun install @nogoo9/no-crd

Running the MCP Server

You can run the server using Bun, Deno, or Node.js from the source file src/server-entry.ts or by using the global CLI.

bash
bun run src/server-entry.ts

Using Node.js

bash
npx tsx src/server-entry.ts

Using Deno

bash
deno run --allow-all src/server-entry.ts

Configuration

The server can be configured via environment variables or CLI flags:

Environment VariableCLI OptionDescriptionDefault
PORT--portPort to bind the HTTP/SSE server3000
HOST-H, --hostHost interface to bind the HTTP/SSE server to
(Available from v0.2.0)
0.0.0.0
TRANSPORT--transportTransport protocol (http, stdio, both)http
MODE--modeAccess control mode (cluster, namespaced)cluster
DEFAULT_NAMESPACE--namespaceTarget Kubernetes namespacedefault
DISABLE_PERMISSION_CHECKS--disable-permission-checksBypasses RBAC verification checksfalse
CORS_ALLOWED_ORIGIN / CORS_ORIGIN--cors-originCustom Access-Control-Allow-Origin header*
CORS_ALLOWED_METHODS / CORS_METHODS--cors-methodsCustom Access-Control-Allow-Methods headerGET, POST, OPTIONS
CORS_ALLOWED_HEADERS / CORS_HEADERS--cors-headersCustom Access-Control-Allow-Headers header (allows mcp-protocol-version by default)Content-Type, Authorization, mcp-protocol-version
REGISTRY_URL-Image registry endpoint for listing images-
BASE_URL--base-urlBase URL path prefix for hosting behind a reverse proxy subpath
(Available from v0.2.0)
-
AUTH_ENABLED--auth-enabledEnables JWT token authentication on MCP tools and route proxy
(Available from v0.2.0 - Experimental)
false
JWT_SECRET--jwt-secretSymmetric HMAC-SHA256 secret for token verification
(Available from v0.2.0 - Experimental)
-
JWT_PUBLIC_KEY--jwt-public-keyPEM encoded RSA/ECDSA public key for asymmetric token verification
(Available from v0.2.0 - Experimental)
-
JWKS_URI--jwks-uriRemote JWKS endpoint URL to dynamically retrieve verification keys
(Available from v0.2.0 - Experimental)
-
AUTH_SUB_JSONPATH--auth-sub-jsonpathJSONPath expression to extract user subject from JWT payload
(Available from v0.2.0 - Experimental)
$.sub
AUTH_ISSUER--auth-issuerIdentifier URL for the Authorization Server advertised in metadata discovery
(Available from v0.2.0 - Experimental)
-
DEFAULT_WORKSPACE_PORT--default-workspace-portDefault target port inside the workspace pods to proxy traffic to
(Available from v0.2.0 - Experimental)
3000