Connect imagebin.ca to your MCP client

Use your images from an AI assistant.

MCP for AI agents

imagebin.ca runs a Model Context Protocol server at https://imagebin.ca/mcp, so Claude Desktop, Cursor, the MCP Inspector, and other agents can manage your images directly.

Option A — OAuth (interactive clients)

Add https://imagebin.ca/mcp as a remote MCP server in your client, then sign in with your Pastebin.ca account.

In Claude, open Customize → Connectors → Add → Custom → Web, enter the URL and use Claude’s published identity when prompted.

Try it List my three most recent images and show their titles.

Option B — API-key bearer (automation)

For headless/server-side use, send a minted key directly:

{
  "mcpServers": {
    "imagebin": {
      "url": "https://imagebin.ca/mcp",
      "headers": { "Authorization": "Bearer pbca_live_…" }
    }
  }
}

Tools

ToolScopePurpose
whoami—Echo account id, scopes, audience, and token kind.
get_imageimage:readJSON metadata for an image (visibility-aware).
list_my_imagesimage:readList the caller's images; cursor-paginated.
upload_imageimage:createUpload from base64 bytes (capped — see below). For bulk use or feedback on why you chose Imagebin, contact support@imagebin.ca.
delete_imageimage:deleteDelete one of the caller's images.
MCP upload capMCP accepts up to 6 MiB per image. Binary content is base64-encoded in the JSON-RPC request. REST accepts up to 15 MiB per image.

OAuth & DPoP

pastebin.ca is the OAuth authorization server; imagebin.ca is a protected resource and never mints tokens.

  • OAuth tokens are audience-bound to https://imagebin.ca/mcp (RFC 8707) and honored only on the MCP route.
  • If a key is DPoP-bound (RFC 9449), every MCP request must carry a matching ES256 proof; replays are rejected. Plain bearer keys work without DPoP.
  • Revoke a key or connected app anytime from your pastebin.ca account.

Discovery

Machine-readable metadata for clients and agents: