You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP support: expose tole tools via Model Context Protocol + consume MCP servers #74
MCP (Anthropic's Model Context Protocol) is the de-facto standard for tool/context integration; tole's Tool trait (name/risk/describe/spec-as-JSON-Schema/execute) is already MCP-shaped, which makes this integration mostly adapter work. Deferred at v0 by design — now formally tracked per the 2026-09-12 standards sweep.
Scope (two directions, ship separately)
Direction A — tole as MCP CLIENT (higher value first)
Register tools from configured MCP servers (stdio transport first, HTTP later) at startup, alongside native tools.
Risk mapping: every MCP tool enters as Risk::Write (server-side execution is opaque to tole's risk model) → goes through the standard approval gate. Policy: never auto-map remote tools to ReadOnly, regardless of server metadata.
Secrets: MCP server env/config handled via the existing env-triple discipline (TOLE_* > OPENAI_*), never logged.
Expose tole's durable chat session as an MCP resource/tool set so external hosts (Claude Code, IDEs) can drive a tole session. Interesting for the workstation product; not for uteke-mobile.
Non-goals
Multi-server orchestration, resource subscriptions, sampling — revisit after A ships.
Acceptance criteria (Direction A)
mcp feature gate; both profiles build/test green
stdio transport: N tools registered from a real reference server, approval gate fires per call
Spec conformance: tools listed via JSON-Schema passthrough; invalid server responses fail soft (skip tool, startup warning — same pattern as uteke probing)
Priority: 3rd of the three roadmap focuses (biggest surface; do after #72 hardens the base and #73 gives us the eval harness to measure MCP-against-native parity).
Activity