LinkDevi MCP

v0.1.1
io.github.kgma-glitch/linkdevi-mcp Checked 3 days ago Published 9 days ago

Create campaign short links, preview UTMs, render QR images and read defined redirect counters.

Values you need

VariableWhat it is
LINKDEVI_API_KEYrequired secret Scoped API key from LinkDevi Connect AI. Use links:read and links:write for campaign creation.
LINKDEVI_BASE_URLoptional LinkDevi service origin; use the default for hosted LinkDevi. Default: https://linkdevi.com

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add linkdevi-mcp -e 'LINKDEVI_API_KEY=<LINKDEVI_API_KEY>' -- npx -y @kgma/linkdevi-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "linkdevi-mcp": {
      "args": [
        "-y",
        "@kgma/linkdevi-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "LINKDEVI_API_KEY": "<LINKDEVI_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "linkdevi-mcp": {
      "args": [
        "-y",
        "@kgma/linkdevi-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "LINKDEVI_API_KEY": "<LINKDEVI_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LINKDEVI_API_KEY",
      "id": "linkdevi-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "linkdevi-mcp": {
      "args": [
        "-y",
        "@kgma/linkdevi-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "LINKDEVI_API_KEY": "${input:linkdevi-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.linkdevi-mcp]
command = "npx"
args = ["-y", "@kgma/linkdevi-mcp@0.1.1"]
env = { "LINKDEVI_API_KEY" = "<LINKDEVI_API_KEY>" }

For AI agents

  1. Ask the user for: LINKDEVI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json