mirror of
https://github.com/hanzoai/mcp-server-cloudflare.git
synced 2026-10-30 18:28:06 +00:00
8 lines
274 B
TypeScript
8 lines
274 B
TypeScript
import { MCPClientManager } from 'agents/mcp/client'
|
|
|
|
export async function initializeClient(): Promise<MCPClientManager> {
|
|
const clientManager = new MCPClientManager('test-client', '0.0.0')
|
|
await clientManager.connect('http://localhost:8977/sse')
|
|
return clientManager
|
|
}
|