# open-mcp-client **Repository Path**: panghuborthers/open-mcp-client ## Basic Information - **Project Name**: open-mcp-client - **Description**: Open MCP Client 是开源 MCP 客户端工具,能让我们轻松地在任何应用中与 MCP 服务器进行交互,只需从 Composio 获取一个 URL 即可快速连接 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: main - **Homepage**: https://www.oschina.net/p/open-mcp-client - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-04-05 - **Last Updated**: 2025-04-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README https://github.com/user-attachments/assets/f72e1f7d-3c84-4429-a465-23dff3d3bd63 # Getting Started ## Set Up Environment Variables: ```sh touch .env ``` Add the following inside `.env` at the root: ```sh LANGSMITH_API_KEY=lsv2_... ``` Next, create another `.env` file inside the `agent` folder: ```sh cd agent touch .env ``` Add the following inside `agent/.env`: ```sh OPENAI_API_KEY=sk-... LANGSMITH_API_KEY=lsv2_... ``` ## Development We recommend running the **frontend and agent separately** in different terminals to debug errors and logs: ```bash # Terminal 1 - Frontend pnpm run dev-frontend # Terminal 2 - Agent pnpm run dev-agent ``` Alternatively, you can run both services together with: ```bash pnpm run dev ``` Then, open [http://localhost:3000](http://localhost:3000) in your browser. ## Architecture The codebase is split into two main parts: 1. `/agent` **folder** – A LangGraph agent that connects to MCP servers and calls their tools. 2. `/app` **folder** – A frontend application using CopilotKit for UI and state synchronization.