appPackage manifestv3.0.5

app.communicationos-mcp

MCP server exposing CommunicationOS contracts as AI-callable tools via the Model Context Protocol.

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

Source snapshot bcc79fcc · Declared package version 3.0.5. 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.communicationos-mcpapps

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

11 declaraciones · se muestran las primeras 6SELECT TO INSPECT

CommunicationOS MCP

Governed Model Context Protocol surface for CommunicationOS. It exposes tenant-scoped thread reads, drafting, summarization, extraction, provider health, inbound-route inspection, and the canonical Forms operation registry. Forms tools inherit their contract auth and PII annotations. Direct communication.reply.send is intentionally excluded: outbound delivery remains subject to room membership, current authority, and the approval/send orchestrator.

MailerSend diagnostics

createMailerSendMcpProviderDependencies binds the read-only integrations.email.provider.health and integrations.email.inbound-routes.list tools. The host injects a tenant-and-connection-scoped resolver returning MailerSend credentials and a domain id. Secrets never appear in MCP tool inputs or outputs.

Both tools take tenantId as input, but they only run for the verified subject (src/provider-scope.ts). The input tenant must equal the subject's tenantId, and the subject must hold the admin role, because the contracts declare policy.auth: 'admin' and the MCP gate itself only checks for an authenticated actor. Anything else is FORBIDDEN (403) before the connection resolver is called, so a token for one tenant can never load another tenant's MailerSend connection.

Subject and trust boundary

The stdio entrypoint (startCommunicationOsMcpServer) verifies one CommunicationOS access token at startup with createCommunicationAccessTokenVerifier from @lssm-tech/integration.communication-os-host-auth, then builds the server. It reads only these variables:

Variable Propósito
COMMOS_MCP_ACCESS_TOKEN Access token minted by communicationos-api (issuer https://api.hcircle.app, audience communication-os-api).
COMMOS_MCP_TENANT_ID, COMMOS_MCP_WORKSPACE_ID, COMMOS_MCP_SPACE_ID The scope the token must carry exactly.
COMMUNICATION_OS_ACCESS_TOKEN_SECRET The shared HS256 signing secret (at least 32 bytes).

A verified, in-scope token becomes the subject of every tool call: { actor: 'user', userId: <principalId>, tenantId, workspaceId, roles }, with the token's space as the policyContext.spaceId fact. Handlers and policies therefore see the verified workspace and space, not only the tenant. The principal and the token's exp are cached; from exp onward, and whenever a variable is missing or the secret, signature, issuer, audience, scope or expiry does not verify, every call is anonymous and the MCP auth gate rejects it. The startup log line reports subject: authenticated | unconfigured | rejected and never the token. Restart the gateway with a fresh token to renew it.

Trust boundary. Verifying the token needs the shared HS256 secret, which can also mint tokens. Run this gateway only server-side, next to communicationos-api and inside its secret boundary, never on a client or developer machine. Distributing it to clients would need a contract-first token introspection route instead of the shared secret.

The import-time server export and buildCommunicationOsMcpServer() without a resolver stay anonymous. startCommunicationOsMcpServer builds and connects its own gateway after verification, so the exported server is not the connected instance. The default server binds no provider resolver, so production hosts must also inject a vault-backed connection resolver before the provider tools can execute; the subject guard above still applies.

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.

4 entries

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

4 importaciones

Dependencies and related packages.

Runtime dependencies 11
@modelcontextprotocol/sdk
catalog:ai
Development dependencies 3
@types/node
catalog:types
typescript
catalog:

Package scripts.

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

startbun src/index.ts
typechecktsgo --noEmit
lint:checknode ../../../scripts/biome.cjs check .
lintbun run lint:fix
lint:fixnode ../../../scripts/biome.cjs check --write .
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.