Skip to main content
Glama
andrewmpierce

youfiliate-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address (use 0.0.0.0 in Docker)127.0.0.1
PORTNoPort for HTTP transport8080
TRANSPORTNoTransport mode: stdio or streamable-httpstdio
MCP_SERVER_SECRETNoShared secret for verify-api-key (server operators only)
YOUFILIATE_API_KEYYesYour Youfiliate API key (required)
YOUFILIATE_API_BASE_URLNoBackend URLhttps://app.youfiliate.com

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
youfiliate_create_smart_linkA

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/).

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.

youfiliate_list_smart_linksA

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.

youfiliate_get_smart_linkA

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.

youfiliate_update_smart_linkA

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.

youfiliate_delete_smart_linkA

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.

youfiliate_get_smart_link_statsA

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.

youfiliate_get_aggregate_statsA

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.

youfiliate_check_link_healthA

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.

youfiliate_get_preferencesA

Get your current smart link preferences/defaults.

Returns default settings applied to newly created smart links. Does NOT create or modify any data.

youfiliate_update_preferencesA

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'.

youfiliate_get_youtube_statusA

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.

youfiliate_connect_youtubeA

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.

youfiliate_disconnect_youtubeA

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.

youfiliate_preview_migrationA

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.

youfiliate_start_migrationA

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.

youfiliate_get_migration_statusA

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.

youfiliate_list_migrationsB

List your YouTube description migrations with pagination.

Returns a paginated list of all migrations. Does NOT modify any data.

youfiliate_rollback_migrationA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_summaryDashboard 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.
get_preferencesCurrent smart link preferences (read-only view). Returns default settings for new smart links including redirect type, geo-targeting, and deep linking defaults.
get_plan_limitsCurrent 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.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andrewmpierce/youfiliate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server