Firelinks MCP Server

Firelinks MCP Server

firelinks-mcp•bydjeknet

An MCP server that lets LLM clients interact with the Firelinks API to manage short links, view statistics, and manage domains and servers.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides link management tools to create, retrieve, list and update short links, including adding reserve URLs.
  • •Offers statistics tools for click stats by day, totals for a period, per-link stats, detailed clicks, and period comparison.
  • •Includes domain tools to list existing domains and add new ones, plus a tool to list available servers.
  • •Exposes an MCP endpoint with JSON-RPC and SSE, requiring a Bearer token for authentication.

BEST FOR

  • •Creating and managing short links through an LLM client connected to Firelinks.
  • •Retrieving and comparing click statistics for a date range via an LLM assistant.
  • •Managing custom domains and checking available servers from within an LLM tool workflow.

ABOUT FIRELINKS-MCP

Firelinks MCP Server is cataloged as an MCP server attributed to djeknet. An MCP server that lets LLM clients interact with the Firelinks API to manage short links, view statistics, and manage domains and servers. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Firelinks MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does an LLM client authenticate with the Firelinks MCP server?

Requests to the /mcp endpoint require a Bearer token in the Authorization header, obtained from a Firelinks account.

What redirect types are supported when creating a link?

Redirect type can be 0 (301), 1 (302), 2 (303), or 4 (META Refresh).

Upstream README

View this exact version on GitHub

README.md · aa179b7e2040 · Fetched 2026-11-13 11:53:02 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Firelinks MCP Server

MCP (Model Context Protocol) server for the Firelinks platform, allowing external LLMs (Large Language Models) to interact with the Firelinks API - https://firelinks.cc/p/api

Description

This server implements the MCP protocol developed by Anthropic and provides a set of tools for working with the Firelinks platform:

  • Link Management: create, retrieve, edit short links
  • Statistics: get detailed click statistics, compare periods
  • Domains: manage custom domains
  • Servers: get list of available servers

Architecture

LLM client → HTTPS (mcp.firelinks.cc) → Node.js MCP Server → Firelinks API Backend

Requirements

  • Node.js >= 20.0.0
  • Docker and Docker Compose (for containerization)
  • Firelinks API token

Installation

Local Development

  1. Install dependencies:
cd mcp-server
npm install
  1. Create .env file based on .env.example:
cp .env.example .env
  1. Configure environment variables in .env:
PORT=3000
LARAVEL_API_URL=https://firelinks.cc/api
NODE_ENV=development
  1. Start the server:
npm start

Or for development mode with auto-reload:

npm run dev

Docker

  1. Build the image:
docker build -t firelinks-mcp-server .
  1. Run the container:
docker run -d \
  -p 3000:3000 \
  -e LARAVEL_API_URL=https://firelinks.cc/api \
  --name firelinks-mcp-server \
  firelinks-mcp-server

Docker Compose

docker-compose up -d

Usage

Endpoints

  • GET /health - server health check
  • POST /mcp - main MCP endpoint (JSON-RPC 2.0)
  • GET /sse - Server-Sent Events for streaming

Authentication

All requests to /mcp require an authentication token in the header:

Authorization: Bearer YOUR_API_TOKEN

You can get an API token in your Firelinks account.

Integration with LLM Clients

Claude Desktop

Add to Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "firelinks": {
      "url": "https://mcp.firelinks.cc/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

Cursor

Add to Cursor configuration (mcp.json):

{
  "mcpServers": {
    "firelinks": {
      "url": "https://mcp.firelinks.cc/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

Other MCP Clients

For connecting to other MCP-compatible clients use:

  • URL: https://mcp.firelinks.cc/mcp
  • Transport: HTTP
  • Authentication: Bearer token in Authorization header

Available Tools

  1. firelinks_create_link - create short link
  2. firelinks_get_link - get link information
  3. firelinks_list_links - list all links
  4. firelinks_update_link_url - update link URL
  5. firelinks_add_reserve_url - add reserve URL

Statistics

  1. firelinks_stat_days - statistics by days
  2. firelinks_stat_total - total statistics for period
  3. firelinks_stat_links - statistics for all links
  4. firelinks_stat_clicks - detailed click statistics
  5. firelinks_stat_compare - compare two periods

Domains

  1. firelinks_list_domains - list domains
  2. firelinks_create_domain - add domain

Servers

  1. firelinks_list_servers - list available servers

Request Examples

Initialize

curl -X POST https://mcp.firelinks.cc/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "jsonrpc": "2.0",
    "method": "initialize",
    "params": {},
    "id": 1
  }'

List Tools

curl -X POST https://mcp.firelinks.cc/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tools/list",
    "params": {},
    "id": 1
  }'
curl -X POST https://mcp.firelinks.cc/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tools/call",
    "params": {
      "name": "firelinks_create_link",
      "arguments": {
        "url": "https://example.com",
        "type": "url",
        "redirect_type": 0,
        "code": "my-link"
      }
    },
    "id": 1
  }'

Required parameters:

  • url - Valid link with http or https
  • type - The type of link (use "url" for web links)
  • redirect_type - Redirect type: 0 (301), 1 (302), 2 (303), 4 (META Refresh)

Optional parameters:

  • link_name - Link name
  • code - Custom link code (must be unique)
  • domain_id - Domain ID
  • sub_domain - Subdomain
  • keywords - Keywords for search
  • keywords_mode - Keyword search logic (1, 2, or 3)
  • group_id - Link group ID
  • options - Additional settings string

Get Statistics

curl -X POST https://mcp.firelinks.cc/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tools/call",
    "params": {
      "name": "firelinks_stat_days",
      "arguments": {
        "date_from": "2024-01-01",
        "date_to": "2024-01-31"
      }
    },
    "id": 1
  }'

Project Structure

mcp-server/
├── src/
│   ├── index.js              # Main Express server file
│   ├── lib/
│   │   ├── laravel-api.js    # HTTP client for Laravel API
│   │   └── mcp-handler.js    # MCP protocol handler
│   └── tools/
│       ├── links.js          # Tools for links
│       ├── statistics.js     # Tools for statistics
│       ├── domains.js        # Tools for domains
│       └── servers.js        # Tools for servers
├── package.json
├── Dockerfile
├── docker-compose.yml
├── .env.example
└── README.md

Troubleshooting

Authentication Error

Problem: Missing or invalid Authorization header

Solution: Make sure the request header contains a valid token:

Authorization: Bearer YOUR_API_TOKEN

Request Timeout

Problem: Requests to Laravel API timeout

Solution:

  1. Check Laravel API availability
  2. Increase timeout in src/lib/laravel-api.js
  3. Check network connectivity between containers

Server Won't Start

Problem: Error on startup

Solution:

  1. Check logs: docker logs firelinks-mcp-server
  2. Make sure port 3000 is not in use
  3. Check environment variables are correct

License

MIT

Support

For questions and support contact support@firelinks.cc

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Firelinks MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/firelinks-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools