Skip to main content
The concrete tai42_contract.app.TaiApp server (TaiMCP).

TaiMCP

tai42_skeleton.app.server.TaiMCP
The concrete tai42_contract.app.TaiApp impl — owns the FastMCP server. Exposes the contract facet namespaces as its SOLE feature/contract surface; the concrete server additionally exposes a launch surface (sse_app / http_app / run and friends) that is not part of the facade. This class is the composition root only: each feature’s impl body lives in its feature package (tools.binding.ToolBinding, agent.binding .AgentBinding, backend.registry.BackendHolder, the extension/monitoring registries, app.http.HttpSurface) and each facet forwards straight to its collaborator. Callers reach the app’s features only through the facets (app.tools.run_tool, app.backends.backend, …) or the tai42_app handle, never a flat member.

Members

tools

tai42_skeleton.app.server.TaiMCP.tools
The tool/toolkit registration, lookup, and execution facet (app.tools).

agents

tai42_skeleton.app.server.TaiMCP.agents
The agent registration and run-binding facet (app.agents).

backends

tai42_skeleton.app.server.TaiMCP.backends
The background-execution backend facet (app.backends).

sandboxes

tai42_skeleton.app.server.TaiMCP.sandboxes
The sandbox-provider facet (app.sandboxes).

storage

tai42_skeleton.app.server.TaiMCP.storage
The resource-storage facet (app.storage).

connectors

tai42_skeleton.app.server.TaiMCP.connectors
The connector registration and credential-resolution facet (app.connectors).

interactions

tai42_skeleton.app.server.TaiMCP.interactions
The interactions facet (app.interactions) — the ask facade.

accounts

tai42_skeleton.app.server.TaiMCP.accounts
The identity/accounts provider facet (app.accounts).

webhook_verifiers

tai42_skeleton.app.server.TaiMCP.webhook_verifiers
The webhook-verifier registration facet (app.webhook_verifiers).

channels

tai42_skeleton.app.server.TaiMCP.channels
The channel registration facet (app.channels).

conversations

tai42_skeleton.app.server.TaiMCP.conversations
The conversation-bridge facet (app.conversations).

media

tai42_skeleton.app.server.TaiMCP.media
The served-media ingestion facet (app.media).

monitoring

tai42_skeleton.app.server.TaiMCP.monitoring
The monitoring-backend facet (app.monitoring).

extensions

tai42_skeleton.app.server.TaiMCP.extensions
The extension registration facet (app.extensions).

http

tai42_skeleton.app.server.TaiMCP.http
The custom HTTP route facet (app.http).

clients

tai42_skeleton.app.server.TaiMCP.clients
The pooled-client lifecycle facet (app.clients).

lifecycle

tai42_skeleton.app.server.TaiMCP.lifecycle
The startup/shutdown/reload lifecycle facet (app.lifecycle).

admin

tai42_skeleton.app.server.TaiMCP.admin
The in-process admin-operations facet (app.admin).

config

tai42_skeleton.app.server.TaiMCP.config
The process config-manager facet (app.config).

sub_app

tai42_skeleton.app.server.TaiMCP.sub_app
The sub-app MCP router facet (app.sub_app).

backup

tai42_skeleton.app.server.TaiMCP.backup
The backup-section facet (app.backup).

versioning

tai42_skeleton.app.server.TaiMCP.versioning
The versioned-document store facet (app.versioning).

presets

tai42_skeleton.app.server.TaiMCP.presets
The presets facet (app.presets).

states

tai42_skeleton.app.server.TaiMCP.states
The subject-keyed state store facet — the tai42_contract.app.AppStates namespace.

compute

tai42_skeleton.app.server.TaiMCP.compute
The compute facet — the tai42_contract.app.AppCompute namespace.

tool_meta

tai42_skeleton.app.server.TaiMCP.tool_meta
The tool-metadata overlay facet — the tai42_contract.app.AppToolMeta namespace. The organizational overlay (folders + per-tool rows) over any live tool.

fastmcp

tai42_skeleton.app.server.TaiMCP.fastmcp
The raw, ungoverned FastMCP server — the escape hatch beneath the facets. Prefer the facets; reach here only for what the facets don’t wrap (prompts, resources, add_middleware, sampling, elicit-handlers, completions, server metadata such as name/version/auth, the process-global fastmcp.settings). Anything registered THROUGH this server skips the platform’s governance: manifest gating, the extension registry’s validate(), and the access-control gate. It is deliberately NOT on the tai42_contract.app.TaiApp protocol — the contract stays FastMCP-free so an alternative impl remains possible, so this accessor is skeleton-specific. Named fastmcp (not mcp) because app.sub_app already owns the sub-MCP namespace; mcp here would read as the sub-MCP.

emit_list_changed

tai42_skeleton.app.server.TaiMCP.emit_list_changed
Broadcast a list_changed notification to every active MCP session for the given registry kind. kind is SINGULAR (tool / prompt / resource). The generic in-process registration-mutation path (e.g. a dev’s runtime add_prompt via app.fastmcp) awaits this after its own registry mutation; the reload path drives the same registry from its sync scheduler. Parameters

sse_app

tai42_skeleton.app.server.TaiMCP.sse_app
Build the SSE ASGI app for this server, recording the served SSE surface. The message endpoint is mounted and announced with a trailing slash (a supplied message_path gains one): the mount matches the announced address, so no message is redirected to an absolute address a TLS-ending proxy would rewrite. Parameters

http_app

tai42_skeleton.app.server.TaiMCP.http_app
Build the streamable-HTTP (or SSE) ASGI app for this server, recording the served surface. Parameters

run_async

tai42_skeleton.app.server.TaiMCP.run_async
Run the FastMCP server asynchronously over transport. Parameters

run

tai42_skeleton.app.server.TaiMCP.run
Run the FastMCP server (blocking) over transport. Parameters

run_backend

tai42_skeleton.app.server.TaiMCP.run_backend
Launch the background-execution backend with args, its drain bound declared as this process’s exit drain. The backend owns this process’s stop phase: it may take its declared drain (drain_timeout) to finish its in-flight work. The app’s lifespan shutdown runs after it, and the bounds its modules declare for that shutdown add to the backend’s drain in the bound the bus announces when the worker leaves. Parameters

preset_manager

tai42_skeleton.app.server.TaiMCP.preset_manager
The preset register/reload engine (spec map + quarantine set + register/reload/remove/rehydrate). Skeleton-only surface — like emit_list_changed and fastmcp, it is deliberately not on the tai42_contract.app.TaiApp protocol; the preset routes and the startup/reload rehydration hook reach it through this concrete instance.