LinkBit

v1.0.4
io.github.yutotanakastar/linkbit-mcp Checked 3 hours ago Published 1 month ago

Shorten URLs, bulk create, QR, and click analytics for LinkBit.

Values you need

VariableWhat it is
API_KEYrequired secret LinkBit API key (slk_...)
APP_URLoptional API origin, default https://linkbit.live

npm (npx) discovery passed

Requires Node.js 18+

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

For AI agents

  1. Ask the user for: 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. Verify: the server should expose these tools: shorten_url, shorten_urls, list_links, update_link, disable_link, delete_link, get_qr, get_link_stats, ….
  5. 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