Set project token
set-project-tokenStore a Goby API key for a project directory to authorize all Goby tool runs from that directory immediately, keeping the key in user config instead of the repository.
Instructions
Store a Goby API key for a project directory so every Goby tool run from that directory (or any subdirectory) uses it. Takes effect immediately, no restart. Tokens are written to the user's config file, never into the repo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Absolute project directory. Defaults to the directory this server was started in (the Claude Code project). Pass it explicitly when unsure. | |
| api_key | Yes | Goby API key, gk_<publicId>_<secret>, minted under Admin → API keys | |
| base_url | No | Your Goby instance origin, e.g. https://acme.goby.chat. Required unless a default URL is stored (goby-mcp token set-default --base-url ...) or GOBY_BASE_URL is set. |