UNPKG

@nanocollective/nanocoder

Version:

A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter

42 lines 1.03 kB
export type MCPTransportType = 'stdio' | 'websocket' | 'http'; export interface MCPAuthConfig { type: 'bearer' | 'basic' | 'api-key' | 'custom'; token?: string; username?: string; password?: string; apiKey?: string; customHeaders?: Record<string, string>; } export interface MCPServer { name: string; transport: MCPTransportType; command?: string; args?: string[]; env?: Record<string, string>; url?: string; headers?: Record<string, string>; auth?: MCPAuthConfig; timeout?: number; reconnect?: { enabled: boolean; maxAttempts: number; backoffMs: number; }; alwaysAllow?: string[]; description?: string; tags?: string[]; enabled?: boolean; } export interface MCPTool { name: string; description?: string; inputSchema?: any; serverName: string; } export interface MCPInitResult { serverName: string; success: boolean; toolCount?: number; error?: string; } //# sourceMappingURL=mcp.d.ts.map