# lc.cx — MCP server on mcp.ai > Connect your lc.cx account and use 10 tools for URL shortener straight from your AI agent. Connect with your own API key. lc.cx provides URL shortening, branded domains, workspaces, tags, click statistics, and QR code generation through its API. By: mcp.ai · official Page: https://mcp.ai/lc_cx ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_lc_cx?ms=1787298900000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/lc_cx/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/lc_cx/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/lc_cx/skill.md Postman collection (v2.1): https://mcp.ai/lc_cx/postman.json ## Tools - lc_cx_create_short_link(note?: string, tag_ids?: string[], domain_id?: string, custom_path?: string, destination: string, workspace_id?: string) — Shorten one destination URL on lc.cx, optionally choosing its path, tags, note, and workspace. Warning: each successful creation permanently consumes one unit of the current monthly quota, even if the - lc_cx_create_tags(tags: object[], workspace_id?: string) — Create one or more tags in a workspace and return their ids for attaching to short links. - lc_cx_delete_short_link(link_id: string, workspace_id?: string) — Permanently delete one short link. Deletion does not restore the monthly creation quota. - lc_cx_delete_tag(tag_id: string, workspace_id?: string) — Permanently delete one tag from the selected workspace. - lc_cx_get_account_context() — Return lc.cx plan and short-link quota information together with available domains and workspaces needed to create and route short links. - lc_cx_get_short_link(link_id: string, workspace_id?: string) — Retrieve one short link by its lc.cx link id from the selected workspace. - lc_cx_list_short_links(offset?: integer, workspace_id?: string) — Return one page of recently created short links in the selected workspace, with an offset for the next page when one may exist. - lc_cx_list_tags(workspace_id?: string) — Return all tags available in the selected workspace for organizing short links. - lc_cx_update_short_link(note?: string, link_id: string, tag_ids: string[], destination?: string, workspace_id?: string) — Update a short link's destination, note, or complete tag assignment. tag_ids is the full replacement list; resend current ids to preserve them or [] to clear. - lc_cx_update_tag(name?: string, color?: string, tag_id: string, workspace_id?: string) — Update the name or color of one tag in the selected workspace. ## Example prompts - "What can I do in lc.cx?" - "Show me a summary of my lc.cx account" ## Links Docs: https://mcp.ai/docs/mcps/lc_cx Website: https://mcp.ai/mcps/lc_cx