1. Server Overview
- Server Name:
Recut URL Shortener MCP - Remote Endpoint URL:
https://mcp.recut.in/mcp(Streamable HTTP:POST /mcp, session close viaDELETE /mcp) - Authentication:
OAuth 2.1or Personal Access Token (rmcp_pat_...) - Permission Scopes:
- Read & Write (
recut:read recut:write): Create, update, and delete links, QR codes, branded domains, campaigns, channels, and pixels. - Read-Only (
recut:read): Inspect account status, links, analytics, QR codes, domains, campaigns, channels, pixels, overlays, and splash pages without editing data.
- Read & Write (
- API Key Location: https://app.recut.in/user/developers/apikeys
- Dashboard & Support: Manage apps and tokens in https://app.recut.in or contact https://recut.in/contact.
2. Step-by-Step Client Setup
Add https://mcp.recut.in/mcp in your AI assistant and complete sign-in with OAuth 2.1.
| AI Assistant / Client | Where to Configure | Auth |
|---|---|---|
| ChatGPT | Settings -> Apps / Connectors | OAuth 2.1 |
| Claude (Web, CLI, Desktop) | Connectors / claude_desktop_config.json | OAuth 2.1 |
| Google Gemini & Antigravity | Connectors / ~/.gemini/settings.json | OAuth 2.1 |
| Cursor | ~/.cursor/mcp.json | OAuth 2.1 |
| VS Code & GitHub Copilot | .vscode/mcp.json | OAuth 2.1 |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | OAuth 2.1 |
| Zed, JetBrains & Other IDEs | Client HTTP MCP settings | OAuth 2.1 |
| CLI & Headless Scripts | Authorization: Bearer rmcp_pat_... | PAT Token |
1. ChatGPT (Custom Connector)
- Open Settings → Apps / Connectors → Create App.
- Set Remote MCP Server URL to
https://mcp.recut.in/mcpand select OAuth 2.1. - Sign in with your Recut API key (https://app.recut.in/user/developers/apikeys) and choose Read & Write or Read-Only.
2. Claude (Web, Claude Code CLI & Desktop)
- Claude Web (
claude.ai): Go to Settings → Connectors → Add custom connector, pastehttps://mcp.recut.in/mcp, and click Connect. - Claude Code CLI: Run the command below and follow the OAuth 2.1 login prompt:Terminal
claude mcp add --transport http recut https://mcp.recut.in/mcp - Claude Desktop (
claude_desktop_config.json):Prerequisite: Requires Node.js 20+ installed locally fornpx mcp-remote. Restart Claude Desktop after saving the config file.claude_desktop_config.json{ "mcpServers": { "recut": { "command": "npx", "args": [ "mcp-remote", "https://mcp.recut.in/mcp" ] } } }
3. Google Gemini (Web, CLI & Antigravity)
- Gemini Web (
gemini.google.com): Add a custom MCP connector pointing tohttps://mcp.recut.in/mcpand complete OAuth 2.1 authorization. - Gemini CLI: Add the server, then run
/mcp auth recutin Gemini CLI:Terminalgemini mcp add --transport http --scope user recut https://mcp.recut.in/mcp - Antigravity /
~/.gemini/settings.json:mcp_config.json{ "mcpServers": { "recut": { "httpUrl": "https://mcp.recut.in/mcp", "oauth": { "enabled": true } } } }
4. Cursor (~/.cursor/mcp.json)
Add this configuration to ~/.cursor/mcp.json, save the file, and restart or reload your editor before signing in via OAuth 2.1:
{
"mcpServers": {
"recut": {
"url": "https://mcp.recut.in/mcp"
}
}
}5. VS Code & GitHub Copilot (.vscode/mcp.json)
Add this configuration to .vscode/mcp.json, save the file, and restart or reload your editor before signing in via OAuth 2.1:
{
"servers": {
"recut": {
"type": "http",
"url": "https://mcp.recut.in/mcp"
}
}
}6. Windsurf (~/.codeium/windsurf/mcp_config.json)
Add this configuration to ~/.codeium/windsurf/mcp_config.json, save the file, and restart or reload your editor before signing in via OAuth 2.1:
{
"mcpServers": {
"recut": {
"serverUrl": "https://mcp.recut.in/mcp"
}
}
}7. Zed, JetBrains AI, Codex & Other Clients
Zed, JetBrains AI, Trae, Kiro, Raycast, Cline / Roo, OpenAI Codex, Goose, Warp, Perplexity, Grok, and Mistral Le Chat connect directly to https://mcp.recut.in/mcp using OAuth 2.1.
3. Personal Access Tokens (PAT)
Use a Personal Access Token (rmcp_pat_...) for headless scripts, CI/CD workflows, and CLI tools that send Bearer headers without interactive OAuth 2.1 login.
- Open https://app.recut.in and generate a token scoped to Read & Write or Read-Only.
- Add the
AuthorizationBearer header to your MCP config or HTTP request:
{
"mcpServers": {
"recut": {
"type": "http",
"url": "https://mcp.recut.in/mcp",
"headers": {
"Authorization": "Bearer rmcp_pat_YOUR_TOKEN"
}
}
}
}curl -s https://mcp.recut.in/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer rmcp_pat_YOUR_TOKEN" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"recut_shorten_or_update_link","arguments":{"action":"create","url":"https://example.com/spring-launch","custom":"spring-2026","domain":"https://go.brand.com"}}}'4. Test Your Connection
Once authenticated, paste any prompt below into your AI assistant to verify your workspace connection:
What Recut MCP tools are available on my account?Shorten https://example.com/spring-launch and return the short URL.Create a dynamic QR code for https://recut.in/pricing in SVG format.5. Live JSON-RPC Request & Response Examples
All calls use Authorization: Bearer <rmcp_at_... or rmcp_pat_...> and Content-Type: application/json. Unauthenticated requests return HTTP 401 with WWW-Authenticate pointing to https://mcp.recut.in/.well-known/oauth-protected-resource.
Example 1: Initialize Session (initialize)
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-11-25",
"clientInfo": {
"name": "cursor-vscode",
"version": "1.2.0"
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"protocolVersion": "2025-11-25",
"capabilities": {
"tools": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
},
"prompts": {
"listChanged": false
}
},
"serverInfo": {
"name": "recut-mcp",
"version": "1.0.0",
"title": "Recut URL Shortener MCP",
"websiteUrl": "https://recut.in/mcp",
"icons": [
{
"src": "https://mcp.recut.in/icon.png",
"mimeType": "image/png",
"sizes": [
"512x512"
]
}
]
},
"instructions": "Use Recut URL Shortener MCP to shorten and manage links, inspect click/scan analytics, generate dynamic QR codes, and manage domains, campaigns, channels, pixels, overlays, and splash pages. Always confirm with the user before calling any delete tool."
}
}Example 2: Shorten a Link (recut_shorten_or_update_link)
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "recut_shorten_or_update_link",
"arguments": {
"action": "create",
"url": "https://example.com/spring-launch",
"custom": "spring-2026",
"domain": "https://go.brand.com"
}
}
}{
"jsonrpc": "2.0",
"id": 2,
"result": {
"content": [
{
"type": "text",
"text": "{\n \"action\": \"create\",\n \"id\": 1042,\n \"shorturl\": \"https://go.brand.com/spring-2026\",\n \"longurl\": \"https://example.com/spring-launch\",\n \"deduplicated\": false\n}"
}
],
"structuredContent": {
"action": "create",
"id": 1042,
"shorturl": "https://go.brand.com/spring-2026",
"longurl": "https://example.com/spring-launch",
"deduplicated": false
}
}
}Example 3: Generate a Dynamic QR Code (recut_save_qr_code)
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "recut_save_qr_code",
"arguments": {
"action": "create",
"type": "link",
"data": "https://recut.in/pricing",
"foreground": "#18181b",
"background": "#ffffff",
"name": "Pricing QR"
}
}
}{
"jsonrpc": "2.0",
"id": 3,
"result": {
"content": [
{
"type": "text",
"text": "{\n \"action\": \"create\",\n \"id\": 318,\n \"link\": \"https://app.recut.in/qr/abc123\",\n \"imageUrl\": \"https://app.recut.in/qr/abc123\",\n \"svgUrl\": \"https://app.recut.in/qr/abc123/download/svg/1000\",\n \"pngUrl\": \"https://app.recut.in/qr/abc123/download/png/1000\",\n \"pdfUrl\": \"https://app.recut.in/qr/abc123/download/pdf/1000\",\n \"webpUrl\": \"https://app.recut.in/qr/abc123/download/webp/1000\",\n \"downloadUrls\": {\n \"svg\": \"https://app.recut.in/qr/abc123/download/svg/1000\",\n \"png\": \"https://app.recut.in/qr/abc123/download/png/1000\",\n \"pdf\": \"https://app.recut.in/qr/abc123/download/pdf/1000\",\n \"webp\": \"https://app.recut.in/qr/abc123/download/webp/1000\"\n },\n \"message\": \"QR code created.\"\n}"
}
],
"structuredContent": {
"action": "create",
"id": 318,
"link": "https://app.recut.in/qr/abc123",
"imageUrl": "https://app.recut.in/qr/abc123",
"svgUrl": "https://app.recut.in/qr/abc123/download/svg/1000",
"pngUrl": "https://app.recut.in/qr/abc123/download/png/1000",
"pdfUrl": "https://app.recut.in/qr/abc123/download/pdf/1000",
"webpUrl": "https://app.recut.in/qr/abc123/download/webp/1000",
"downloadUrls": {
"svg": "https://app.recut.in/qr/abc123/download/svg/1000",
"png": "https://app.recut.in/qr/abc123/download/png/1000",
"pdf": "https://app.recut.in/qr/abc123/download/pdf/1000",
"webp": "https://app.recut.in/qr/abc123/download/webp/1000"
},
"message": "QR code created."
}
}
}Example 4: Read-Only Scope Enforcement Error
Returned when a client authorized with recut:read calls a write or delete tool:
{
"jsonrpc": "2.0",
"id": 4,
"result": {
"isError": true,
"content": [
{
"type": "text",
"text": "This session was authorized in Read-Only mode. Re-authorize with Read & Write access to perform changes."
}
]
}
}6. Complete MCP Tool Reference (22 Tools)
| Category | Tool Name | Access / Scope | Parameters | Purpose |
|---|---|---|---|---|
| Account | recut_get_account | Read (recut:read) | forceRefresh? | Connected account tier (free / pro), expiry & API rate limit |
| Extensions | recut_list_overlays_and_splash | Read (recut:read) | kind?, page?, limit?, forceRefresh? | List CTA overlays (overlay-<id>) & custom splash pages |
| Links | recut_links_list_or_search | Read (recut:read) | q?, short?, page?, limit?, order?, forceRefresh? | Browse saved links, search by keyword, or lookup exact short URL |
| Links | recut_get_link_analytics | Read (recut:read) | linkId?, shortUrl?, forceRefresh? | Clicks, unique clicks, countries, referrers, browsers, OS |
| Links | recut_shorten_or_update_link | Write (recut:write) | action, url, linkId?, custom?, domain?, type?, password?, expiry?, status?, metatitle?, metadescription?, metaimage?, description?, pixels?, campaign?, channel?, deeplink?, geotarget?, devicetarget?, languagetarget?, parameters? | Shorten or update links with Pro custom domains, targeting & tracking |
| Links | recut_delete_link | Destructive (recut:write) | linkId | Permanently delete a short link (confirmation prompt required) |
| QR Codes | recut_qrs_list_or_search | Read (recut:read) | q?, page?, limit?, forceRefresh? | Browse dynamic QR codes with image & 1000px download URLs |
| QR Codes | recut_get_qr_analytics | Read (recut:read) | qrId?, query?, forceRefresh? | Scan stats, QR image URL & /download/{svg,png,pdf,webp}/1000 URLs |
| QR Codes | recut_save_qr_code | Write (recut:write) | action, type (link|text|vcard|wifi|email|phone|sms), data?, wifi?, vcard?, foreground?, background?, logo?, name?, qrId? | Create or update custom dynamic QR codes |
| QR Codes | recut_delete_qr_code | Destructive (recut:write) | qrId | Permanently delete a QR code (confirmation prompt required) |
| Domains | recut_list_domains | Read (recut:read) | forceRefresh? | List custom branded domains (Pro plan required) |
| Domains | recut_save_domain | Write (recut:write) | action, domainId?, domain?, redirectroot?, redirect404? | Add or update branded domain & redirects (Pro plan) |
| Domains | recut_delete_domain | Destructive (recut:write) | domainId | Permanently delete branded domain (Pro plan) |
| Campaigns | recut_list_campaigns | Read (recut:read) | page?, limit?, forceRefresh? | List link campaigns & rotator URLs |
| Campaigns | recut_manage_campaign | Write (recut:write) | action (create|update|assign_link), campaignId?, linkId?, name?, slug?, isPublic? | Create/update campaigns or assign short links |
| Campaigns | recut_delete_campaign | Destructive (recut:write) | campaignId | Permanently delete a campaign |
| Channels | recut_list_channels_or_items | Read (recut:read) | channelId?, page?, limit?, forceRefresh? | List channels or items (links/bio/qr) inside a channel |
| Channels | recut_manage_channel | Write (recut:write) | action (create|update|assign_item), channelId?, itemType?, itemId?, name?, description?, color?, starred? | Create/update channels or assign items |
| Channels | recut_delete_channel | Destructive (recut:write) | channelId | Delete channel folder (preserves underlying items) |
| Pixels | recut_list_pixels | Read (recut:read) | page?, limit?, forceRefresh? | List configured retargeting/analytics pixels |
| Pixels | recut_manage_pixel | Write (recut:write) | action (create|update), tag, pixelId?, type?, name? | Create or update GTM, GA, Meta, TikTok, LinkedIn, etc. pixel |
| Pixels | recut_delete_pixel | Destructive (recut:write) | pixelId | Permanently delete a tracking pixel |
7. MCP Resources & Prompts
- Resources (
resources/read):recut://guide/quickstart— Quick usage guide for links, QR download formats, and safety rulesrecut://account/summary— Non-sensitive summary of the connected Recut URL Shortener account and quota
- Prompts (
prompts/get):shorten_campaign_link— Interactive prompt workflow to check Pro domains and shorten a campaign linkcreate_branded_qr— Interactive prompt workflow to generate a branded dynamic QR code with 1000px download links