Skip to main content
The Toolshed API server is built with Hono and uses Better Auth for authentication. All endpoints are under the /api base path.

Authentication

Routes are protected by one of two mechanisms:
  1. Better Auth session cookie — set automatically by the web app after login
  2. Bearer tokenAuthorization: Bearer <TOOLSHED_API_SECRET> for CLI and programmatic access
Unauthenticated routes:
  • GET /api/health
  • GET|POST /api/auth/* (handled by Better Auth)
  • ALL /api/mcp/:token (authenticates via the MCP token in the URL — see MCP Server Overview)

Route groups

Health check

Local development

The server runs at http://localhost:3000 by default.