Documentation
¶
Overview ¶
Example: Trading Platform — API versioning and lifecycle management using MCP server variants. Demonstrates DeprecationInfo, all three variant statuses (stable, experimental, deprecated), and access control patterns (read-only subset).
Capability demonstrated: Variant lifecycle, DeprecationInfo, API migration.
Variants:
- v2-stable: Production API with order management and portfolio tools
- v3-preview: Next-gen experimental API with streaming and enhanced orders
- v1-legacy: Deprecated legacy API scheduled for removal
- analysis-only: Read-only subset for analytics and monitoring
Run:
go run ./examples/server/trading
Then connect any MCP client to http://localhost:8080.
Click to show internal directories.
Click to hide internal directories.