appPackage manifestv2.0.4

app.managed-companyos-mcp

Managed MCP server for CompanyOS operations and governed agent access.

@lssm-tech/app.managed-companyos-mcp
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEapp.managed-companyos-mcpapps

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

6 declaracionesSELECT TO INSPECT

@lssm-tech/app.managed-companyos-mcp

MCP server that exposes Managed CompanyOS operations and resources for tenant onboarding, integration discovery, workflow status, replay, evidence, health probes, and fail-closed Managed Builder evidence tools.

What It Does

  • Hosts a ContractSpec MCP server over Managed CompanyOS contracts (companyos/*).
  • Exposes V1 read/onboarding tools, Builder readiness/replay/evidence/release tools, and one reference resource for the operator copilot.
  • Exposes tenant-safe, read-only fixture resources for Company Brain, temporal graph, experiment/outcome, and provider health projections. These resources require an authenticated tenant match plus an explicit authorization decision and never expose credential references.
  • Resolves the actor from env vars (single-tenant per process) in V1; multi-tenant HTTP transport is deferred to V2.
  • Fails closed until API keys are verified: a configured key yields a role-less user, never an admin, and commands are denied unless reference mode is on outside production. Queries and read-only resources stay available.

V1 Tools

Tool Contract
tenant.onboard companyos/commands/tenantOnboard.command.ts
tenant.get companyos/queries/tenantGet.query.ts
integration.list-providers companyos/queries/integrationListProviders.query.ts
workflow.get-status companyos/queries/workflowGetStatus.query.ts
approval.list-pending companyos/queries/approvalReasons.query.ts (stub source until control-plane reuse lands)
replay.get-packet companyos/queries/replayGetPacket.query.ts
evidence.get-receipt companyos/queries/evidenceGetReceipt.query.ts
health.worker companyos/queries/healthWorker.query.ts
builder.readiness.evaluate companyos/commands/builderReadinessEvaluate.command.ts
builder.evidence.receipt.get companyos/queries/builderEvidenceReceiptGet.query.ts
builder.replay.packet.get companyos/queries/builderReplayPacketGet.query.ts
builder.release.capsule.get companyos/queries/builderReleaseCapsuleGet.query.ts

Read-only projection resources

  • companyos://tenants/{tenantId}/company-brain
  • companyos://tenants/{tenantId}/temporal-graph
  • companyos://tenants/{tenantId}/experiment-outcome
  • companyos://tenants/{tenantId}/provider-health

These are deterministic reference projections only. They perform no writes or network access, fail closed for anonymous/cross-tenant/denied requests, and use only declared package exports.

Environment Variables

  • MANAGED_COMPANYOS_MCP_API_KEY — platform API key (required in production). It is not verified yet, so it identifies a caller but grants no role.
  • MANAGED_COMPANYOS_MCP_TENANT_ID — optional tenant pin for tenant-scoped keys.
  • MANAGED_COMPANYOS_MCP_REFERENCE_MODE — set to 1 to let the deterministic reference bindings run commands (tenant.onboard, builder.readiness.evaluate). Ignored when NODE_ENV=production; any other value keeps commands denied.
  • MANAGED_COMPANYOS_MCP_NAME — override server name (default managed-companyos-mcp).
  • MANAGED_COMPANYOS_MCP_VERSION — override server version (default 0.1.0).

Running Locally

From packages/apps/managed-companyos-mcp:

  • bun run dev
  • bun run start
  • bun run build
  • bun run typecheck
  • bun run test

Arquitectura

  • src/server.ts boots the MCP server and stdio transport.
  • src/blueprint.ts defines the app blueprint.
  • src/tools.ts installs operation specs through installOp.
  • src/resources.ts exposes the reference workspace resource.
  • src/prompts.ts registers the operator copilot prompt.
  • src/tenant-context.ts resolves the actor and the fail-closed policy gate (decide, createManagedToolDecider).
  • src/smoke.test.ts asserts the registry registers the expected number of tools and that the gate denies commands from an unverified key.

Status

Handlers are deterministic reference bindings for V1. Until lib.auth-os verifies API keys, commands run only in reference mode (MANAGED_COMPANYOS_MCP_REFERENCE_MODE=1, never in production). Builder-specific handlers are live fail-closed evidence tools: they reject raw-looking credentials, report missing provider/webhook refs as blockers, and emit Builder-scoped readiness/replay/receipt/release packets without replacing agent/workflow.

Declared capabilities.

This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.

Imports and export paths.

11 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

11 importaciones

@lssm-tech/app.managed-companyos-mcp
./dist/index.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/blueprint
./dist/blueprint.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/contract-editions
./dist/contract-editions.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/handlers
./dist/handlers.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/prompts
./dist/prompts.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/read-projection-resources
./dist/read-projection-resources.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/resources
./dist/resources.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/server
./dist/server.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/tenant-context
./dist/tenant-context.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/tools
./dist/tools.mjs · source target not verified
@lssm-tech/app.managed-companyos-mcp/*
./* · source target not verified

Dependencies and related packages.

Runtime dependencies 6
@modelcontextprotocol/sdk
catalog:ai
zod
catalog:
Development dependencies 5
@types/node
catalog:types
tsdown
catalog:build
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

cleanrm -rf dist
lintbun run lint:fix
lint:fixnode ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .
lint:checknode ../../../scripts/biome.cjs check .
buildbun ../../../scripts/tsdown.mjs
devbun ../../../scripts/tsdown.mjs --watch
startnode dist/server.js
typechecktsgo --noEmit
testbun test
companyos:builder:mcp-smokebun test src/smoke
Tu vista

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.