Skip to content

MCP Tools Reference

Audience: developer integrating an LLM agent with Cortex via the Model Context Protocol.

The Cortex MCP server (default port 3001) exposes tools prefixed with cortex_*. All tools return JSON. Error responses include a structured { code, hint, context? } object.


The MCP server supports five variants that control which tools are available. The variant is set via the MCP_VARIANT environment variable.

VariantTransportToolsUse case
mainStreamableHTTPAll (29 tools)Self-hosted full access
claude-codestdioAll (29 tools)Claude Code CLI/IDE integration
cloudStreamableHTTP + OAuthRead-only subsetCloud-hosted LLM consumers (claude.ai, ChatGPT, Cursor)
praxisStreamableHTTPRead-only subsetPraxis governance agent
publicStreamableHTTPMinimal read-onlyPublic demo
Toolmainclaude-codecloudpraxispublic
cortex_statusRRRRR
cortex_searchRRRR
cortex_profil_pack_hyosRRRRR
cortex_profil_listRRRRR
cortex_profil_forgerWW
cortex_profil_enrichirWW
cortex_profil_varianteWW
cortex_catalogue_searchRRRRR
cortex_catalogue_blocRRRRR
cortex_catalogue_modelesRRRRR
cortex_catalogue_ingestWW
cortex_workspace_scopeRRR
cortex_workspace_templatesRRR
cortex_workspace_draftWW
cortex_workspace_patchWW
cortex_workspace_archiveWW
cortex_workspace_deleteWW
cortex_workspace_signWW
cortex_workspace_spawn_agentWW
cortex_workspace_enrichWW
cortex_session_resolveRRR
cortex_memory_notesRRR
cortex_memory_project_feedRRR
cortex_memory_resumeRRR
cortex_memory_patternsRRR
cortex_memory_checkpointWW
cortex_memory_depositWW
cortex_gov_atomsRRRRR
cortex_gov_addonsRRRRR

R = read, W = write, — = not available.


System health, version, service checks, node/edge/document counts.

ParamTypeRequiredDescription
(none)

Returns: { version, status, nodeCount, edgeCount, documentCount, checks }.


Transversal full-text search via MeiliSearch. Covers all indexed types (blocs, profils, projects, missions, ODMs, etc.).

ParamTypeRequiredDescription
querystringyesSearch query
filtersRecord<string, string | string[]>noFacet filters
limitnumbernoMax results

Pack HYOS for agent onboarding. Returns profil + blocs + TOON + instance_id (if project_id provided). The instance_id must be used in all produced artefacts for traceability.

ParamTypeRequiredDescription
idstringyesProfil ID (e.g. profil_hyos:profil_developpeur_fullstack_expert)
project_idstringnoIf provided, instantiates the profil and links it to the project
bloc_typesstringnoComma-separated bloc types to include (default: all)

List HYOS profiles with optional filters.

ParamTypeRequiredDescription
originmodele | sur_mesure | variantenoFilter by origin
ownerstringnoFilter by owner
limitnumbernoMax results (default: 200)

Assemble a HYOS profile from blocs. Write tool.

ParamTypeRequiredDescription
labelstringyesProfile label
rolestringyesProfile role
missionstringyesProfile mission
mindsetstringnoMindset
keywordsstring[]noKeywords
sectorsstring[]noSectors
blocsstring[]yesBloc IDs to assemble (min 1)
originmodele | sur_mesureyesOrigin
modele_idstringnoSource modele ID (if origin=modele)
ownerstringnoOwner

Add blocs to an existing HYOS profile. Write tool.

ParamTypeRequiredDescription
idstringyesProfile ID
blocsstring[]yesBloc IDs to add (min 1)

Derive a variante from an existing profile. Write tool.

ParamTypeRequiredDescription
idstringyesSource profile ID
labelstringnoVariante label
rolestringnoRole override
missionstringnoMission override
mindsetstringnoMindset override
keywordsstring[]noKeywords override
sectorsstring[]noSectors override
blocsstring[]noBlocs override
ownerstringnoOwner override

Unified catalogue search. If query is empty or *, lists blocs with filters. Otherwise full-text search.

ParamTypeRequiredDescription
querystringnoSearch text (* or empty = listing)
typeskill | expertise | methode | tool | scopenoFilter by bloc type
categorystringnoFilter by category
tagsstring[]noFilter by tags
limitnumbernoMax results (default: 100)
offsetnumbernoPagination offset (default: 0)

Bloc detail (layer 1 + layer 2).

ParamTypeRequiredDescription
idstringyesBloc ID
versionstringnoSemver for historical version

List modeles or get modele detail.

ParamTypeRequiredDescription
idstringnoModele ID (omit to list all)

Ingest or validate a HYOS bloc. Write tool.

ParamTypeRequiredDescription
blocobjectyesJSON object conforming to arka.hcm.block.v1
dry_runbooleannoIf true, validate without persisting (default: false)

Adaptive scope view. Drills down by level based on which parameter is provided.

ParamTypeRequiredDescription
project_idstringnoProject detail + team + MCTs + ODMs + CRs
mission_idstringnoMission detail + ODMs + CRs
odm_idstringnoODM detail + tasks + CRs
task_idstringnoTask detail + task_crs + qa_crs
cr_idstringnoCR detail

Without any parameter: returns workspace overview (project list + totals).

List templates or get template detail.

ParamTypeRequiredDescription
typestringnoTemplate type (e.g. ODM, TASK, MISSION_CONTRACT). Omit to list all.

Create a draft entity from a template. Write tool.

ParamTypeRequiredDescription
template_typestringyesTemplate type (ODM, TASK, MISSION_CONTRACT, DECISION, RESILIENCE, etc.)
dataobjectyesEntity data fields (label required, rest depends on template)
contextobjectnoParent context: project_id, mission_id, mct_id, odm_id, task_id, contributor_id, note_ids

Update an entity. Write tool.

ParamTypeRequiredDescription
entity_typeproject | mission_contract | odm | task | dispatchmap | resilienceyesEntity type
idstringyesEntity ID
fieldsobjectyesFields to update

Archive a workspace entity. Write tool.

ParamTypeRequiredDescription
entity_typeproject | mission | odm | taskyesEntity type
idstringyesEntity ID
actorstringnoActor ID or label

Delete a draft workspace entity. Write tool.

ParamTypeRequiredDescription
entity_typeproject | mission | odm | taskyesEntity type
idstringyesEntity ID
actorstringnoActor ID or label

Leader signature. Seals an entity: TASK->SIGNED, ODM->COMPLETED, MCT->VALIDATED, PROJECT->ARCHIVED. Write tool.

ParamTypeRequiredDescription
entity_typetask | odm | mct | projectyesEntity type to sign
idstringyesEntity ID
signed_bystringnoLeader/signer ID
notesstringnoSignature notes

Spawn a governed agent. Validates prerequisites (decision/MC/ODM/task), instantiates the HYOS profile, generates a validation token (5min TTL). Write tool.

ParamTypeRequiredDescription
project_idstringyesProject ID (must be ACTIVE)
profile_idstringyesProfile ID from catalogue
mission_context{ kind, id }yesGovernance context (kind: decision/mc/odm/task)
agent_name_hintstringnoDesired agent name
team_namestringnoTeam name for Agent Teams

Merge data into an existing node. Protected fields are forbidden. Write tool.

ParamTypeRequiredDescription
idstringyesNode ID to enrich
dataobjectyesData to merge

Detect if a Leader is active on a project. Read tool.

ParamTypeRequiredDescription
project_idstringyesProject ID

Returns: { found, instance_id?, profil_id?, agent_name?, version?, last_activity?, project_status? }.


Retrieve Praxis notes filtered by project, agent, or level.

ParamTypeRequiredDescription
project_idstringnoFilter by project
agent_idstringnoFilter by agent
niveauL2 | L3 | L4 | L5 | CRnoFilter by level
limitnumbernoMax results (default: 200)
offsetnumbernoPagination offset (default: 0)

Project memory view: notes, CR notes, decisions, and checkpoints.

ParamTypeRequiredDescription
project_idstringyesProject ID
limitnumbernoMax per family (default: 20)
sort_bydate | namenoSort order (default: date)
status_filterall | active | inactivenoStatus filter (default: all)

Agent memory resume on a project (decisions, errors, patterns, blocages).

ParamTypeRequiredDescription
agent_idstringyesAgent ID
project_idstringyesProject ID

Cross-project patterns and blocages (system memory).

ParamTypeRequiredDescription
typepatterns | blocagesnoMemory type (default: patterns)
statusstringnoFilter by status
limitnumbernoMax results (default: 20)

Deposit a checkpoint trace (A2A). Write tool.

ParamTypeRequiredDescription
mission_idstringyesMission ID
agent_idstringyesAgent ID
project_idstringyesProject ID
ledger_pack_idstringyesLedger pack ID
ledger_pack_versionstringyesPack version
checkpoint_labelstringyesCheckpoint label
checkpoint_indexnumberyesSequential index
outputs_declaredstring[]noExpected files
outputs_producedstring[]noProduced files
validation_modestrict | softnoValidation mode
resilience_protocolcontinuer | pause_ask | degrade | handoff | skipnoResilience protocol triggered
resilience_detailstringnoProtocol detail
passedbooleannoCheckpoint passed (default: true)

Unified memory deposit. Write tool.

ParamTypeRequiredDescription
typenote | cr_note | decision | erreur | pattern | feedback | blocage | besoin | update_statusyesDeposit type
agent_idstringvariesAgent ID
project_idstringvariesProject ID
whatstringvariesDescription of the fact

Additional parameters depend on type:

  • note: titre, contenu, niveau (L1-L5), session_id, tags, flux, extracted_actions, source_exchange, continuity
  • cr_note: cr_data (title, period, summary, health, decisions, actions), executed_by, source_note_ids
  • decision: odm, why, impact
  • erreur: odm, correction, lecon
  • pattern: source
  • feedback: from_agent
  • blocage: tool, rule, workaround
  • besoin: context
  • update_status: atom_id, new_status, successor_id

Governance atoms (transversal sous-familles). Optional filter by sous-famille.

ParamTypeRequiredDescription
sous_famillestringnoFilter by sous-famille

Addon injection menu grouped by category.

ParamTypeRequiredDescription
(none)