Bitly MCP Server

resmi

Yapay zeka asistanınızı, talep üzerine bağlantılar ve QR Kodları oluşturan, düzenleyen ve analiz eden bir dijital pazarlama merkezine dönüştürün.

Dokümantasyon

Bitly MCP Sunucusu

Bitly MCP Sunucusu kılavuzuna hoş geldiniz.

Buraya geldiyseniz, muhtemelen bir MCP Sunucusunun ne olduğunu zaten biliyorsunuzdur, ancak başlangıç bilgisine ihtiyacınız varsa, MCP Nedir? sayfamıza göz atın.

Bitly MCP Sunucusu, bir Bitly arayüzünden beklediğiniz tüm işlevselliğe erişim sağlar – Bitly API, bitly.com web sitesi, Bitly Chrome Uzantısı, Bitly Mobil uygulaması gibi – ancak bu kez seçtiğiniz yapay zeka aracısı için.

Bitly'yi ChatGPT ile kullanmak mı istiyorsunuz? Bitly MCP Sunucusu veya Bitly Özel GPT. Bitly'yi Claude ile kullanmak mı istiyorsunuz? Bitly MCP Sunucusu. Bitly'yi Cursor, VSCode veya Windsurf ile kullanmak mı istiyorsunuz? Bitly MCP Sunucusu.

Hızlı Kurulum

Bitly MCP Sunucusu şu adreste barındırılmaktadır: https://api-ssl.bitly.com/v4/mcp.

Kimlik Doğrulama Seçenekleri:

  • OAuth 2.1 (Önerilir) – OAuth'u destekleyen istemciler için bu, otomatik istemci kaydı ile güvenli, belirteç tabanlı kimlik doğrulama sağlar
  • API Belirteci – Daha basit kurulumlar veya OAuth desteği olmayan istemciler için, https://bitly.com/settings/api adresinden Bitly API belirtecinizi kullanın

Aşağıda, ayrıntılı talimatlara bağlantılar içeren yapılandırma tablosu bulunmaktadır – kullandığınız bir tanesi eksikse, Yapılandırma Ayrıntıları sayfasında rehberlik bulacaksınız. Zamanla ek yapılandırma kılavuzları ekleyeceğiz.

Yapay Zeka AracısıYapılandırma TalimatlarıNotlar
ChatGPTChatGPT'yi YapılandırDinamik İstemci Kaydı ile OAuth
Claude Web Arayüzü (claude.ai)Claude Web'i YapılandırDinamik İstemci Kaydı ile OAuth
Claude DesktopClaude Desktop'ı YapılandırHem OAuth hem de API belirtecini destekler
Claude CodeClaude Code'u YapılandırHTTP aktarımı – hem OAuth hem de API belirtecini destekler
CursorCursor'ı YapılandırHTTP aktarımı – hem OAuth hem de API belirtecini destekler
VS CodeVS Code'u YapılandırHTTP aktarımı – hem OAuth hem de API belirtecini destekler
WindsurfWindsurf'u YapılandırYerel bağlantı için npx proxy kullanır
Diğer HTTP uyumlu aracıların çoğuYapılandırma bölümümüze bakınGenel HTTP kurulumu çoğu için çalışır

Yapılandırmalar

Claude Code

~/.claude/mcp.json dosyasına ekleyin:

OAuth için (önerilir):

{
  "mcpServers": {
    "Bitly": {
      "type": "http",
      "url": "https://api-ssl.bitly.com/v4/mcp"
    }
  }
}

API Belirteci için:

{
  "mcpServers": {
    "Bitly": {
      "type": "http",
      "url": "https://api-ssl.bitly.com/v4/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_BITLY_AUTH_TOKEN"
      }
    }
  }
}

Yapılandırmayı ekledikten sonra Claude Code'u yeniden başlatın.

Cursor

~/.cursor/mcp.json dosyasına ekleyin:

Yapılandırmayı ekledikten sonra Cursor'ı yeniden başlatın.

Claude Desktop

Claude yapılandırma dosyanıza ekleyin:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "Bitly": {
      "url": "https://api-ssl.bitly.com/v4/mcp"
    }
  }
}

API Belirteci için (npx proxy kullanarak):

Ön koşul: npx desteği ile Node.js 20 LTS veya üstü gerektirir.

{
  "mcpServers": {
    "Bitly": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://api-ssl.bitly.com/v4/mcp",
        "--header",
        "Authorization: Bearer ${AUTH_TOKEN}"
      ],
      "env": {
        "AUTH_TOKEN": "YOUR_BITLY_AUTH_TOKEN"
      }
    }
  }
}

Yapılandırmayı ekledikten sonra Claude Desktop'ı yeniden başlatın.

VS Code

Çalışma alanınızdaki ~/.vscode/mcp.json dosyasına ekleyin:

{
  "servers": {
    "Bitly": {
      "type": "http",
      "url": "https://api-ssl.bitly.com/v4/mcp"
    }
  }
}

{
  "servers": {
    "Bitly": {
      "type": "http",
      "url": "https://api-ssl.bitly.com/v4/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_BITLY_AUTH_TOKEN"
      }
    }
  }
}

Windsurf

~/.windsurf/config.json dosyasına ekleyin:


### Claude Web

For Claude on the web (claude.ai), use OAuth authentication:

1. Navigate to your Claude workspace settings
2. Go to the MCP servers configuration section
3. Add the Bitly MCP Server:  
   * **Server URL:** `https://api-ssl.bitly.com/v4/mcp`  
   * **Authentication:** OAuth

When prompted, log in to your Bitly account and authorize the connection. Claude will handle the OAuth flow automatically using Dynamic Client Registration.

> **Note:** OAuth support in Claude Web requires Workspace Admin enablement for Team and Enterprise Plans.

### ChatGPT

For ChatGPT, use OAuth authentication:

1. In ChatGPT, go to **Settings > Apps & Connectors > Advanced Settings**
2. Toggle **Developer Mode** on
3. Go back and click **Create**
4. Add the Bitly MCP Server:  
   * **Server URL:** `https://api-ssl.bitly.com/v4/mcp`  
   * **Authentication:** OAuth

When prompted, log in to your Bitly account and authorize the connection. ChatGPT will handle the OAuth flow automatically using Dynamic Client Registration.

> **Note:** MCP support in ChatGPT requires Plus, Team, Enterprise, or Edu plans. For workspace plans, you must be an admin to access these settings.

## 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:

"Hangi Bitly araçları mevcut?"

"Lütfen bu URL'yi kısaltın: https://example.com/very-long-url"


Bundan sonra her şey hazır olmalı!

---