A Docker image that bundles the Goose AI agent with MCP (Model Context Protocol) servers. It allows users to run Goose in a containerized environment and configure it to connect to local or remote LLMs—for example, via Ollama. The image also supports adding MCP extensions such…
Details
Author
elsewhat
GitHub stars
4
Downloads
500
Categories
Other
Jump to
- Pre-packaged Docker image with Goose and MCP servers.
- Configuration wizard via goose configure.
- Example setup for Ollama using host.docker.internal.
- Supports adding the GitHub MCP server as a command-line extension.
- Automatic Goose installation in dev containers.
- Requires libdbus-1-3 as a system dependency.
Run goose configure to set up the LLM provider (e.g., Ollama) and to add extensions like the GitHub MCP server. The dev container automatically installs Goose via a postCreateCommand that runs curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false bash. A system dependency (libdbus-1-3) must be installed via sudo apt-get.
# goose-with-mcp-servers
Codename goose docker image with mcp servers
## Configuring Goose
Run `goose configure` to setup connection from goose to LLM.
Example output for Ollama (use host.docker.internal instead of localhost due to docker networking))
```
Welcome to goose! Let's get you set up with a provider.
you can rerun this command later to update your configuration
┌ goose-configure
│
◇ Which model provider should we use?
│ Ollama
│
◇ Provider Ollama requires OLLAMA_HOST, please enter a value
│ host.docker.internal
│
◇ Enter a model from that provider:
│ qwen2.5
│
◓ Checking your configuration... └ Configuration saved successfully
Tip: Run 'goose configure' again to adjust your config or add extensions
```
## Automatic install of Goose
Devcontainer contains installing of Goose via `postCreateCommand`.
```
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false bash
```
### Dependency
Goose requires libdbus which is also added to Devcontainer
```
sudo apt-get update && sudo apt-get install -y libdbus-1-3
```
### Add GitHub MCP Server to Goose
GitHub Personal access token added via https://github.com/settings/personal-access-tokens/
```
node ➜ /workspaces/goose-with-mcp-servers (main) $ goose configure
This will update your existing config file
if you prefer, you can edit it directly at /home/node/.config/goose/config.yaml
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ GitHub
│
◇ What command should be run?
│ npx -y @modelcontextprotocol/server-github
│
◇ Would you like to add environment variables?
│ Yes
│
◇ Environment variable name:
│ GITHUB_PERSONAL_ACCESS_TOKEN
│
◇ Environment variable value:
│ ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
│
◇ Add another environment variable?
│ No
│
└ Added GitHub extension
```
No reviews yet — be the first
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
Social sign-in isn’t configured yet. You can still create an account with email below, or ask an admin to add Google/GitHub/Discord OAuth credentials.
Sequential Thinking is an MCP server that provides a tool for dynamic and reflective problem-solving through a structured, step-by-step thinking process. It is…
Filesystem is a Node.js server that implements the Model Context Protocol (MCP) for filesystem operations. It enables AI assistants to read, write, and manage…
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
A collection of reference implementations for the Model Context Protocol (MCP), demonstrating secure and controlled access to tools and data sources for Large…