Bitly for AI agents

Bitly is a link management platform for shortening, branding, and tracking links and QR codes, used by marketing teams to measure clicks and traffic sources on shared links. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

MarketingOAuth 2.0MCP + RESTbitly.com
AUDIT LOG · BITLYPOLICY: acme-support
09:41:07 · claude · u_8f2read
bitly.list_bitlinks
List Bitlinks✓ allowed · 212ms
09:41:08 · claude · u_8f2read
bitly.get_bitlink
Get Bitlink✓ allowed · 164ms
09:41:09 · claude · u_8f2write
bitly.update_bitlink
Update Bitlink✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
bitly.delete_bitlink
Delete Bitlink✕ blocked · policy: deny
EVERY BITLY CALL, ON THE RECORD
01 · USE CASES

What agents do in Bitly.

01

Shorten a link for a campaign

Shorten a long URL into a branded Bitlink before it goes into a campaign email or post.

02

Check click performance on a link

Get click activity and traffic sources for a Bitlink to see which channel drove the most clicks.

03

Remove a link carefully

Delete a Bitlink only after confirming the campaign it supported has ended, since deleting breaks any shared copies of it.

02 · ACTIONS

10 Bitly actions, graded by risk.

Every Bitly action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

6

Look things up. Allowed by default.

  • bitly.get_bitlink
    Get Bitlink
  • bitly.list_bitlinks
    List Bitlinks
  • bitly.get_account_context
    Get Account Context
  • bitly.get_bitlink_activity
    Get Bitlink Activity
  • bitly.get_usage_and_limits
    Get Usage and Limits
  • bitly.get_bitlink_traffic_sources
    Get Bitlink Traffic Sources

write

3

Create and change things. Allow, or ask the user first.

  • bitly.update_bitlink
    Update Bitlink
  • bitly.expand_link
    Expand Link
  • bitly.shorten_link
    Shorten Link

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • bitly.delete_bitlink
    Delete Bitlink
03 · HOW IT WORKS

Bitly in three steps.

  1. 01Your users connect BitlyThey sign in to Bitly on Arc0 Connect, under your brand, and approve the access you ask for.
  2. 02You set the rulesReads run, writes like “update Bitlink” can wait for the user, and “delete Bitlink” can be denied outright.
  3. 03Any agent can actYour agent calls Bitly through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('bitly', {
  read: 'allow',
  write: 'ask',        // update_bitlink
  destructive: 'deny',  // delete_bitlink
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Bitly connects.

Users sign in to Bitly on Arc0 Connect and approve the scopes you request. Build with Arc0’s Bitly OAuth app, or bring your own so the Bitly consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

The same Bitly connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key · OAuth 2.0
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Bitly from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Bitly and Arc0, answered.

Q01

Can I use Bitly with Claude, ChatGPT or Cursor?

Yes. Connect Bitly to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Bitly actions you allow.

Q02

How do users connect Bitly?

Users sign in to Bitly on Arc0 Connect and approve the scopes you request. Build with Arc0’s Bitly OAuth app, or bring your own so the Bitly consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

Q03

Which Bitly actions can my agent take?

10 in total: 6 read, 3 write and 1 destructive, such as “update Bitlink”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Bitly?

Yes. Actions like “delete Bitlink” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Bitly too?

Yes. The same Bitly connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Bitly into your agent.

Your users connect Bitly once, under your brand. Your agent gets 10 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan