https://github.com/CopilotKit/open-mcp-client
https://github.com/CopilotKit/open-mcp-client
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/CopilotKit/open-mcp-client
- Owner: CopilotKit
- Created: 2025-03-08T19:22:42.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-13T16:48:30.000Z (3 months ago)
- Last Synced: 2025-03-18T12:11:27.587Z (3 months ago)
- Language: TypeScript
- Homepage: https://open-mcp-client.vercel.app/
- Size: 325 KB
- Stars: 659
- Watchers: 5
- Forks: 77
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- StarryDivineSky - CopilotKit/open-mcp-client - mcp-client 是一个用于构建 AI 驱动的 Multi-Party Computation (MPC) 应用的开源客户端 SDK。它简化了 MPC 的复杂性,让开发者可以轻松地在应用中集成安全的多方计算功能,保护用户数据隐私。该项目提供了一系列工具和 API,用于管理 MPC 会话、安全地共享数据以及执行计算任务。其核心优势在于易用性和安全性,开发者无需深入了解底层密码学细节即可使用。通过该 SDK,开发者可以构建各种隐私保护的应用,例如安全的数据分析、联合学习和隐私保护的身份验证等。Open-mcp-client 支持多种编程语言,并提供了详细的文档和示例代码,方便开发者快速上手。该项目旨在推动 MPC 技术的普及,让更多开发者能够利用 MPC 保护用户隐私,构建更加安全可靠的 AI 应用。它通过抽象底层复杂性,提供高级 API,使得开发者能够专注于应用逻辑的实现。总之,CopilotKit/open-mcp-client 是一个强大且易用的 MPC 客户端 SDK,是构建隐私保护 AI 应用的理想选择。 (加密_密码破解_字典 / 资源传输下载)
- awesome-hacking-lists - CopilotKit/open-mcp-client - (TypeScript)
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.