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 c56b4b35f5
commit 00cee60fe6
4 changed files with 3 additions and 19 deletions

View File

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

View File

@@ -1,11 +1,11 @@
# Goose Driver for MC # 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 ## Features
- Pre-configured environment for Goose AI - Pre-configured environment for Goose AI
- MCP server integration - Self-hosted instance integration
- SSH access - SSH access
- Git repository integration - Git repository integration
- Langfuse logging support - Langfuse logging support
@@ -14,7 +14,6 @@ This driver provides a containerized environment for running [Goose](https://goo
| Variable | Description | Required | | Variable | Description | Required |
|----------|-------------|----------| |----------|-------------|----------|
| `MCP_HOST` | MCP server host | Yes |
| `LANGFUSE_INIT_PROJECT_PUBLIC_KEY` | Langfuse public key | No | | `LANGFUSE_INIT_PROJECT_PUBLIC_KEY` | Langfuse public key | No |
| `LANGFUSE_INIT_PROJECT_SECRET_KEY` | Langfuse secret key | No | | `LANGFUSE_INIT_PROJECT_SECRET_KEY` | Langfuse secret key | No |
| `LANGFUSE_URL` | Langfuse API URL | 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 # Create a new session with this driver
mc session create --driver goose 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 # Create with project repository
mc session create --driver goose --project github.com/username/repo mc session create --driver goose --project github.com/username/repo
``` ```

View File

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

View File

@@ -72,12 +72,6 @@ fi
# Goose uses self-hosted instance, no API key required # 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 # Set up Langfuse logging if credentials are provided
if [ -n "$LANGFUSE_INIT_PROJECT_SECRET_KEY" ] && [ -n "$LANGFUSE_INIT_PROJECT_PUBLIC_KEY" ]; then if [ -n "$LANGFUSE_INIT_PROJECT_SECRET_KEY" ] && [ -n "$LANGFUSE_INIT_PROJECT_PUBLIC_KEY" ]; then
echo "Setting up Langfuse logging" echo "Setting up Langfuse logging"