signalk-mcp-server
Version:
MCP server for SignalK marine data integration
44 lines • 934 B
TypeScript
/**
* MCP (Model Context Protocol) Types
*
* Types related to the MCP server implementation
*/
export interface MCPToolResponse {
content: Array<{
type: string;
text: string;
}>;
}
export interface MCPToolRequest {
name: string;
arguments?: Record<string, any>;
}
export interface MCPServerCapabilities {
tools: Record<string, any>;
resources: Record<string, any>;
}
export interface MCPServerInfo {
name: string;
version: string;
}
export interface MCPToolDefinition {
name: string;
description: string;
inputSchema: {
type: string;
properties?: Record<string, any>;
required?: string[];
};
}
export interface MCPResource {
uri: string;
name: string;
description?: string;
mimeType?: string;
}
export interface MCPResourceContent {
uri: string;
mimeType: string;
text?: string;
}
//# sourceMappingURL=mcp.d.ts.map