@apideck/docs-mcp
Version:
MCP server that lets agents search and retrieve your documentation at query time instead of relying on stale training data.
19 lines • 835 B
TypeScript
import { McpServer } from '@modelcontextprotocol/server';
import type { DocStore } from './store.js';
import type { AnyToolDefinition } from './types.js';
export interface CreateServerOptions {
store: DocStore;
name?: string;
version?: string;
/** Short description of what the docs cover, shown to agents in server instructions. */
about?: string;
/**
* Extra tools registered alongside search_docs/get_doc/list_docs, for
* host-specific lookups over data the docs already carry (an API
* operation index, a connector coverage matrix, ...). Build them with
* `toolResult()` for a result shape consistent with the built-in tools.
*/
extraTools?: AnyToolDefinition[];
}
export declare const createServer: (opts: CreateServerOptions) => McpServer;
//# sourceMappingURL=server.d.ts.map