Skip to Content
This documentation is provided with the HEAT environment and is relevant for this HEAT instance only.
InternalCore APICore API agent MCP

Core API agent MCP

Engineering-only reference for MCP clients connecting to a HEAT cluster. The endpoint lives on Core API, not the versioned v2 public API.

Enablement

Platform keyDefaultPurpose
system.core.agent_mcp_enabledfalseMaster switch; /api/mcp returns 404 when false

Scope access (Off | Read | Write)

KeyRead toolsWrite tools
system.core.agent_mcp_projects_accessdiscover_projects, projects_list, project_getproject_create, project_update
system.core.agent_mcp_sessions_accessdiscover_session_templates, sessions_*, session_*session_create
system.core.agent_mcp_templates_accessdiscover_node_templates, discovery_node_templates, template lists/getsession_template_create
system.core.agent_mcp_runners_accessrunner_types_list, runner_tasks_list(none yet)

Session outputs (Off | Metadata | Data)

KeyPurpose
system.core.agent_mcp_session_outputs_accessMetadata: node_output_summary without blob fetch. Data: adds node_output_data.

Legacy boolean *_enabled keys map to Read (and outputs Metadata for sessions) when *_access is unset.

Hot reload: keys are read from Postgres on every MCP request; no Core API restart.

Endpoint

  • URL: GET/POST /api/mcp (Streamable HTTP)
  • Auth: system.core.auth_mode + Bearer when required
  • First tools: platform_status, then agent_mcp_capabilities

Always available (master on)

GroupTools
Orientationplatform_status (recommended first), platform_version, platform_health, platform_summary, platform_auth_context
Policyagent_mcp_capabilities
Fragmentsfragment_*
Release discoverydiscovery_* (release bundle sections)

Platform vs Cluster Manager

Core API MCP tools cover version, DB health, and operational counts (sessions, tasks, projects). They do not proxy Cluster Manager watchdog advisories.

When the MCP client uses an Administrator Bearer token on the same site origin, it may also call (HTTP, not MCP):

EndpointPurpose
GET /api/environment/advisoriesActive environment advisories (security, performance, availability)
GET /api/environment/metrics/service-latencyService probe latencies

platform_status includes these paths in externalEndpoints for agent discoverability.

Client example (LM Studio mcp.json)

{ "mcpServers": { "heat": { "url": "https://your-site.example/api/mcp", "headers": { "Authorization": "Bearer <HEAT_API_TOKEN>" } } } }