Moved API editing instructions above run-server
This commit is contained in:
37
README.md
37
README.md
@@ -132,22 +132,14 @@ The final implementation resulted in a 26% improvement in JSON parsing performan
|
|||||||
|
|
||||||
### 2. Clone and Set Up
|
### 2. Clone and Set Up
|
||||||
|
|
||||||
|
Using the Terminal:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone to your preferred location
|
# Clone to your preferred location
|
||||||
git clone https://github.com/BeehiveInnovations/zen-mcp-server.git
|
git clone https://github.com/BeehiveInnovations/zen-mcp-server.git
|
||||||
cd zen-mcp-server
|
cd zen-mcp-server
|
||||||
|
|
||||||
# One-command setup (includes Redis for AI conversations)
|
|
||||||
./run-server.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**What this does:**
|
|
||||||
- **Builds Docker images** with all dependencies (including Redis for conversation threading)
|
|
||||||
- **Creates .env file** (automatically uses `$GEMINI_API_KEY` and `$OPENAI_API_KEY` if set in environment)
|
|
||||||
- **Starts Redis service** for AI-to-AI conversation memory
|
|
||||||
- **Starts MCP server** with providers based on available API keys
|
|
||||||
- **Adds Zen to Claude Code automatically**
|
|
||||||
|
|
||||||
### 3. Add Your API Keys
|
### 3. Add Your API Keys
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -172,23 +164,20 @@ nano .env
|
|||||||
# ./run-server.sh
|
# ./run-server.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 4. Configure Claude
|
### 4. Start MCP Server
|
||||||
|
|
||||||
#### If Setting up for Claude Code
|
|
||||||
Run the following commands on the terminal to add the MCP directly to Claude Code
|
|
||||||
```bash
|
```bash
|
||||||
# Add the MCP server directly via Claude Code CLI
|
# One-command setup (includes Redis for AI conversations)
|
||||||
claude mcp add zen -s user -- docker exec -i zen-mcp-server python server.py
|
./run-server.sh
|
||||||
|
|
||||||
# List your MCP servers to verify
|
|
||||||
claude mcp list
|
|
||||||
|
|
||||||
# Remove when needed
|
|
||||||
claude mcp remove zen -s user
|
|
||||||
|
|
||||||
# You may need to remove an older version of this MCP after it was renamed:
|
|
||||||
claude mcp remove gemini -s user
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**What this does:**
|
||||||
|
- **Builds Docker images** with all dependencies (including Redis for conversation threading)
|
||||||
|
- **Creates .env file** (automatically uses `$GEMINI_API_KEY` and `$OPENAI_API_KEY` if set in environment)
|
||||||
|
- **Starts Redis service** for AI-to-AI conversation memory
|
||||||
|
- **Starts MCP server** with providers based on available API keys
|
||||||
|
- **Adds Zen to Claude Code automatically**
|
||||||
|
|
||||||
Now run `claude` on the terminal for it to connect to the newly added mcp server. If you were already running a `claude` code session,
|
Now run `claude` on the terminal for it to connect to the newly added mcp server. If you were already running a `claude` code session,
|
||||||
please exit and start a new session.
|
please exit and start a new session.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user