Agents and API
An MCP server, a REST API and an llms.txt. Everything the app does, an agent can do, inside one workspace and nowhere else.
MCP server
The server speaks Streamable HTTP at https://api.tapni.com/mcp/tlink. Use an API key, or sign in from Claude and ChatGPT connectors with your Tapstack account.
claude mcp add --transport http tlink \
https://api.tapni.com/mcp/tlink \
--header "Authorization: Bearer tlk_your_api_key"{
"mcpServers": {
"tlink": {
"url": "https://api.tapni.com/mcp/tlink",
"headers": { "Authorization": "Bearer tlk_your_api_key" }
}
}
}create_link
Shorten a URL, with an optional name, tags and expiry.
list_links
Find links by name, destination, title or tag.
update_link
Change the destination or name, pause or resume.
delete_link
Delete a link. The agent is told to ask first.
get_link_stats
Clicks, visitors, countries, referrers and apps for one link.
get_analytics
The same for the whole workspace, plus top links.
list_domains
Custom domains links can be put on.
preview_deep_link
Which native app a URL would open on phones.
REST API
Bearer auth with the same key. Errors come back with a stable code and a sentence a person can read. 120 requests a minute per key.
curl -X POST https://api.tapni.com/v1/tlink/links \
-H "Authorization: Bearer tlk_your_api_key" \
-H "Content-Type: application/json" \
-d '{"url": "https://youtu.be/dQw4w9WgXcQ", "slug": "new-video"}'{
"success": true,
"link": {
"short_url": "https://t.link/new-video",
"deep_link_app": "youtube",
"clicks": 0
}
}t.link is part of Tapstack. One account and one workspace for t.link, Tapni and MailSign.
About TapstackCreate a key in the app and connect in one command. Free while in beta.