# open-mcp-client
**Repository Path**: mirrors/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**: 1
- **Forks**: 3
- **Created**: 2025-03-28
- **Last Updated**: 2025-05-26
## Categories & Tags
**Categories**: Artificial-Intelligence, MCP
**Tags**: None
## README
# Open MCP Client

https://github.com/user-attachments/assets/364b6705-14d4-4e6d-bea7-fb9f12664fab
# Getting Started
## Set Up Environment Variables
Create a `.env` file at the root of your project:
```sh
touch .env
```
Add the following to `.env`:
```sh
LANGSMITH_API_KEY=lsv2_...
OPENAI_API_KEY=sk-...
```
Next, navigate to the `agent` folder and create another `.env` file:
```sh
cd agent
touch .env
```
Add the following inside `agent/.env`:
```sh
OPENAI_API_KEY=sk-...
LANGSMITH_API_KEY=lsv2_...
```
## Set Up Poetry:
Poetry manages dependencies for the agent service. Install it with:
```sh
pip install poetry
```
Verify the installation by running:
```sh
poetry --version
```
## Development
For easier debugging, run the `frontend` and `agent` in separate terminals:
```bash
# Terminal 1 - Frontend
pnpm run dev-frontend
# Terminal 2 - Agent
pnpm run dev-agent
```
Alternatively, launch both services together:
```bash
pnpm run dev
```
Visit [http://localhost:3000](http://localhost:3000) in your browser to view the application.
## Architecture
The codebase is organized into two primary components:
- **Frontend** - Handles the user interface.
- **Agent** - Manages the core functionality.
## License
Distributed under the MIT License. See LICENSE for more info.