Are you the author? Sign in to claim
MCP Server to work with Firelinks API
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
This server implements the MCP protocol developed by Anthropic and provides a set of tools for working with the Firelinks platform:
LLM client → HTTPS (mcp.firelinks.cc) → Node.js MCP Server → Firelinks API Backend
cd mcp-server
npm install
.env file based on .env.example:cp .env.example .env
.env:PORT=3000
LARAVEL_API_URL=https://firelinks.cc/api
NODE_ENV=development
npm start
Or for development mode with auto-reload:
npm run dev
docker build -t firelinks-mcp-server .
docker run -d \
-p 3000:3000 \
-e LARAVEL_API_URL=https://firelinks.cc/api \
--name firelinks-mcp-server \
firelinks-mcp-server
docker-compose up -d
GET /health - server health checkPOST /mcp - main MCP endpoint (JSON-RPC 2.0)GET /sse - Server-Sent Events for streamingAll 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.
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"
}
}
}
}
Add to Cursor configuration (mcp.json):
{
"mcpServers": {
"firelinks": {
"url": "https://mcp.firelinks.cc/mcp",
"transport": "http",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
For connecting to other MCP-compatible clients use:
https://mcp.firelinks.cc/mcpfirelinks_create_link - create short linkfirelinks_get_link - get link informationfirelinks_list_links - list all linksfirelinks_update_link_url - update link URLfirelinks_add_reserve_url - add reserve URLfirelinks_stat_days - statistics by daysfirelinks_stat_total - total statistics for periodfirelinks_stat_links - statistics for all linksfirelinks_stat_clicks - detailed click statisticsfirelinks_stat_compare - compare two periodsfirelinks_list_domains - list domainsfirelinks_create_domain - add domainfirelinks_list_servers - list available serverscurl -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
}'
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 httpstype - 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 namecode - Custom link code (must be unique)domain_id - Domain IDsub_domain - Subdomainkeywords - Keywords for searchkeywords_mode - Keyword search logic (1, 2, or 3)group_id - Link group IDoptions - Additional settings stringcurl -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
}'
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
Problem: Missing or invalid Authorization header
Solution: Make sure the request header contains a valid token:
Authorization: Bearer YOUR_API_TOKEN
Problem: Requests to Laravel API timeout
Solution:
src/lib/laravel-api.jsProblem: Error on startup
Solution:
docker logs firelinks-mcp-serverMIT
For questions and support contact support@firelinks.cc
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows