limelink-mcp-server

MCP server for managing Limelink dynamic links with platform-specific deep linking (iOS/Android), social previews, and UTM tracking

limelink-mcp-server

npm version License: MIT

한국어

A Model Context Protocol (MCP) server for LimeLink dynamic link management. Create, look up, and manage dynamic links directly from Claude Code, Claude Desktop, or any MCP-compatible client.

No API key required to get started! Documentation, SDK setup guides, and prompt templates work without any configuration. Just connect and start exploring LimeLink features with your AI assistant.

Features

  • Documentation Resources — Access LimeLink docs (15 pages + index) directly from your AI assistant — no API key needed
  • 2 Prompt Templates — Guided workflows for link creation and SDK deep linking setup — no API key needed
  • 3 Tools — Create dynamic links, look up by suffix, look up by URL (requires API key)
  • In-memory Caching — 1-hour TTL cache for documentation fetches

What works without an API key?

FeatureCategoryAPI KeyDescription
limelink://docs/indexResourceNot neededFull documentation index
limelink://docs/{slug}ResourceNot needed15 individual documentation pages
setup-deep-linkingPromptNot needediOS/Android SDK setup guide
create-dynamic-linkPromptNot neededLink creation guide (uses create-link tool to execute)
create-linkToolRequiredCreate dynamic links via API
get-link-by-suffixToolRequiredLook up links by suffix
get-link-by-urlToolRequiredLook up links by URL

Quick Start

Without API Key (Documentation & Guides)

No API key needed. Connect and start exploring LimeLink documentation and setup guides immediately:

{
  "mcpServers": {
    "limelink": {
      "command": "npx",
      "args": ["-y", "limelink-mcp-server"]
    }
  }
}

Try asking your AI assistant:

  • "Read the LimeLink getting-started docs"
  • "How do I set up deep linking for iOS?"
  • "Show me the LimeLink SDK integration guide"

With API Key (Full Features)

Add your API key to unlock link creation and management tools:

{
  "mcpServers": {
    "limelink": {
      "command": "npx",
      "args": ["-y", "limelink-mcp-server"],
      "env": {
        "LIMELINK_API_KEY": "your_api_key_here"
      }
    }
  }
}

Usage with Global Install

npm install -g limelink-mcp-server
{
  "mcpServers": {
    "limelink": {
      "command": "limelink-mcp-server",
      "env": {
        "LIMELINK_API_KEY": "your_api_key_here"
      }
    }
  }
}

Configuration

Claude Code

The easiest way to add the MCP server is using the claude mcp add command:

# Without API key (docs & guides only)
claude mcp add --scope user --transport stdio limelink -- npx -y limelink-mcp-server

# With API key (full features)
claude mcp add --scope user --transport stdio limelink \
  --env LIMELINK_API_KEY=your_api_key_here \
  -- npx -y limelink-mcp-server

Scope options:

  • --scope user — Available in all projects
  • --scope project — Saved to .mcp.json (shareable with team via Git)

Claude Desktop & other MCP clients

Add the JSON config to your client's config file:

ClientConfig File
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json

Environment Variables

VariableRequiredDefaultDescription
LIMELINK_API_KEYNoAPI key for link management tools. Documentation resources and prompt templates work without it.
LIMELINK_PROJECT_IDNoDefault project ID (used when not specified in tool calls)

You can get your API key from the LimeLink Dashboard. Without an API key, documentation resources, SDK setup guides, and prompt templates are fully available.

Tools

create-link

Create a dynamic link with platform-specific deep linking, social previews, and UTM tracking.

Parameters:

ParameterTypeRequiredDescription
dynamic_link_suffixstringYesShort URL path identifier (max 50)
dynamic_link_urlstringYesTarget URL (max 500)
dynamic_link_namestringYesLink name (max 100)
project_idstringNoProject ID (falls back to env)
stats_flagbooleanNoEnable analytics tracking
apple_optionsobjectNoiOS deep linking options
android_optionsobjectNoAndroid deep linking options
additional_optionsobjectNoSocial preview + UTM options

Example usage in Claude:

"Create a dynamic link for https://example.com/product/123 with suffix 'product-123' and enable analytics"

get-link-by-suffix

Look up a dynamic link by its suffix.

ParameterTypeRequiredDescription
suffixstringYesDynamic link suffix
project_idstringNoProject ID (falls back to env)

get-link-by-url

Look up a dynamic link by its full URL. Automatically extracts the suffix from both URL formats:

  • Free plan: https://deep.limelink.org/{suffix}
  • Pro plan: https://{project}.limelink.org/link/{suffix}
ParameterTypeRequiredDescription
urlstringYesFull LimeLink dynamic link URL
project_idstringNoProject ID (falls back to env)

Resources

limelink://docs/index

Returns the full LimeLink documentation index (llms.txt).

limelink://docs/{slug}

Returns individual documentation pages. Available slugs:

introduction, getting-started, project, application, dynamic-link, create-link, link-detail, link-management, appearance, sdk-integration, ios-sdk, android-sdk, api-integration, advanced, llm-agent

Example usage in Claude:

"Read the LimeLink API integration docs"

Claude will access limelink://docs/api-integration

Prompts

create-dynamic-link

Guided workflow for creating a dynamic link.

ArgumentTypeRequiredDescription
target_urlstringYesDestination URL
suffixstringNoCustom suffix
platformsenumYesios, android, both, or web

setup-deep-linking

Guided workflow for setting up LimeLink SDK deep linking.

ArgumentTypeRequiredDescription
platformenumYesios, android, or both

Development

Prerequisites

  • Node.js >= 18
  • pnpm

Setup

git clone https://github.com/hellovelop/limelink-mcp-server.git
cd limelink-mcp-server
pnpm install
pnpm run build

Run locally

LIMELINK_API_KEY=your_key node dist/index.js

Testing

pnpm test          # Unit tests
pnpm test:e2e      # E2E tests (MCP stdio communication)
pnpm test:watch    # Unit tests in watch mode
pnpm test:coverage # Coverage report

Project Structure

src/
├── index.ts              # Entry point
├── lib/
│   ├── config.ts         # Environment variable loading
│   ├── cache.ts          # In-memory TTL cache
│   ├── api-client.ts     # LimeLink API HTTP client
│   └── doc-fetcher.ts    # Documentation fetcher with caching
├── tools/
│   ├── create-link.ts    # create-link tool
│   ├── get-link-by-suffix.ts
│   └── get-link-by-url.ts
├── resources/
│   └── documentation.ts  # Documentation resources
└── prompts/
    ├── create-link-prompt.ts
    └── deep-link-prompt.ts

License

MIT

Related Servers