Feed agents structured data.
Connect your AI agent to rii.link over MCP — it creates links, sets routing, reads analytics and checks your domains, and every answer comes back as structured data.
One example conversation with an AI assistant connected to rii.link's MCP server, told in four tool calls around a single link, links.acme.com/webinar. First: asked to create a webinar signup link — create_mapping creates it, answered live at links.acme.com/webinar, then the assistant notes the plan includes routing and asks whether German visitors should go to the German page. Second: asked to route German visitors to /de — set_routing_rules adds a country rule with the signup page as fallback, then the assistant mentions that a QR code points at the link and follows every change. Third: asked how the link is doing — analytics_summary returns 4,812 human clicks in 24 hours, 38% from Instagram, top country Germany. Fourth: asked to confirm the domain is still set up right — get_host with a live check shows DNS resolving and the certificate active, then the assistant offers to set up the next campaign's links.
Everything an agent needs.
One response.
One JSON shape for every link your agent creates over MCP or the API: destination, routing rules (Premium), expiry and ids — documented and versioned.
{
"id": "lnk_8h2f0qZ3Tk1mR4vXw9aBcQ", "url": "https://myshop.com",
"routing": [
{ "if": { "device": "ios" }, "to": "https://apps.apple.com/app/id123" },
{ "if": { "device": "android" }, "to": "https://play.google.com/store/id123" } ], "slug": "sale",
"short_url": "https://rii.link/sale", "expires_at": "2026-12-31T23:00:00Z", "updated_at": "2026-09-12T08:30:00Z"}Every rule in order, plus the fallback — not just one URL.
The public URL on your domain, ready to share.
When it stops answering — a 410 after that.
A stable, versioned /v1 shape, published as OpenAPI.
Let agents create, update & analyze links for you.
Connect https://mcp.rii.link with OAuth and your AI assistant manages links the way it manages files — each agent stays visible, scoped and revocable in your rii.link account.
Example conversation: the user asks the assistant to create a branded link for the summer sale that routes iPhone users to the App Store, and to show last week's clicks. The assistant calls the create_link tool to create rii.link/summer-sale with iOS traffic routed to the App Store, then calls link_stats, which returns 18,423 clicks over the last 7 days with Germany as the top geography, and confirms the link is live with those results. MCP link management is live — shipped August 2026, ahead of its promised date.
Links from a sentence
"Shorten this and route DE traffic to /de" becomes a real, live link — no dashboard clicks.
Update & route in place
Agents repoint destinations and add rules through typed tool calls — QR codes follow automatically.
Analytics on demand
Ask for clicks, geos or top links and get structured results back into the conversation.
Ready to build smarter connections?
Branded links, visual routing and LLM-ready responses — start free, no credit card needed.