Mention MCP Server
Monitor web and social media using the Mention API.
Mention MCP Server
A production-ready Model Context Protocol (MCP) server for social listening and monitoring through the Mention API. Built with TypeScript, comprehensive error handling, structured logging, and modular architecture.
Supported Tools
| Tool | Description |
|---|---|
get_account_info | Retrieve account details and subscription plan |
get_app_data | Get available languages, countries, sources |
list_alerts | List all monitoring alerts with pagination |
get_alert | Get detailed information about specific alerts |
create_basic_alert | Create alerts with simple keyword matching |
create_advanced_alert | Create alerts with boolean query syntax |
update_alert | Modify existing alert criteria and settings |
pause_alert | Temporarily pause monitoring for specific alerts |
unpause_alert | Resume monitoring for paused alerts |
fetch_mentions | Retrieve mentions with advanced filtering |
fetch_alert_stats | Get comprehensive statistics for alerts |
Installation & Usage
Quick Start with Claude Desktop
Add the following to your Claude Desktop configuration file:
{
"mcpServers": {
"mention": {
"command": "npx",
"args": ["-y", "@maelitop/mention-mcp-server"],
"env": {
"MCP_MENTION_API_KEY": "your_mention_api_key_here"
}
}
}
}
Environment Variables
| Variable | Description | Default |
|---|---|---|
MCP_MENTION_API_KEY | Your Mention API key (required) | - |
MCP_MENTION_API_BASE_URL | Custom API base URL | https://web.mention.com/api |
MCP_LOG_LEVEL | Logging level (debug, info, warn, error) | info |
MCP_CONSOLE_LOGGING | Enable console logging (true/false) | false |
MCP_REQUEST_TIMEOUT | Request timeout in milliseconds | 30000 |
MCP_MAX_RETRIES | Maximum retry attempts | 3 |
Development
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm test
# Build for production
npm run build
# Run linting and type checking
npm run ci
Logging
Logs are automatically written to platform-specific directories:
- macOS:
~/Library/Logs/mention-mcp-server/mention-mcp-server.log - Windows:
~/AppData/Local/mention-mcp-server/logs/mention-mcp-server.log - Linux:
~/.local/share/mention-mcp-server/logs/mention-mcp-server.log
Testing
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run tests in watch mode
npm run test -- --watch
License
This project is licensed under the MIT License.
Máy chủ liên quan
Bright Data
nhà tài trợDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Playwright
Provides browser automation capabilities using Playwright. Interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
Apify
Extract data from any website with thousands of scrapers, crawlers, and automations
MCP Webscan Server
Fetch, analyze, and extract information from web pages.
Browser Use
Automate browser tasks using the Browser Use API.
comet-mcp
Connect Claude Code to Perplexity Comet browser for agentic web browsing, deep research, and real-time task monitoring
Markdown Downloader
Download webpages as markdown files using the r.jina.ai service, with configurable directories and persistent settings.
Scraper.is MCP
A powerful web scraping tool for AI assistants, powered by the Scraper.is API.
infomate-mcp
MCP server that fetches and summarizes tech news from infomate.club/vas3k
Crawl4AI RAG
Integrate web crawling and Retrieval-Augmented Generation (RAG) into AI agents and coding assistants.
Web Scraper Service
A Python-based MCP server for headless web scraping. It extracts the main text content from web pages and outputs it as Markdown, text, or HTML.