Bitly MCP Server
Turn your AI assistant into a digital marketing hub that creates, organizes, and analyzes links and QR Codes on demand.
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 Claude? Bitly MCP Server.
Want to use Bitly with Cursor, VSCode or Windsurf? Bitly MCP Server.
Want to use Bitly with ChatGPT -- well for now, see our Bitly Custom GPT but we'll have OAuth sorted out soon for that, so you'll be able to connect the MCP Server there as well.
Quick Setup
The Bitly MCP Server is hosted at https://api-ssl.bitly.com/v4/mcp.
Get your Bitly API token at https://bitly.com/settings/api and add our server to your AI assistant config.
Below is the grid of configurations with links to detailed instructions -- if we're missing one that you use, you will find guidance on the Configuration Details page. We will be adding additional configuration guides over time.
AI Agent | Configuration Instructions | Notes |
---|---|---|
Cursor | Configure Cursor | HTTP transport – super simple |
Claude Desktop | Configure Claude Desktop | Uses npx proxy for local connection |
VS Code | Configure VS Code | HTTP transport in workspace config |
Windsurf | Configure Windsurf | Uses npx proxy for local connection |
Claude Web Interface (claude.ai) | Configuration coming soon | Coming Soon. We recommend using Claude Desktop in the meantime. Requires Workspace Admin enablement for Team and Enterprise Plans |
ChatGPT | Configuration coming soon | Coming Soon. See our Bitly Custom GPT in the meantime Requires Team, Enterprise, and Edu workspace plan |
Most other HTTP-compatible agents | Check our Configuration section | Generic HTTP setup works for most |
Why the “Coming soon” status? Here’s the situation: Our OAuth implementation doesn't currently support Dynamic Client Registration which we will sort out in the coming weeks. Once done, this will fully enable Claude on the web and ChatGPT. Stay tuned for our fast follow.
Configurations
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"Bitly": {
"type": "http",
"url": "https://api-ssl.bitly.com/v4/mcp",
"headers": {
"Authorization": "Bearer YOUR_BITLY_AUTH_TOKEN"
}
}
}
}
Replace YOUR_BITLY_AUTH_TOKEN with your actual token, restart Cursor, and you're good to go!
Claude Desktop
**Prerequisite:**This installation requires an installed version of npm with
npx
support. Make sure you have Node.js 20 LTS or higher installed.
Add to your Claude configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"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"
}
}
}
}
Replace YOUR_BITLY_AUTH_TOKEN with your token, save, and restart Claude Desktop.
VS Code
Add to ~/.vscode/mcp.json in your workspace:
{
"servers": {
"Bitly": {
"type": "http",
"url": "https://api-ssl.bitly.com/v4/mcp",
"headers": {
"Authorization": "Bearer YOUR_BITLY_AUTH_TOKEN"
}
}
}
}
Remember to swap out YOUR_BITLY_AUTH_TOKEN with your actual token from bitly.com/settings/api.
Windsurf
Add to ~/.windsurf/config.json:
## Authentication
**Getting your API Token**
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
## Test It Out
Once configured, try asking your AI:
"What Bitly tools are available?"
"Please shorten this URL: https://example.com/very-long-url"
From there you should be all set!
---
Related Servers
Yuga Planner
AI Task schedule planning with LLamaIndex and Timefold: breaks down a task description and schedules it around an existing calendar
Canvas MCP
Interact with Canvas LMS and Gradescope using AI agents.
Date and Time MCP Server
Provides current date and time information, with support for various formats and timezone conversions.
Things MCP
Integrate with the Things 3 to-do app on macOS.
Sequential Thinking
An MCP server designed for sequential thinking and problem-solving tasks.
Obsidian
Manage Obsidian vaults with knowledge graph operations and AI-powered features.
Microsoft Planner by CData
A read-only MCP server enabling LLMs to query live Microsoft Planner data using the CData JDBC Driver.
Travel MCP Server
A comprehensive travel planning server for flight search, accommodation booking, currency exchange, and weather forecasting.
Agentic Tools
Provides AI assistants with advanced task management and memory capabilities using local JSON file storage.
Portfolio Manager MCP Server
A server providing tools and resources for managing and analyzing investment portfolios.