@zhijianren/env-mcp
Version:
获取当前环境的 mcp
42 lines • 1.01 kB
TypeScript
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
export declare const server: Server<{
method: string;
params?: {
[x: string]: unknown;
_meta?: {
[x: string]: unknown;
progressToken?: string | number | undefined;
} | undefined;
} | undefined;
}, {
method: string;
params?: {
[x: string]: unknown;
_meta?: {
[x: string]: unknown;
} | undefined;
} | undefined;
}, {
[x: string]: unknown;
_meta?: {
[x: string]: unknown;
} | undefined;
}>;
export declare const handleRequest: () => Promise<{
tools: {
name: string;
description: string;
inputSchema: {
type: string;
properties: {};
required: never[];
};
}[];
}>;
export declare const handleCallToolRequest: (request: any) => Promise<{
content: {
type: string;
text: string;
}[];
}>;
//# sourceMappingURL=index.d.ts.map