feat(gateway): add MCP server endpoint with streamable HTTP transport (#137)
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
Co-authored-by: Jason Woltje <[email protected]> Co-committed-by: Jason Woltje <[email protected]>
This commit was merged in pull request #137.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* MCP (Model Context Protocol) DTOs
|
||||
*
|
||||
* Defines the data transfer objects for the MCP streamable HTTP transport.
|
||||
* See: https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http
|
||||
*/
|
||||
|
||||
export interface McpToolDescriptor {
|
||||
name: string;
|
||||
description: string;
|
||||
inputSchema: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface McpServerInfo {
|
||||
name: string;
|
||||
version: string;
|
||||
protocolVersion: string;
|
||||
tools: McpToolDescriptor[];
|
||||
}
|
||||
Reference in New Issue
Block a user