Skip to content

Configure Goose CLI

Configure Endor with Goose CLI to provide your AI agent with instant access to development environments. Goose runs locally and connects to different LLM providers while using Endor’s MCP integration.

Setup

Configure Endor in Goose CLI

  1. 1

    Install Endor CLI on your system:

    Terminal window
    npm install -g @endorhq/cli

    For detailed instructions, see the Setup guide

  2. 2
    Install Goose CLI
  3. 3

    Run the configuration command:

    Terminal window
    goose configure
  4. 4
    Select “Add Extension”
  5. 5
    Select “Command-line Extension”
  6. 6

    Set the following parameters:

    Name: endor
    Command: endor mcp
    Timeout: 60

    Add the --allow-net flag if you want to grant access to public networks. More information on Networking.

    Name: endor
    Command: endor mcp --allow-net
    Timeout: 60
  7. 7

    Add the following description:

    Instant development and testing environments for databases and services. Run MariaDB, PostgreSQL, Redis, Valkey, and other pre-configured services in isolated sandboxes.
  8. 8
    Skip the “Environment Variables” step
  9. 9

    Alternatively, edit ~/.config/goose/config.yaml to add the Endor MCP server configuration:

    extensions:
    endor:
    args:
    - mcp
    - --allow-net
    bundled: null
    cmd: endor
    description: Instant development and testing environments for databases and services. Run MariaDB, PostgreSQL, Redis, Valkey, and other pre-configured services in isolated sandboxes.
    enabled: true
    env_keys: []
    envs: {}
    name: endor
    timeout: 60
    type: stdio

Usage

Once configured, Goose can automatically use Endor to:

  • Spin up databases for development tasks
  • Create isolated testing environments
  • Provide pre-configured services without local setup

Ask Goose to help with tasks like “set up a MariaDB database for this Laravel project” and it will automatically use Endor to provide the required services.