post-cortex-mcp
Model Context Protocol (MCP) tool definitions for post-cortex.
Pure library — no rmcp, axum, tonic, or transport runtime dependency. Each public function takes the typed parameters of a single MCP tool, dispatches into the post-cortex domain layer, and returns an MCPToolResult. Embed these tools in your own MCP server runtime (rmcp, custom servers, anything else) without pulling the post-cortex daemon.
Install
[]
= "0.2"
Nine consolidated tools
| Module | Tool surface |
|---|---|
[session] |
session lifecycle (create / list / load / search / update / delete / checkpoint) |
[update_context] |
single + bulk context writes |
[query] |
structured queries against session context |
[search] |
semantic search (session / global) + related content |
[analysis] |
structured summary, decisions, insights, entity importance + network views |
[workspace] |
workspace CRUD |
[schemas] |
JSON Schema for the MCP tool surface |
Example
use ;
use ;
use HashMap;
use Arc;
# async
License
MIT — see LICENSE.