Labsco
2slides logo

Bitly MCP Server

from 2slides

Turn your AI assistant into a digital marketing hub that creates, organizes, and analyzes links and QR Codes on demand.

πŸ”₯πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredAdvanced setup

The Bitly MCP Server

Welcome to the Bitly MCP Server guide.

If you're here, you probably already know what an MCP Server is, but if you need the primer, check out our What is MCP? page.

The Bitly MCP Server provides access to all of the functionality you'd expect out of a Bitly interface -- like the Bitly API, like the bitly.com website, like the Bitly Chrome Extension, like the Bitly Mobile app -- but this time for your AI agent of choice.

Want to use Bitly with ChatGPT? Bitly MCP Server or Bitly Custom GPT. Want to use Bitly with Claude? Bitly MCP Server. Want to use Bitly with Cursor, VSCode or Windsurf? Bitly MCP Server.

Authentication

The Bitly MCP Server supports two authentication methods:

OAuth 2.1 with Dynamic Client Registration (Recommended)

For clients that support OAuth (like Claude Web, ChatGPT, and other modern AI assistants), OAuth provides:

  • Enhanced Security - No need to manually manage API tokens
  • Automatic Client Registration - Dynamic Client Registration (DCR) handles client setup automatically
  • Token Refresh - Automatic token renewal without manual intervention

When configuring OAuth, your AI client will:

  1. Redirect you to Bitly's authorization page
  2. Ask you to log in and authorize the connection
  3. Automatically register as an OAuth client using DCR
  4. Receive and manage access tokens transparently

API Token (Alternative)

For simpler setups or clients without OAuth support:

  1. Log in to your Bitly account at bitly.com
  2. Navigate to Settings β†’ API
  3. Click Generate Access Token
  4. Copy the token and store it securely
  5. Use it in your MCP client configuration as shown in the examples above

Test It Out

Once configured, try asking your AI:


 "What Bitly tools are available?"

 "Please shorten this URL: [https://example.com/very-long-url](https://example.com/very-long-url)"

From there you should be all set!