Updated instructions for uvx
This commit is contained in:
79
README.md
79
README.md
@@ -166,18 +166,67 @@ The final implementation resulted in a 26% improvement in JSON parsing performan
|
|||||||
|
|
||||||
**Prerequisites**: Install [uv](https://docs.astral.sh/uv/getting-started/installation/) first (required for uvx)
|
**Prerequisites**: Install [uv](https://docs.astral.sh/uv/getting-started/installation/) first (required for uvx)
|
||||||
|
|
||||||
For **Claude Desktop**, add this to your `claude_desktop_config.json`
|
<details>
|
||||||
|
<summary>Claude Desktop Configuration</summary>
|
||||||
|
|
||||||
|
Add this to your `claude_desktop_config.json`:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"zen": {
|
"zen": {
|
||||||
"command": "uvx",
|
"command": "sh",
|
||||||
"args": [
|
"args": [
|
||||||
"--from",
|
"-c",
|
||||||
"git+https://github.com/BeehiveInnovations/zen-mcp-server.git",
|
"exec $(which uvx || echo uvx) --from git+https://github.com/BeehiveInnovations/zen-mcp-server.git zen-mcp-server"
|
||||||
"zen-mcp-server"
|
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
|
"PATH": "/usr/local/bin:/usr/bin:/bin:/opt/homebrew/bin:~/.local/bin",
|
||||||
|
"OPENAI_API_KEY": "your_api_key_here"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Claude Code CLI Configuration</summary>
|
||||||
|
|
||||||
|
Create a `.mcp.json` file in your project root for [project-scoped configuration](https://docs.anthropic.com/en/docs/claude-code/mcp#project-scope):
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"mcpServers": {
|
||||||
|
"zen": {
|
||||||
|
"command": "sh",
|
||||||
|
"args": [
|
||||||
|
"-c",
|
||||||
|
"exec $(which uvx || echo uvx) --from git+https://github.com/BeehiveInnovations/zen-mcp-server.git zen-mcp-server"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"PATH": "/usr/local/bin:/usr/bin:/bin:/opt/homebrew/bin:~/.local/bin",
|
||||||
|
"OPENAI_API_KEY": "your_api_key_here"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Gemini CLI Configuration</summary>
|
||||||
|
|
||||||
|
Edit `~/.gemini/settings.json` and add:
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"mcpServers": {
|
||||||
|
"zen": {
|
||||||
|
"command": "sh",
|
||||||
|
"args": [
|
||||||
|
"-c",
|
||||||
|
"exec $(which uvx || echo uvx) --from git+https://github.com/BeehiveInnovations/zen-mcp-server.git zen-mcp-server"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"PATH": "/usr/local/bin:/usr/bin:/bin:/opt/homebrew/bin:~/.local/bin",
|
||||||
"OPENAI_API_KEY": "your_api_key_here"
|
"OPENAI_API_KEY": "your_api_key_here"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -185,24 +234,8 @@ For **Claude Desktop**, add this to your `claude_desktop_config.json`
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
For **Claude Code CLI**, create a `.mcp.json` file in your project root for [project-scoped configuration](https://docs.anthropic.com/en/docs/claude-code/mcp#project-scope):
|
**Note**: While Zen MCP Server connects successfully to Gemini CLI, tool invocation is not working correctly yet. See [Gemini CLI Setup](docs/gemini-setup.md) for updates.
|
||||||
```json
|
</details>
|
||||||
{
|
|
||||||
"mcpServers": {
|
|
||||||
"zen": {
|
|
||||||
"command": "uvx",
|
|
||||||
"args": [
|
|
||||||
"--from",
|
|
||||||
"git+https://github.com/BeehiveInnovations/zen-mcp-server.git",
|
|
||||||
"zen-mcp-server"
|
|
||||||
],
|
|
||||||
"env": {
|
|
||||||
"OPENAI_API_KEY": "your_api_key_here"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**What this does:**
|
**What this does:**
|
||||||
- **Zero setup required** - uvx handles everything automatically
|
- **Zero setup required** - uvx handles everything automatically
|
||||||
|
|||||||
@@ -14,9 +14,9 @@ import os
|
|||||||
# These values are used in server responses and for tracking releases
|
# These values are used in server responses and for tracking releases
|
||||||
# IMPORTANT: This is the single source of truth for version and author info
|
# IMPORTANT: This is the single source of truth for version and author info
|
||||||
# Semantic versioning: MAJOR.MINOR.PATCH
|
# Semantic versioning: MAJOR.MINOR.PATCH
|
||||||
__version__ = "5.7.5"
|
__version__ = "5.7.6"
|
||||||
# Last update date in ISO format
|
# Last update date in ISO format
|
||||||
__updated__ = "2025-06-28"
|
__updated__ = "2025-06-29"
|
||||||
# Primary maintainer
|
# Primary maintainer
|
||||||
__author__ = "Fahad Gilani"
|
__author__ = "Fahad Gilani"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user