KosmoKrator

marketing

Dub.co MCP, CLI, and Lua Integration for AI Agents

Dub.co integration docs for AI agents: MCP gateway setup, Dub.co CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write Bearer token auth

Dub.co for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
dub
route_slug
dub
package
dub
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Dub.co MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Dub.co.

Dub.co CLI Matrix

Use these pages for direct Dub.co CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
dub.dub_list_links Read read 5 List short links from Dub.co. Supports pagination, searching, and filtering by domain or tag.
dub.dub_get_link Read read 1 Get details of a specific short link by its ID.
dub.dub_create_link Write write 6 Create a new short link in Dub.co. Provide a destination URL and optionally a custom domain, key (back-half), title, description, and tags.
dub.dub_list_domains Read read 2 List all domains configured in your Dub.co workspace.
dub.dub_get_domain Read read 1 Get details of a specific domain by its ID or slug.
dub.dub_list_tags Read read 3 List link tags in your Dub.co workspace. Supports pagination and search.
dub.dub_get_current_user Read read 0 Get the profile of the currently authenticated Dub.co user. Useful for verifying the connection and checking workspace membership.