contracts.rules_mcp_legacy

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

INFO surfacing for the MCP2024-11-05legacy-client offramp.

When an app registers tools, Chirp mounts/mcpand bridges handshake-era clients through2027-07-28. This check documents that bridge at app.check()time so…

INFO surfacing for the MCP2024-11-05legacy-client offramp.

When an app registers tools, Chirp mounts/mcpand bridges handshake-era clients through2027-07-28. This check documents that bridge at app.check()time so operators see the migration window without a silent break. Runtime detection andDeprecationWarninglive in chirp.tools.handler.

contracts.rules_mcp_legacy

Name Type Default Description
type
qualified_name
element_type
description
source_file
line_number
is_autodoc
autodoc_element
_autodoc_template
_autodoc_url_path
_autodoc_page_type
title
doc_content_hash

Symbols on this page

check_mcp_legacy_offramp
function
def check_mcp_legacy_offramp(tool_registry: Any, *, mcp_path: str = '/mcp') -> list[ContractIssue]

Emit INFO when the MCP endpoint is active and still bridges legacy clients.

No-op when no tools are registered (/mcpis not mounted). Severity is INFO — the bridge is intentional during the offramp; promote via app.override_contract_severity("mcp_legacy", ...)if desired.

Parameters

Name Type Default Description
tool_registry Any
mcp_path str '/mcp'

View source · /home/runner/work/chirp/chirp/site/../src/chirp/contracts/rules_mcp_legacy.py:1