Inspiration

Content creators, influencers, and small business owners spend hundreds of dollars monthly on tools like ClickMagick, Voluum, and Linktree — just to manage links and track who clicks them. We wanted to build one platform that replaces all of them, and takes it a step further by letting AI agents do the complex marketing setup work on behalf of the user.

What it does

Smart Link is a link management and bio page platform with full WebMCP agent support.

Users can create short links, build bio landing pages, track real-time analytics by country and device, run A/B tests to find the best-performing URL, and protect their links from bot traffic automatically.

What makes Smart Link unique is its agent-native design. When opened in ChatGPT's in-app browser, the platform exposes three WebMCP tools that AI agents can use:

  • create_marketing_link: Creates a fully-configured tracking link in one step — with geo-targeting rules (route Saudi users to an Arabic page, French users to a French page), device routing (mobile vs desktop), UTM tracking parameters, A/B testing between multiple URLs, and bot protection. A task that would normally take a marketer 15 minutes across multiple tools now takes one sentence.

  • get_link_analytics: Retrieves total clicks, human vs bot breakdown, top countries, device types, and A/B test results for any link by short code.

  • shorten_url: Instantly shortens any URL without requiring an account.

How we built it

The platform is built with a full-stack architecture using React, Tailwind CSS, and Vite on the frontend, deployed on Vercel. The backend runs on Node.js with Express.js, MongoDB Atlas for persistence, and Redis for caching and rate limiting, deployed on Fly.io. We use Brevo for email campaigns and Lemon Squeezy for subscription billing.

For WebMCP, we registered the three agent tools directly in the HTML using document.modelContext.registerTool(). We built a dedicated public API endpoint that AI agents call to create links with full marketing configuration. When a logged-in user opens the site in ChatGPT's browser, their session token is read automatically so created links appear in their personal dashboard.

Challenges we ran into

The biggest technical challenge was achieving sub-150ms redirect speeds while simultaneously recording click analytics and running bot detection in real time. We solved this by caching redirect targets in Redis and processing analytics asynchronously in the background.

For WebMCP, the challenge was designing a public API that exposes advanced features like geo-targeting and A/B testing to AI agents, while preventing abuse through strict rate limiting and Google Safe Browsing URL safety checks on every request.

Accomplishments that we are proud of

Smart Link is a live production application with 41 registered users and over 1,800 tracked clicks — built and running before this hackathon. We are proud of the sub-150ms redirect performance and being one of the first link management platforms to expose agent-native WebMCP tools, allowing marketers to set up complex geo-targeted, bot-protected campaigns through a single natural language conversation.

What we learned

We learned how to design APIs that serve both humans and AI agents — with clear parameter descriptions, meaningful error messages, and structured responses that agents can reason about. We also deepened our understanding of Redis caching strategies for high-traffic systems.

What's next for Smart Link

We plan to add create_bio_page and run_ab_test as new WebMCP tools, letting agents build full landing pages and launch experiments without touching the UI. We also plan to add AI-powered UTM suggestions and integrate Facebook Pixel and Google Tag Manager firing directly through the agent tools.

Built With

Share this project:

Updates

Submission history