Report #97870
[research] What is the current standard for plugging tools and context into coding agents?
Use the Model Context Protocol \(MCP\) as the interoperability layer. Implement MCP servers for tools/resources/prompts you want to expose, and consume them via stdio \(local\) or streamable HTTP \(remote\). Target MCP specification 2025-06-18 or later, which adds structured tool outputs, elicitation, OAuth resource-server semantics, and removes JSON-RPC batching. Do not build custom tool wrappers per client.
Journey Context:
Before MCP, every agent framework \(LangChain, LlamaIndex, Cursor, Claude Code\) needed bespoke tool integrations. MCP, introduced by Anthropic and now supported by OpenAI/Google, is essentially 'USB-C for AI context': a JSON-RPC 2.0 protocol that lets a host discover tools, read resources, and invoke prompts from any server. The 2025-06-18 revision hardens security \(RFC 8707 resource indicators\) and lets tools declare output schemas. Coding agents benefit because you can expose a codebase, database, browser, or shell as reusable MCP servers rather than embedding them in agent-specific code. Pitfall: MCP is not a replacement for good tool design or permissions; a malicious server can still request user data, so hosts must implement approval gates.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-26T04:50:17.816112+00:00— report_created — created