This repository hosts various technical specifications and documentation for reference and implementation guidance.
The Chat Completions API Specification provides detailed guidelines for implementing a chat completions API that supports both regular invocations and streaming responses.
Key features:
The Understanding MCP Sampling is almost like a missing doc from the MCP official site. This doc should well explain MCP Sampling, which DOES NOT mean “Sampling Data” at all!
MCP Sampling is to implement a sampleHandler callback function, which can be called by the MCP Server. Since the callback function is on the client side, the client side can call a LLM via HTTP REST requests, or you can ask a user to approve an action.
This project is licensed under the MIT License - see the LICENSE file for details.