@sentia-labs/mcp
v0.1.1
Published
Sentia's production agent-native MCP server for coding agents and enterprise Streamable HTTP integrations.
Maintainers
Readme
Sentia MCP
This package is Sentia's MCP server. It uses the official
@modelcontextprotocol/sdk for both stdio and Streamable HTTP transports.
Sentia business logic stays behind the command-layer REST API; MCP tools are
thin, typed adapters over those commands.
The previous legacy design tools and setup docs were intentionally removed.
Keep transport, OAuth, audit, and dispatch primitives aligned with the
public command-layer contracts in @sentia-labs/contracts.
Tool input schemas are generated at runtime from the same Zod contracts used
for validation through @asteasolutions/zod-to-openapi; do not hand-write
parallel JSON schemas for agent-native tools.
Transports:
sentia-mcp --mode=stdio: local coding-agent install for Claude Code, Cursor, Codex-style terminals, and other MCP-aware clients.sentia-mcp --mode=http: hosted Streamable HTTP MCP endpoint at/mcp. This is the enterprise remote transport; the previous bespoke/mcp/v1/tools/listand/mcp/v1/tools/callprotocol has been removed.
Current command-layer tools (kept in sync with src/tools/index.ts's
TOOL_INDEX — the dispatcher's scopes_supported metadata is derived from
this same registry, so this table and the server's advertised OAuth scopes
can never drift):
sentia_source_connectsentia_source_statussentia_research_artifact_statussentia_population_createsentia_population_statussentia_population_listsentia_research_runsentia_run_statussentia_research_run_listsentia_evidence_querysentia_world_model_coveragesentia_world_model_edgessentia_world_model_segmentssentia_world_model_model_cardsentia_world_model_graphsentia_agent_decision_createsentia_agent_decision_getsentia_agent_decision_listsentia_agent_decision_bindsentia_simulation_createsentia_simulation_statussentia_simulation_watchsentia_simulation_resultssentia_simulation_listsentia_browser_auth_listsentia_browser_auth_get
Authenticated browser walks pass browserAuthArtifactId from
sentia_browser_auth_list (approved capture flow). Raw cookies /
storageState are rejected. Interactive login capture remains CLI
sentia auth capture — MCP lists/binds artifacts only. Website / browser
walkthrough agent counts default to 8 and hard-max at 10
(BROWSER_AGENT_CAP); browser credit multiplier is 4× vs text. Prefer
sentia_simulation_watch (MCP notifications/progress when the client
sends progressToken); otherwise poll sentia_simulation_status every
2-5s (same SimulationDto as CLI), then open resultsUrl for live/replay.
The public MCP surface must stay spec-compliant, typed, permission-scoped,
observable, and aligned with docs/strategy/ai-native-platform-plan.md.
Customer-facing install and API reference:
docs/agent-native-mcp-api.md
Scope map:
sentia_source_connect:sources:writesentia_source_status:sources:readsentia_research_artifact_status:populations:readsentia_population_create:populations:writesentia_population_status:populations:readsentia_population_list:populations:readsentia_research_run:research:writesentia_run_status:research:readsentia_research_run_list:research:readsentia_evidence_query:evidence:readsentia_world_model_*:evidence:read(read tools)sentia_agent_decision_create:agent_decisions:writesentia_agent_decision_get:agent_decisions:readsentia_agent_decision_list:agent_decisions:readsentia_agent_decision_bind:agent_decisions:writesentia_simulation_create:simulations:writesentia_simulation_status/_watch/_results/_list:simulations:readsentia_browser_auth_list/_get:browser_auth:read
