← All agents

Connect Claude Code to Shorty

Anthropic's CLI coding agent — connects over MCP with one command.

  1. 1. Add the Shorty MCP server

    claude mcp add --transport http shorty https://aishorty.com/api/mcp
  2. 2. Then, on first tool use, approve the browser OAuth consent screen

    # Claude Code opens your browser automatically — sign in to Shorty and
    # approve the scopes the assistant is requesting.

Verify it worked

Call the MCP tool `get_usage_quota` (or `curl -s https://aishorty.com/v1/usage -H "Authorization: Bearer $SHORTY_API_KEY"` for the REST API)

Success: A JSON body naming a plan (Free, Premium, or Pro) and usage limits — not a 401 or a tool-not-found error.