@zxkane/quip-mcp-server
Version:
MCP server for interacting with Quip spreadsheets
33 lines (32 loc) • 875 B
TypeScript
export interface Tool {
name: string;
description: string;
inputSchema: Record<string, any>;
}
export interface TextContent {
type: string;
text: string;
}
export interface ImageContent {
type: string;
image: string;
}
export interface EmbeddedResource {
type: string;
uri: string;
}
import { StorageInterface } from './types';
/**
* Get the list of Quip tools available in this MCP server
*
* @returns List of Tool objects
*/
export declare function getQuipTools(): Tool[];
/**
* Handle the quip_read_spreadsheet tool
*
* @param args Tool arguments
* @param storage Storage interface
* @returns Promise resolving to array of content objects
*/
export declare function handleQuipReadSpreadsheet(args: Record<string, any>, storage: StorageInterface, useMock?: boolean): Promise<(TextContent | ImageContent | EmbeddedResource)[]>;