Content
Sure! Here’s the translated README content:
---
## 🧱 Installation Methods
### ✅ Method 1: Using `uvx` (Recommended)
Install and run via `uvx`:
```bash
uvx install dolphindb-mcp-server
```
After installation, run directly:
```bash
uvx dolphindb-mcp-server
```
> 📌 **Note**: The `uvx` installation method requires building and uploading via `uv.pack` to Universe. If you haven't uploaded yet, please refer to the `uv` documentation for packaging and publishing.
### ✅ Method 2: Install from PyPI
```bash
pip install dolphindb-mcp-server
```
Run after installation:
```bash
dolphindb-mcp-server
```
### ✅ Method 3: Local Build & Install
```bash
git clone https://github.com/your-org/dolphindb-mcp-server.git
cd dolphindb-mcp-server
# Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate
# Build and install
pip install build
python -m build
pip install dist/*.whl
```
Run after installation:
```bash
dolphindb-mcp-server
```
## 🧪 Test Run
After running, you can directly use the tool, for example:
```bash
dolphindb-mcp-server
```
Or (if installed via `uvx`):
```bash
uvx dolphindb-mcp-server
```
---
## 🚀 Usage Instructions
1. **Configure Environment Variables (Optional)**
You can configure the connection information for DolphinDB through a `.env` file or system environment variables:
```env
DDB_HOST=127.0.0.1
DDB_PORT=8848
DDB_USER=admin
DDB_PASSWD=123456
```
You can also skip this step, and the system will use default values.
2. **Start the Service**
```bash
dolphindb-mcp-server
```
This command will start the MCP plugin service for external calls.
3. **FastMCP Agent Usage Example**
After starting, your tool will expose the following function interfaces via FastMCP:
* `list_dbs()`
* `list_tbs(dbName: str)`
* `query_table_diskusage(database: str, tableName: str)`
* `query_dolphindb(script: str)`
You can access these through the MCP frontend interface or integrate with the LLM toolchain.
Connection Info
You Might Also Like
MarkItDown MCP
Python tool for converting files and office documents to Markdown.
Sequential Thinking
Model Context Protocol Servers
Fetch
Model Context Protocol Servers
Filesystem
Model Context Protocol Servers
TrendRadar
🎯 Say goodbye to information overload. AI helps you understand news and...
Github
GitHub's official MCP Server