@hashgraphonline/conversational-agent
Version:
Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera
46 lines (44 loc) • 1.27 kB
TypeScript
import { MCPServerConfig } from './types';
/**
* Common MCP server configurations for easy setup
*/
export declare const MCPServers: {
/**
* Filesystem server for file operations
*/
filesystem: (path: string) => MCPServerConfig;
/**
* GitHub server for repository operations
*/
github: (token?: string) => MCPServerConfig;
/**
* Slack server for messaging operations
*/
slack: (token: string) => MCPServerConfig;
/**
* Google Drive server for document operations
*/
googleDrive: (credentials: string) => MCPServerConfig;
/**
* PostgreSQL server for database operations
*/
postgres: (connectionString: string) => MCPServerConfig;
/**
* SQLite server for database operations
*/
sqlite: (dbPath: string) => MCPServerConfig;
/**
* Custom server configuration
*/
custom: (config: MCPServerConfig) => MCPServerConfig;
};
/**
* Validate MCP server configuration
*/
export declare function validateServerConfig(config: MCPServerConfig): string[];
/**
* Create a typed MCP configuration for ConversationalAgent
*/
export declare function createMCPConfig(servers: MCPServerConfig[], autoConnect?: boolean): {
mcpServers: MCPServerConfig[];
};