Skip to main content
Version: FINAL-1.0.0

Authentication

Token resolution order (first available wins):

  1. Session token — set by calling bunnystudio_login (used for all later calls in that session)
  2. CLI flag--token=YOUR_JWT_TOKEN
  3. Environment variableBUNNY_API_TOKEN
export BUNNY_API_TOKEN="YOUR_JWT_TOKEN"
npx @bunnystudio/mcp

Option B — CLI flag

npx @bunnystudio/mcp --token=YOUR_JWT_TOKEN

Option C — Login via MCP tool

Call the bunnystudio_login tool from your AI client. The returned token is stored for the session and used automatically for all subsequent calls.

Example prompts:

  • "Log me in to Bunny Studio with email you@example.com and password your-password"
  • "Authenticate me to the Bunny Studio API."

Custom API URL

For testing against a staging or local instance:

npx @bunnystudio/mcp --api-url=http://localhost:3000 --token=YOUR_JWT

See Environment variables for BUNNY_PUBLIC_API_URL.