Skip to main content

Module server

Module server 

Source

Modules§

bypass_hint
context_gate
dynamic_tools
elicitation
helpers
notifications
prompts
reference_store
registry
resources
role_guard
Role-based tool access guard for the MCP server pipeline.
tool_trait

Constants§

WORKFLOW_PASSTHROUGH_TOOLS
Tools that always pass through the workflow gate regardless of state. Read-only tools should never be blocked — agents need them for context recovery after crashes or session transitions.

Functions§

build_claude_code_instructions_for_test
build_instructions_for_test
derive_project_root_from_cwd
is_workflow_stale
A workflow is stale if it hasn’t been updated in 30 minutes. This prevents dead workflows from blocking tools across sessions.
tool_descriptions_for_test
tool_schemas_json_for_test