MCP

MCP modules provide the agent-facing Topos server, schemas, tools, resources, security checks, and response formatting. Start here when changing how agents call Topos, how results are shaped, or how workflow documentation is exposed through MCP.

topos.mcp.cache

LRU caches for the Topos MCP server.

topos.mcp.diagnostics

Security diagnostic overlay helpers for MCP tools.

topos.mcp.evaluation

Shared evaluation helpers used by the evaluate / assess / inspect tools.

topos.mcp.formatting

Response formatters for the Topos MCP server.

topos.mcp.schemas

Pydantic schemas for the Topos MCP server.

topos.mcp.security

Path-safety helpers for the Topos MCP server.

topos.mcp.security_findings

SECURE diagnostics surfaced by MCP tools.

topos.mcp.server

Topos MCP server — FastMCP instance + entry point.

topos.mcp.resources.docs

Documentation resources served over MCP.

topos.mcp.tools.assess

Assessment tool — compare current vs.

topos.mcp.tools.compare

Structural comparison tools: AST edit distance between two programs.

topos.mcp.tools.coverage

Coverage tools — structural test coverage (UAST) and topological ECT coverage.

topos.mcp.tools.docs

Documentation tool — read the Topos docs as an MCP tool.

topos.mcp.tools.evaluate

Evaluation tools: code string, single file, whole project.

topos.mcp.tools.inspect

Detailed inspection of a code string — every metric exposed, function table, entropy breakdown.

topos.mcp.tools.preferences

topos_preference_walk — convert a strict generator ordering into a concrete relaxation walk on Ω.