← All agents
OPEN SOURCE

OpenCode + PitchPace

Open-source terminal agent that works with 75+ models. Remote MCP servers with custom headers.

TerminalOpen source

Before you start

  • A PitchPace tenant — your park on <tenant>.pitchpace.app. Replace <tenant> everywhere below.
  • An agent key (ppag_…) with the scopes you need — request one if you don’t have it yet. It is a secret: keep it out of repos and URLs.
QUICK START
  1. 1

    Add the server config

    Project-level: opencode.json in the repo. Global: ~/.config/opencode/opencode.json.

    opencode.json
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "pitchpace": {
          "type": "remote",
          "url": "https://<tenant>.pitchpace.app/api/agent/mcp",
          "enabled": true,
          "headers": { "Authorization": "Bearer ppag_<key-id>.<secret>" }
        }
      }
    }
  2. 2

    Restart OpenCode

    The PitchPace tools load on the next session.

VERIFY IT WORKS

Start opencode and try the first prompt below — the pitchpace tools should be callable.

List my PitchPace unit types and this week’s per-day occupancy.

Writes are opt-in: set_occupancy exists only on keys with occupancy:write, and what it writes lowers your public availability immediately — start read-only if you are unsure.

EXAMPLE PROMPTS
List my unit types and this week’s occupancy per day.
Sync my PMS export: set 14 of my 20 pitches occupied for 1–15 August, note "OTA sales".
Which days in August still have at least 5 pitches available?
Read my price grid and list every band with a minimum stay under 3 nights.
REFERENCE