MCP (Model Context Protocol)
MCP (Model Context Protocol)
Model Context Protocol (MCP) is an open standard by Anthropic for connecting AI models with external data sources and tools. It provides a standardized way for LLM applications to access context from files, databases, APIs, and other services. Respan gives you full observability over every MCP session, tool invocation, resource access, and server-client message — and gateway routing through the OpenAI-compatible Respan endpoint.
Set up Respan
Create an account at platform.respan.ai and grab an API key. For gateway, also add credits or a provider key.
Run npx @respan/cli setup to set up with your coding agent.
Example projects
Tracing
Gateway
Setup
View your trace
Open the Traces page to see your MCP interactions with tool invocations, resource access, and server-client communication.
Configuration
Attributes
In Respan()
Set defaults at initialization — these apply to all spans.
With propagate_attributes
Override per-request using a context scope.