← Files LLM & Agent Builder CopilotARCHIVED FILE
references/mcp-integration.md
1.02 KB · Nov 24, 2026 · 00:38 UTC
# MCP design and compatibility Check current MCP core specification and the target host's supported features; avoid assuming every client exposes all extensions. Model primitives separately: tools for controlled actions/live lookups, resources for context, prompts for reusable user-invoked templates, extensions such as UI/tasks only when supported. Remote implementations must choose transport and authentication from current SDK specifications. Scope auth per principal, enforce server-side access, verify origin/URL safety and reject unsupported operations. Use typed tool results with recoverable errors and useful read-only fallback where the UI extension is unsupported. For MCP Apps, `ui://` resource data and tool metadata are host integration concerns; verify current SDK and client capabilities. Tool-only output should still be useful. Testing must cover malformed calls, authorization, no-UI hosts, timeouts and version mismatch. Official docs: https://modelcontextprotocol.io/ and https://github.com/modelcontextprotocol/ext-apps
SHA-256: 2b330b0896e58890178132cc12c173f86babb8a0bb84eb131c85904c64b5883f