MCP Task Orchestrator
by github.com/jpicklyk · v4.0.2 · updated Nov 11, 2026
Workflow discipline for AI agents: work items, gates, role-scoped tool profiles and runs
Run it locally
Install the package and point your AI client at it.
Docker
docker run -i --rm ghcr.io/jpicklyk/task-orchestrator:4.0.2Environment variables
DATABASE_PATHSQLite database file path (default: data/current-tasks.db)
AGENT_CONFIG_DIRDirectory containing .taskorchestrator/config.yaml for workflow schemas (default: working dir)
MCP_TRANSPORTTransport mode: stdio (default) or http
MCP_HTTP_PORTHTTP port when using http transport (default: 3001)
MCP_SESSION_IDLE_TIMEOUT_MINUTESMinutes without a request before an HTTP MCP session is closed; the client re-initializes on its next call (default: 120)
LOG_LEVELLogging level: DEBUG, INFO, WARN, ERROR (default: INFO)
LOG_FILEOptional log file path. Unset (default) disables file logging; logs are always JSON on stderr.
API_ALLOW_QUERY_TOKEN_FOR_SSEAllow ?token= auth for SSE (browser EventSource workaround) (default: false)
API_ALLOW_UNAUTHENTICATEDConfirm flag required alongside API_AUTH_MODE=none (default: false)
API_AUTH_MODEREST API auth mode: bearer, jwks, or none (with API_ALLOW_UNAUTHENTICATED=true). Required when API_ENABLED=true
API_ENABLEDMaster REST API switch; set true to register /api/v1/* routes (default: false)
API_JWKS_ALGORITHMSComma-separated JWT algorithm allowlist for jwks mode (e.g. RS256,EdDSA)
API_JWKS_ALLOW_INSECURE_URLLoopback-only opt-in to fetch API_JWKS_URL over plaintext http (default: false)
API_JWKS_AUDIENCEExpected aud claim value in JWTs (jwks mode)
API_JWKS_CACHE_TTL_SECONDSJWKS key cache TTL in seconds (default: 300)
API_JWKS_ISSUERExpected iss claim value in JWTs (jwks mode)
API_JWKS_MAX_STALE_SECONDSOldest a cached key set may be and still be served after a failed refresh (default: max(3600, TTL))
API_JWKS_MAX_TOKEN_LIFETIME_SECONDSMaximum accepted token lifetime in seconds (default: 86400)
API_JWKS_URLJWKS endpoint URL (jwks mode); must be https and resolve to public addresses
API_REDACT_NOTE_ATTRIBUTIONRedact actor/verification on notes for non-admin callers (default: true)
API_SSE_AUTH_CHECK_INTERVAL_SECONDSInterval for token-expiry checks on open SSE connections (default: 30)
API_SSE_BUFFER_SIZELast-Event-ID replay window in event ids (default: 1000; 0 = no replay)
API_TOKENS_PATHPath to the bearer token YAML secret file (default: /run/secrets/api-tokens.yaml)
CORS_ALLOWED_HEADERSComma-separated CORS request headers allowlist
CORS_ALLOWED_METHODSComma-separated CORS methods allowlist
CORS_ALLOWED_ORIGINSComma-separated allowed CORS origins; empty means no cross-origin access
CORS_EXPOSE_HEADERSComma-separated response headers browser clients may read
CORS_MAX_AGE_SECONDSCORS preflight cache duration in seconds (default: 3600)
DATABASE_BUSY_TIMEOUT_MSSQLite busy timeout for startup paths in milliseconds (default: 5000, floor 100)
DATABASE_MAX_CONNECTIONSRead-pool connection count (default: 10, clamped to 1-64)
DATABASE_SHOW_SQLLog every SQL statement at DEBUG (default: false)
DB_COMPACT_ON_UPGRADERun the one-time post-upgrade startup compaction (default: true; false opts out)
FLYWAY_REPAIRRun Flyway repair and exit (default: false)
FTS_INTEGRITYFTS5 integrity check at startup: startup (default) or off
MCP_ALLOWED_HOSTSComma-separated Host header allowlist extending the loopback defaults (HTTP transport)
MCP_ALLOW_UNAUTHENTICATEDOpt in to MCP_TRANSPORT=http with API_ENABLED=false, serving /mcp as the local principal (default: false)
MCP_HTTP_HOSTBind address when using http transport (default: 0.0.0.0)
MCP_SERVER_NAMEService name reported in MCP identity and REST service metadata (default: mcp-task-orchestrator-current)
MCP_TOOL_PROFILETool profile over stdio: orchestration (default), knowledge, or director
READINESS_FILEReadiness marker file touched once startup succeeds (default: /tmp/mcp-task-orchestrator.ready)
RESOURCE_LEASES_ENFORCEDDeployment-wide kill switch for the resource-lease gate (default: true)
RETENTION_AUDIT_EVENTS_DAYSDays to keep audit-class events rows (default: 0 = forever)
RETENTION_CALL_LOG_DAYSDays to keep folded call_log rows (default: 90)
RETENTION_EVENTS_DAYSDays to keep activity-class events rows (default: 180)
RETENTION_LEASE_HISTORY_DAYSDays to keep closed resource_lease_history intervals (default: 365)
SCHEMA_MODESchema phase: migrate (default) applies pending migrations; validate refuses pending or future versions
UPGRADE_BACKUPVerified pre-upgrade copy of a 3.x database (<db>.pre-4.0.<yyyyMMddTHHmmssZ>.bak) taken before its first 4.0 migration; a failed copy fails startup. Set false to skip (default: true)
More MCP servers
shopify-operations-mcp
github.com/jpka
Safe-write Shopify operations: plan-before-execute writes with out-of-band approval and audit.
sw-postgres-mcp
github.com/jpka
Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.
Chuckle
github.com/jpol34
Look up meme template images by name or description, with disambiguation for ambiguous names.
Pic Gen
github.com/jqknono
Generate covers, Mermaid diagrams, cards, and terminal screenshots/images for AI workflows.
GPT Image Hub
github.com/jqy-yo
Search attributed image prompts, retrieve full templates, and browse GPT Image Hub categories.
Orthotomeo
github.com/jrainsberger
Read-only scripture-study engine: complete-or-fail concordance over Greek NT, Hebrew OT, LXX.