# Short Menu — how to use (mcp.ai)

Connect your Short Menu account and use 3 tools for URL shortener straight from your AI agent. Connect with your own API key. Short Menu is a URL shortening application that allows users to create and manage short links efficiently.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_short_menu?ms=1787293500000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `short_menu_create_link`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/short_menu`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/short_menu/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/short_menu/create/link` — Tool to create a new shortened link. Use when you need to generate a short URL with optional custom parameters like domain, tags, slug, etc. Use after gathering the target URL and any metadata.
  - body: { url: string, slug?: string, tags?: string[], domain?: string, password?: string, pixel_ids?: string[], expires_at?: string, description?: string }
- `POST https://api.mcp.ai/api/short_menu/delete/link` — Tool to delete an existing short link by its ID. Use when you need to remove a shortened URL from the system.
  - body: { id: string }
- `POST https://api.mcp.ai/api/short_menu/get/domains` — Tool to retrieve available custom domains. Use when you need to display or select a domain for shortening links.

## Example prompts
- "What can I do in Short Menu?"
- "Show me a summary of my Short Menu account"

## More
- Page: https://mcp.ai/short_menu
- Agent spec (llms.txt): https://mcp.ai/short_menu/llms.txt
- Postman collection: https://mcp.ai/short_menu/postman.json
