import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import type { ListDeploymentsResponse, VercelDeploymentDetail, DeploymentEvent, RuntimeLogEntry } from './types.js'; import type { ListDeploymentsOptions } from './vercel-client/lib/list-deployments.js'; import type { CreateDeploymentOptions } from './vercel-client/lib/create-deployment.js'; import type { DeleteDeploymentResponse } from './vercel-client/lib/delete-deployment.js'; import type { GetDeploymentEventsOptions } from './vercel-client/lib/get-deployment-events.js'; import type { ListProjectsResponse, ListProjectsOptions } from './vercel-client/lib/list-projects.js'; import type { GetRuntimeLogsOptions } from './vercel-client/lib/get-runtime-logs.js'; export interface IVercelClient { listDeployments(options?: ListDeploymentsOptions): Promise; getDeployment(idOrUrl: string): Promise; getDeploymentEvents(idOrUrl: string, options?: GetDeploymentEventsOptions): Promise; listProjects(options?: ListProjectsOptions): Promise; createDeployment(options: CreateDeploymentOptions): Promise; cancelDeployment(deploymentId: string): Promise; deleteDeployment(deploymentId: string): Promise; promoteDeployment(projectId: string, deploymentId: string): Promise; rollbackDeployment(projectId: string, deploymentId: string, description?: string): Promise; getRuntimeLogs(projectId: string, deploymentId: string, options?: GetRuntimeLogsOptions): Promise; } export declare class VercelClient implements IVercelClient { private baseUrl; private headers; private teamParams; constructor(token: string, teamId?: string, teamSlug?: string); listDeployments(options?: ListDeploymentsOptions): Promise; getDeployment(idOrUrl: string): Promise; createDeployment(options: CreateDeploymentOptions): Promise; cancelDeployment(deploymentId: string): Promise; deleteDeployment(deploymentId: string): Promise; promoteDeployment(projectId: string, deploymentId: string): Promise; rollbackDeployment(projectId: string, deploymentId: string, description?: string): Promise; getDeploymentEvents(idOrUrl: string, options?: GetDeploymentEventsOptions): Promise; getRuntimeLogs(projectId: string, deploymentId: string, options?: GetRuntimeLogsOptions): Promise; listProjects(options?: ListProjectsOptions): Promise; } export type ClientFactory = () => IVercelClient; export interface CreateMCPServerOptions { version: string; } export declare function createMCPServer(options: CreateMCPServerOptions): { server: Server<{ method: string; params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; "io.modelcontextprotocol/related-task"?: { taskId: string; } | undefined; } | undefined; } | undefined; }, { method: string; params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; "io.modelcontextprotocol/related-task"?: { taskId: string; } | undefined; } | undefined; } | undefined; }, { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; "io.modelcontextprotocol/related-task"?: { taskId: string; } | undefined; } | undefined; }>; registerHandlers: (clientFactory?: ClientFactory) => Promise; }; //# sourceMappingURL=server.d.ts.map