ultimate-mcp-server
Version:
The definitive all-in-one Model Context Protocol server for AI-assisted coding across 30+ platforms
29 lines • 539 B
TypeScript
/**
* Core MCP Types
*/
export interface MCPRequest {
id: string | number;
method: string;
params?: any;
jsonrpc?: string;
}
export interface MCPResponse {
id: string | number;
result?: any;
error?: {
code: number;
message: string;
data?: any;
};
jsonrpc?: string;
}
export interface MCPError extends Error {
code: number;
data?: any;
}
export interface MCPNotification {
method: string;
params?: any;
jsonrpc?: string;
}
//# sourceMappingURL=types.d.ts.map