list_domains
List Domains
List all available domains for URL shortening, including system-provided public domains and user-added custom (private) domains. Supports filtering by visibility and pagination.
Ask your agent in plain language. Each of these maps to a real tool on the server.
list_domains
List all available domains for URL shortening, including system-provided public domains and user-added custom (private) domains. Supports filtering by visibility and pagination.
shorten_url
Create a shortened URL from a long link. Optionally specify a custom domain, custom slug (alias), and a descriptive title. If the same long URL has already been shortened within the account, the previously created short link is returned.
delete_link
Delete a previously created short link. Provide the shortened link identifier (e.g., "u301.co/fuYx") to permanently remove it.
generate_qr_code
Generate a QR code in SVG format for a shortened URL. Customize the QR code appearance with width, margin, error correction level, and foreground/background colors.
list_workspaces
List the workspaces accessible to the current API key. Use the returned workspace IDs with list_links and get_click_analytics.
get_link
Retrieve a short link by domain and slug, including its destination, owner, workspace, timestamps and current state. Call list_workspaces if a workspace ID is needed.
get_click_analytics
Retrieve daily or hourly clicks across all short links in a workspace for a recent date range. Call list_workspaces to discover workspace IDs.
list_links
List a page of short links in a workspace with destinations, click counts and pagination metadata. Call list_workspaces to discover workspace IDs.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Shorten URLs with custom domains and slugs, delete short links, and generate QR codes for shortened URLs. List available domains including public system domains and private custom domains. Track link performance and manage link-in-bio pages.
Common questions about connecting U 301 to AI agents with Metorial.