# Youfiliate Smart Links MCP server

Create geo-targeted affiliate smart links, pull analytics, and rewrite YouTube descriptions.

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-andrewmpierce-youfiliate-mcp
- Repository: https://github.com/andrewmpierce/youfiliate-mcp
- Website: https://youfiliate.com

## Install
- Command: `uvx youfiliate-mcp`
- Endpoint: https://youfiliate-mcp.onrender.com/mcp
- Auth: Auth required by registry metadata

## Setup notes
- Remote header: Authorization (required; secret)
- Package: Pypi youfiliate-mcp v0.1.1
- Environment variable: YOUFILIATE_API_KEY (required; secret)
- Environment variable: YOUFILIATE_API_BASE_URL (default https://app.youfiliate.com)
- The upstream registry signals required auth or secrets.
- Remote endpoint: https://youfiliate-mcp.onrender.com/mcp
- Header: Authorization

## Tools
- youfiliate_create_smart_link - Create a new geo-targeted smart link with an optional custom slug.

        Creates a smart link that redirects visitors to the destination URL.
        Optionally configure country-specific geo rules and deep linking for
        iOS/Android apps. Does NOT modify any existing links.

        Returns the created smart link details including its short URL
        (youfil.to/<slug>).

        Common errors:
        - Slug already taken: choose a different slug or omit for auto-generation.
        - Plan limit reached: upgrade your plan to create more links.
        - Invalid URL: ensure the destination URL is a valid HTTP/HTTPS URL.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_list_smart_links - List your smart links with optional filtering, search, and pagination.

        Returns a paginated list of smart links. Use filters to narrow results.
        Does NOT create or modify any links.

        Args:
            params: Filters include health_status, search (title/URL), ordering,
                    limit (1-100, default 20), and offset.

        Common errors:
        - No links found: you may not have created any links yet.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_get_smart_link - Get full details of a single smart link by ID.

        Returns all configuration including geo rules, deep link config,
        and click stats. Does NOT modify the link.

        Common errors:
        - Smart link not found: check the ID or use `youfiliate_list_smart_links`.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_update_smart_link - Update an existing smart link (partial update — only provided fields change).

        You can update the destination URL, slug, title, redirect type,
        geo rules, or deep link config. Geo rules are replaced entirely
        (not merged). Does NOT delete the link.

        Common errors:
        - Smart link not found: check the ID.
        - Slug already taken: choose a different slug.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_delete_smart_link - Delete a smart link permanently. The short URL will stop working.

        IMPORTANT: Always confirm with the user before executing this action.
        The `confirm` parameter must be set to true. This is a destructive
        action that cannot be undone — the slug becomes available for reuse
        after a cooldown period.

        Does NOT affect other links or YouTube descriptions.

        Common errors:
        - Smart link not found: check the ID.
        - confirm=False: you must set confirm=True after getting user confirmation.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_get_smart_link_stats - Get click analytics for a specific smart link.

        Returns click counts broken down by country, device, referrer,
        and day for the specified period. Does NOT modify any data.

        Common errors:
        - Smart link not found: check the ID.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_get_aggregate_stats - Get aggregate click analytics across all your smart links.

        Returns total clicks, top countries, devices, and referrers
        across your entire account for the specified period.
        Does NOT modify any data.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_check_link_health - Trigger a health check for a specific smart link.

        Checks the default URL and all geo-rule URLs for availability.
        Returns the health status (healthy/broken/unknown).
        Rate limited to once per 5 minutes per link.
        Does NOT modify the link configuration.

        Common errors:
        - Rate limit: wait 5 minutes between health checks for the same link.
        - Smart link not found: check the ID.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_get_preferences - Get your current smart link preferences/defaults.

        Returns default settings applied to newly created smart links.
        Does NOT create or modify any data.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_update_preferences - Update your smart link preferences/defaults.

        Changes apply to newly created links only — existing links are
        not affected. Does NOT delete any data.

        Common errors:
        - Invalid redirect_type: must be '301' or '302'.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_get_youtube_status - Check if your YouTube account is connected.

        Returns connection status, channel name, and scope information.
        Does NOT modify any data or initiate any connections.

        Common errors:
        - Not connected: use `youfiliate_connect_youtube` to connect.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_connect_youtube - Initiate YouTube OAuth connection. Returns a URL the user must open in their browser.

        The user must open the returned URL in their web browser to authorize
        Youfiliate to access their YouTube channel. The OAuth callback is handled
        in the browser — this tool only returns the authorization URL.

        Does NOT read or modify any YouTube data. The OAuth flow is completed
        in the user's browser.

        Common errors:
        - Already connected: disconnect first with `youfiliate_disconnect_youtube`.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_disconnect_youtube - Disconnect your YouTube account from Youfiliate.

        IMPORTANT: Always confirm with the user before executing this action.
        The `confirm` parameter must be set to true. This removes stored OAuth
        tokens. You will need to reconnect to use the auto-migration feature.

        Does NOT modify any YouTube data or video descriptions.

        Common errors:
        - Not connected: no YouTube account to disconnect.
        - confirm=False: you must set confirm=True after getting user confirmation.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_preview_migration - Preview a YouTube description migration without making changes.

        Performs a dry-run analysis showing how many videos and links would be
        affected. Does NOT modify any data or YouTube descriptions. Requires
        a connected YouTube account.

        Common errors:
        - YouTube not connected: connect first with `youfiliate_connect_youtube`.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_start_migration - Start a YouTube description migration to convert links to smart links.

        IMPORTANT: This modifies YouTube video descriptions. Always confirm with
        the user before executing. Describe the scope (number of videos/links
        affected from the preview) and ask for explicit confirmation.

        The migration runs asynchronously. Use `youfiliate_get_migration_status`
        to track progress.

        Requires a connected YouTube account.

        Common errors:
        - YouTube not connected: connect first.
        - Migration already in progress: wait for it to complete.
        - confirm=False: must set confirm=True after user confirmation.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_get_migration_status - Get the status and progress of a specific migration.

        Returns detailed status including videos processed, links created,
        and any errors. Does NOT modify any data.

        Common errors:
        - Migration not found: check the ID or use `youfiliate_list_migrations`.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_list_migrations - List your YouTube description migrations with pagination.

        Returns a paginated list of all migrations. Does NOT modify any data.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp
- youfiliate_rollback_migration - Roll back a completed migration, restoring original YouTube descriptions.

        IMPORTANT: This modifies YouTube video descriptions. Always confirm with
        the user before executing. This reverts all video descriptions to their
        pre-migration state.

        The rollback runs asynchronously. Requires a connected YouTube account.

        Common errors:
        - Migration not found or not in a rollback-eligible state.
        - YouTube not connected: reconnect first.
        - confirm=False: must set confirm=True after user confirmation.
         Endpoint: https://youfiliate-mcp.onrender.com/mcp

## Resources
- youfiliate://summary - Dashboard summary: link counts, total clicks, health overview, plan limit.

        Provides a quick overview of your Youfiliate account including
        how many smart links you have, total clicks, and health status
        breakdown. Useful context for the LLM to understand your account state. MIME type: text/plain
- youfiliate://preferences - Current smart link preferences (read-only view).

        Returns default settings for new smart links including redirect type,
        geo-targeting, and deep linking defaults. MIME type: text/plain
- youfiliate://plan-limits - Current plan and usage (links used / limit).

        Returns the user's current plan tier, how many smart links they've
        used, and their plan limit. Useful context for the LLM to know
        if the user can create more links. MIME type: text/plain

## Prompts
Not captured

## Metadata
- Owner: io.github.andrewmpierce
- Version: 0.1.1
- Runtime: Pypi
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Apr 27, 2026
- Source: https://registry.modelcontextprotocol.io
