@genwave/svgmaker-mcp
Version:
MCP server for generating, editing, and converting SVG images using SVGMaker API
184 lines (183 loc) • 5.17 kB
TypeScript
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { RequestMeta } from '@modelcontextprotocol/sdk/types.js';
export declare const galleryListToolDefinition: {
name: string;
description: string;
inputSchema: import("zod-to-json-schema").JsonSchema7Type & {
$schema?: string | undefined;
definitions?: {
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
} | undefined;
};
};
export declare function handleGalleryListTool(server: Server, request: {
params: {
name: string;
_meta?: RequestMeta;
arguments?: any;
};
}): Promise<{
content: {
type: "text";
text: string;
annotations?: {
audience?: ("user" | "assistant")[] | undefined;
priority?: number | undefined;
lastModified?: string | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
isError?: undefined;
} | {
isError: boolean;
content: {
type: "text";
text: string;
annotations?: {
audience?: ("user" | "assistant")[] | undefined;
priority?: number | undefined;
lastModified?: string | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
}>;
export declare const galleryGetToolDefinition: {
name: string;
description: string;
inputSchema: import("zod-to-json-schema").JsonSchema7Type & {
$schema?: string | undefined;
definitions?: {
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
} | undefined;
};
};
export declare function handleGalleryGetTool(server: Server, request: {
params: {
name: string;
_meta?: RequestMeta;
arguments?: any;
};
}): Promise<{
content: {
type: "text";
text: string;
annotations?: {
audience?: ("user" | "assistant")[] | undefined;
priority?: number | undefined;
lastModified?: string | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
isError?: undefined;
} | {
isError: boolean;
content: {
type: "text";
text: string;
annotations?: {
audience?: ("user" | "assistant")[] | undefined;
priority?: number | undefined;
lastModified?: string | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
}>;
export declare const galleryDownloadToolDefinition: {
name: string;
description: string;
inputSchema: import("zod-to-json-schema").JsonSchema7Type & {
$schema?: string | undefined;
definitions?: {
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
} | undefined;
};
};
export declare function handleGalleryDownloadTool(server: Server, request: {
params: {
name: string;
_meta?: RequestMeta;
arguments?: any;
};
}): Promise<{
content: {
type: "text";
text: string;
annotations?: {
audience?: ("user" | "assistant")[] | undefined;
priority?: number | undefined;
lastModified?: string | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
isError?: undefined;
} | {
isError: boolean;
content: {
type: "text";
text: string;
annotations?: {
audience?: ("user" | "assistant")[] | undefined;
priority?: number | undefined;
lastModified?: string | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
}>;
export declare const galleryPreviewToolDefinition: {
name: string;
description: string;
inputSchema: import("zod-to-json-schema").JsonSchema7Type & {
$schema?: string | undefined;
definitions?: {
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
} | undefined;
};
};
export declare function handleGalleryPreviewTool(server: Server, request: {
params: {
name: string;
_meta?: RequestMeta;
arguments?: any;
};
}): Promise<{
content: {
type: "image";
data: string;
mimeType: string;
annotations?: {
audience?: ("user" | "assistant")[] | undefined;
priority?: number | undefined;
lastModified?: string | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
isError?: undefined;
} | {
isError: boolean;
content: {
type: "text";
text: string;
annotations?: {
audience?: ("user" | "assistant")[] | undefined;
priority?: number | undefined;
lastModified?: string | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
}>;