home / mcp / firelinks mcp server
MCP Server to work with Firelinks API
Configuration
View docs{
"mcpServers": {
"djeknet-firelinks-mcp": {
"url": "https://mcp.firelinks.cc/mcp",
"headers": {
"PORT": "3000",
"NODE_ENV": "development",
"LARAVEL_API_URL": "https://firelinks.cc/api"
}
}
}
}The Firelinks MCP Server lets external LLMs securely interact with the Firelinks API to manage short links, view statistics, handle custom domains, and discover available MCP endpoints. It centralizes access through a standards-based MCP interface, enabling your language models to perform common Firelinks actions without direct API calls.
You connect an MCP-enabled client to the server using the provided MCP endpoint. Once connected, you can perform actions such as creating and retrieving short links, listing all links, updating link URLs, and accessing detailed statistics. You can also manage domains and view the list of available services. Start by authenticating with your API token, then call the available tools through the MCP client to perform your desired operations.
Prerequisites you need before installing the MCP server:
Clone the project directory, install dependencies, and run the server locally.
# Step 1: install dependencies
cd mcp-server
npm install
# Step 2: set up environment
cp .env.example .env
```
```env
PORT=3000
LARAVEL_API_URL=https://firelinks.cc/api
NODE_ENV=development
```
```bash
# Step 3: start in standard mode
npm start
```
```bash
# Step 3 alternative: start in development mode with auto-reload
npm run devIf you prefer containerized runs, you can build and run the MCP server with Docker.
# Build the image
docker build -t firelinks-mcp-server .
# Run the container
docker run -d \
-p 3000:3000 \
-e LARAVEL_API_URL=https://firelinks.cc/api \
--name firelinks-mcp-server \
firelinks-mcp-serverYou can start the MCP server alongside any required services using Docker Compose.
docker-compose up -dCreate a new short link with specified URL, type, and optional custom code or domain.
Retrieve information for a specific short link by its code or ID.
List all short links with optional filters.
Update the destination URL of an existing short link.
Add a reserve URL for a short link.
Fetch statistics broken down by day for a given date range.
Get total statistics for a specified period.
Get statistics for all links within a period.
Retrieve detailed click statistics for a link or set of links.
Compare two periods to show performance differences.
List all registered custom domains.
Add a new custom domain.
List available MCP servers that can be queried.