npmplus-mcp-server
Version:
Production-ready MCP server for intelligent JavaScript package management. Works with Claude, Windsurf, Cursor, VS Code, and any MCP-compatible AI editor.
68 lines • 2.32 kB
TypeScript
type ToolResult = {
content: Array<{
type: string;
text: string;
}>;
isError?: boolean;
};
export declare const tools: ({
name: string;
description: string;
inputSchema: import("zod").ZodObject<{
packages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">>;
cwd: import("zod").ZodDefault<import("zod").ZodString>;
global: import("zod").ZodDefault<import("zod").ZodBoolean>;
latest: import("zod").ZodDefault<import("zod").ZodBoolean>;
interactive: import("zod").ZodDefault<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
packages?: string[];
cwd?: string;
global?: boolean;
latest?: boolean;
interactive?: boolean;
}, {
packages?: string[];
cwd?: string;
global?: boolean;
latest?: boolean;
interactive?: boolean;
}>;
} | {
name: string;
description: string;
inputSchema: import("zod").ZodObject<{
packages: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
cwd: import("zod").ZodDefault<import("zod").ZodString>;
global: import("zod").ZodDefault<import("zod").ZodBoolean>;
save: import("zod").ZodDefault<import("zod").ZodDefault<import("zod").ZodBoolean>>;
}, "strip", import("zod").ZodTypeAny, {
packages?: string[];
cwd?: string;
global?: boolean;
save?: boolean;
}, {
packages?: string[];
cwd?: string;
global?: boolean;
save?: boolean;
}>;
} | {
name: string;
description: string;
inputSchema: import("zod").ZodObject<{
cwd: import("zod").ZodDefault<import("zod").ZodString>;
global: import("zod").ZodDefault<import("zod").ZodBoolean>;
depth: import("zod").ZodDefault<import("zod").ZodNumber>;
}, "strip", import("zod").ZodTypeAny, {
cwd?: string;
global?: boolean;
depth?: number;
}, {
cwd?: string;
global?: boolean;
depth?: number;
}>;
})[];
export declare const handlers: Map<string, (args: unknown) => Promise<ToolResult>>;
export {};
//# sourceMappingURL=install-tools.d.ts.map