Skip to main content
Glama
LinkForty MCP Server

LinkForty MCP Server

Official
by LinkForty

LinkForty MCP Server

Connect Claude, Cursor, Claude Code, and any MCP-compatible AI tool to your LinkForty deep links and analytics.

npm version License: MIT Node MCP MCP Badge

Quick start · Available tools · Configuration · LinkForty


The official Model Context Protocol server for LinkForty. It exposes 20 tools that let an AI assistant manage your deep links, query analytics, configure workspaces, and even generate ready-to-paste SDK integration code for your mobile apps — all using natural language.

The server supports two transport modes:

  • HTTP (recommended) — connect via URL, no local installation needed

  • stdio — runs locally as a subprocess of your AI client

What you can do with it

Once connected, you can ask things like:

  • "Create a LinkForty deep link for my Spring sale on Instagram with UTM source=instagram, medium=social, campaign=spring-sale"

  • "Which links drove the most installs last week?"

  • "Show me click trends for my top 5 links over the last 30 days"

  • "Why is link xyz123 getting clicks but no installs?"

  • "Help me add the LinkForty SDK to my React Native app"

  • "Create 50 deep links from this CSV"

The AI calls the appropriate LinkForty API behind the scenes and returns structured results.

Related MCP server: Clypt MCP Server

Quick start

1. Get your API key

  1. Sign in to your LinkForty dashboard

  2. Go to Workspace Settings → API Keys

  3. Click Create API key, copy the value (starts with dl_)

Note: API keys are scoped to a single workspace. If you manage multiple workspaces, you can run multiple instances of the MCP server with different keys.

2. Add to your MCP client

No local installation required — just a URL and your API key.

Claude Desktop — edit your claude_desktop_config.json:

{
  "mcpServers": {
    "linkforty": {
      "type": "http",
      "url": "https://mcp.linkforty.com/mcp",
      "headers": {
        "Authorization": "Bearer dl_your_api_key_here"
      }
    }
  }
}

Cursor — add to Cursor → Settings → MCP Servers:

{
  "linkforty": {
    "type": "http",
    "url": "https://mcp.linkforty.com/mcp",
    "headers": {
      "Authorization": "Bearer dl_your_api_key_here"
    }
  }
}

Claude Code:

claude mcp add linkforty --transport http --url https://mcp.linkforty.com/mcp --header "Authorization: Bearer dl_your_api_key_here"

Option B: stdio transport (local)

Runs the MCP server as a local subprocess. Requires Node.js 18+.

Claude Desktop — edit your claude_desktop_config.json:

{
  "mcpServers": {
    "linkforty": {
      "command": "npx",
      "args": ["-y", "@linkforty/mcp-server"],
      "env": {
        "LINKFORTY_API_KEY": "dl_your_api_key_here"
      }
    }
  }
}

Cursor — add to Cursor → Settings → MCP Servers:

{
  "linkforty": {
    "command": "npx",
    "args": ["-y", "@linkforty/mcp-server"],
    "env": {
      "LINKFORTY_API_KEY": "dl_your_api_key_here"
    }
  }
}

Claude Code:

claude mcp add linkforty -e LINKFORTY_API_KEY=dl_your_api_key_here -- npx -y @linkforty/mcp-server

If you're running LinkForty Core on your own infrastructure, point the server at your instance.

HTTP transport — host the MCP HTTP server yourself and set LINKFORTY_BASE_URL:

LINKFORTY_BASE_URL=https://your-instance.com/api PORT=3001 npx -y @linkforty/mcp-server-http

stdio transport — set the base URL in the env block:

"env": {
  "LINKFORTY_API_KEY": "dl_your_api_key_here",
  "LINKFORTY_BASE_URL": "https://your-instance.com/api"
}

Available tools

Tool

Description

create_link

Create a new deep link with iOS/Android/web URLs, UTM, targeting, and more

list_links

List/filter links by status, source, project, search query, or date range

get_link

Get a single link by ID or short code

update_link

Update any field on an existing link

delete_link

Permanently delete a link

bulk_create_links

Create up to 100 links in one call

Analytics (5)

Tool

Description

get_link_analytics

Per-link analytics: clicks, geo, devices, time series

get_overview_analytics

Workspace-wide analytics across all links

get_top_links

Top performing links ranked by clicks

get_install_attribution

Install attribution data with fingerprint matching

get_funnel

Click → install → event conversion funnel

Templates (3)

Tool

Description

list_templates

List all link templates

create_template

Create a new template with default destinations and UTM

set_default_template

Mark a template as the workspace default

Projects (2)

Tool

Description

list_projects

List all projects in the workspace

create_project

Create a new project for grouping links

Workspace (3)

Tool

Description

list_workspaces

List workspaces accessible by the API key

get_current_workspace

Get details about the current workspace

get_app_config

Get iOS/Android bundle IDs, schemes, link domains

SDK helper (1)

Tool

Description

get_sdk_install_snippet

Generate ready-to-paste SDK init code for any platform (react-native, expo, ios, android, flutter)

Configuration

stdio transport

Environment variable

Required

Default

Description

LINKFORTY_API_KEY

Yes

—

Your LinkForty workspace API key (starts with dl_)

LINKFORTY_BASE_URL

No

https://api.linkforty.com/api

Override for self-hosted LinkForty Core instances

HTTP transport

Environment variable

Required

Default

Description

PORT

No

3001

HTTP server port

LINKFORTY_BASE_URL

No

https://api.linkforty.com/api

Override for self-hosted LinkForty Core instances

The API key is provided per-request via the Authorization: Bearer header, not as an environment variable. This allows a single HTTP server deployment to serve multiple users and workspaces.

Security and privacy

  • No data is stored or logged by the MCP server. It is a stateless translator between MCP requests and LinkForty's REST API. Every tool call is a fresh HTTP request.

  • API keys inherit your workspace permissions. The MCP server can only do what your API key has permission to do — there's no privilege escalation.

  • API keys are scoped to a single workspace. A key for Workspace A cannot access Workspace B's data.

stdio mode: The MCP server runs locally as a subprocess. Your API key is stored in your local MCP client config and only sent to the LinkForty API.

HTTP mode: Your API key is sent in the Authorization header to the hosted MCP endpoint (mcp.linkforty.com), which forwards it to the LinkForty API. The MCP server does not store, log, or cache API keys.

Development

# Install
git clone https://github.com/linkforty/mcp-server
cd mcp-server
npm install

# Build
npm run build

# Watch mode
npm run dev

# Test stdio transport
LINKFORTY_API_KEY=dl_... node dist/index.js

# Test HTTP transport
node dist/http.js                           # starts on port 3001
PORT=8080 node dist/http.js                 # custom port
curl http://localhost:3001/health            # health check

License

MIT © LinkForty

Available Tools

20 tools
create_projectB

Create a new project to group related links. Returns the created project. Use the project ID when creating links to associate them with this project.

Inputs: name (required), description.

create_templateA

Create a new link template. Templates let you define default destinations (iOS/Android/web), UTM parameters, targeting rules, and attribution windows that new links inherit. Useful for ensuring consistency across campaigns.

Inputs: name (required), description, isDefault, settings.

get_app_configA

Get the iOS/Android app configuration for the current workspace, including app scheme, bundle IDs, package name, Universal Link/App Link domains, app store URLs, and SHA256 fingerprints. Use this to know how to integrate the SDK or build deep link URLs that open the right app.

Inputs: no named parameters.

get_current_workspaceA

Get details about the current workspace including subscription tier, member count, link count, project count, and settings. Returns the workspace bound to the active API key.

Inputs: no named parameters.

get_funnelA

Get the conversion funnel from clicks → installs → events for the workspace. Returns total clicks, unique clicks, total/attributed installs, click-to-install conversion rate, average/median/p75/p95 time to install, and the top converting links. Useful for understanding overall campaign efficiency. Note: requires the analytics:installs permission.

Inputs: days, projectId.

get_install_attributionA

Get install attribution data showing how app installs are linked to clicks via device fingerprinting. Pass a linkId to get installs for a specific link, or omit it for workspace-wide stats. Returns total installs, attributed vs organic split, attribution rate, time series, platform breakdown, and recent installs. Note: requires the analytics:installs permission.

Inputs: linkId, days.

get_overview_analyticsA

Get workspace-wide analytics across all links. Returns total clicks, unique clicks, time series, geo breakdown (country/city/region/timezone), device/platform/browser breakdown, hourly distribution, UTM parameter breakdown (source/medium/campaign), referrers, and top performing links. Default lookback is 30 days.

Inputs: days.

get_sdk_install_snippetA

Generate a ready-to-paste SDK initialization snippet for a specific mobile platform. The snippet is pre-filled with the user's API key, base URL, and app config (bundle IDs, schemes, link domains) from the current workspace. Supported platforms: react-native, expo, ios, android, flutter. Use this to help a developer integrate LinkForty into their mobile app in under a minute.

Inputs: platform (required).

list_projectsA

List all projects in the current workspace. Projects are containers for organizing related deep links — for example, by campaign, product, or feature.

Inputs: no named parameters.

list_templatesA

List all link templates in the current workspace. Templates define default destinations, UTM parameters, and targeting rules that new links can inherit. Each template has a slug used for URL routing.

Inputs: no named parameters.

list_workspacesA

List all workspaces accessible by the current API key. Note: API keys are scoped to a single workspace, so this typically returns one workspace. Use this to confirm which workspace the AI is connected to.

Inputs: no named parameters.

set_default_templateA

Mark a template as the default for the workspace. The default template is used by the SDK when creating links from mobile apps without specifying a template.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 20 tools

    Disambiguation4/5

    Most tools are clearly scoped to a specific resource and action. The main overlap is among the analytics tools—get_overview_analytics/get_top_links and get_install_attribution/get_funnel—but their descriptions are distinct enough to guide correct selection.

    Naming Consistency5/5

    Tool names consistently follow a snake_case verb-first pattern: create_*, list_*, get_*, update_*, delete_*. Even bulk_create_links and set_default_template fit the established style without breaking the resource-based naming convention.

    Tool Count4/5

    At 20 tools, this is on the heavier side, but the count reflects the platform's broad scope: deep-link CRUD, bulk operations, analytics, templates, projects, workspace info, and SDK integration. A few analytics endpoints could be consolidated, but most tools earn their place.

    Completeness3/5

    Link CRUD is fully covered and analytics are rich, but templates and projects are incomplete: there is no update or delete for either resource. These are noticeable lifecycle gaps for supporting entities, though agents can work around some of them by creating new resources.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      F
      maintenance
      Connects AI assistants like Claude to Sealmetrics analytics data, enabling natural language queries for traffic analysis, conversions, marketing performance, ROAS tracking, and funnel analysis.
      8
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects AI assistants to the Clypt Link Intelligence platform to shorten URLs, manage tags, and generate QR codes. It enables users to view link analytics and perform bulk link operations through natural language commands.
      114 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to manage ULink deep linking projects, including creating smart links, configuring domains, and viewing analytics.
      24
      170 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to shorten URLs, manage links, and track click analytics through 8 first-class tools, designed for use with Claude Desktop, Cursor, and other MCP clients.
      9
      40 npm
      MIT