fix(goose): remove MCP_HOST and such, this is not how mcp works

This commit is contained in:
2025-03-11 12:15:40 -06:00
parent e36eef4ef7
commit d42af870ff
4 changed files with 3 additions and 19 deletions

View File

@@ -236,8 +236,6 @@ logging:
drivers:
- name: goose
image: monadical/mc-goose:latest
env:
MCP_HOST: http://mcp:8000
- name: aider
image: monadical/mc-aider:latest
- name: claude-code

View File

@@ -1,11 +1,11 @@
# Goose Driver for MC
This driver provides a containerized environment for running [Goose](https://goose.ai) with MCP servers.
This driver provides a containerized environment for running [Goose](https://goose.ai).
## Features
- Pre-configured environment for Goose AI
- MCP server integration
- Self-hosted instance integration
- SSH access
- Git repository integration
- Langfuse logging support
@@ -14,7 +14,6 @@ This driver provides a containerized environment for running [Goose](https://goo
| Variable | Description | Required |
|----------|-------------|----------|
| `MCP_HOST` | MCP server host | Yes |
| `LANGFUSE_INIT_PROJECT_PUBLIC_KEY` | Langfuse public key | No |
| `LANGFUSE_INIT_PROJECT_SECRET_KEY` | Langfuse secret key | No |
| `LANGFUSE_URL` | Langfuse API URL | No |
@@ -37,9 +36,6 @@ docker build -t monadical/mc-goose:latest .
# Create a new session with this driver
mc session create --driver goose
# Create with specific MCP server
mc session create --driver goose -e MCP_HOST=http://mcp.example.com:8000
# Create with project repository
mc session create --driver goose --project github.com/username/repo
```

View File

@@ -1,5 +1,5 @@
name: goose
description: Goose with MCP servers
description: Goose AI environment
version: 1.0.0
maintainer: team@monadical.com
@@ -8,10 +8,6 @@ init:
command: /entrypoint.sh
environment:
- name: MCP_HOST
description: MCP server host
required: true
default: http://localhost:8000
- name: LANGFUSE_INIT_PROJECT_PUBLIC_KEY
description: Langfuse public key

View File

@@ -72,12 +72,6 @@ fi
# Goose uses self-hosted instance, no API key required
# Set up MCP connection if provided
if [ -n "$MCP_HOST" ]; then
echo "Setting up MCP connection to $MCP_HOST"
export MCP_HOST="$MCP_HOST"
fi
# Set up Langfuse logging if credentials are provided
if [ -n "$LANGFUSE_INIT_PROJECT_SECRET_KEY" ] && [ -n "$LANGFUSE_INIT_PROJECT_PUBLIC_KEY" ]; then
echo "Setting up Langfuse logging"