MCP -Cybersecurity-News
Implementazione di un server MCP integrabile con Claude Desktop che consente di accedere alle ultime notizie sulla cybersecurity da vari siti web.
claude mcp add --transport stdio forgeai-it-mcp-server-cybersecurity-news uv --directory /percorso/completo/al/tuo/progetto/MCP-Server-Cybersecurity-News run main.py
How to use
This MCP server provides a tool named get_news that fetches the latest cybersecurity news from configured sources. Once deployed and connected to Claude Desktop via MCP, you can invoke get_news to retrieve a concise set of recent articles. The server validates that the requested source is supported, downloads the page content, and uses Beautiful Soup to extract the title, link, and description for the most recent five articles. The returned text is formatted for easy presentation to an AI model, enabling fast summarization or extraction by Claude.
To use it effectively, ensure the sources you want are supported by the server. The tool is designed to be easily extendable so you can add additional news sources by updating the source mapping in the code. When calling get_news, you typically provide the source key (e.g., a site name) and the function will return the structured news data suitable for further processing by Claude or other MCP clients.
How to install
Prerequisites:
- Python 3.9+
- uv package manager installed (recommended)
- Claude Desktop for testing integration (optional)
Install steps:
-
Install uv (if not already installed): macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh Windows: powershell -ExecutionPolicy ByPass -c " irm https://astral.sh/uv/install.ps1 | iex"
-
Clone the repository: git clone https://github.com/forgeai-it/MCP-Server-Cybersecurity-News.git cd MCP-Server-Cybersecurity-News
-
Create a virtual environment and install dependencies: uv venv
Activate the environment
macOS/Linux
source .venv/bin/activate
Windows
.venv\Scripts\activate
uv add "mcp[cli]" httpx bs4
-
Run the server (example with uv): uv run main.py
-
Integrate with Claude Desktop (example configuration provided in README):
- Open Claude Desktop
- Settings -> Developer Tools -> Edit Config
- Add or update the mcpServers entry to point to your uv executable and project directory as shown in the integration example.
Additional notes
Notes and tips:
- Ensure your Python environment has the required libraries (httpx, beautifulsoup4) installed via uv add.
- If you modify the sources to support additional news sites, update the internal mapping accordingly and handle parsing logic per site.
- When testing with Claude Desktop, verify that the path to uv and the project directory are correctly specified in the configuration file.
- Consider adding a caching mechanism or request throttling if you plan to poll sources frequently to reduce load on target websites.
Related MCP Servers
mcp -qdrant
An official Qdrant Model Context Protocol (MCP) server implementation
mcp-tool-kit
Agentic abstraction layer for building high precision vertical AI agents written in python for Model Context Protocol.
asterisk
Asterisk Model Context Protocol (MCP) server.
davinci -professional
An enterprise-grade MCP server that exposes the full functionality of DaVinci Resolve and DaVinci Resolve Studio (through version 20) to either Claude Desktop or Cursor MCP clients. Fully configured and tested as a Claude Desktop Extension making installation as easy as clicking a button. Supports both Windows and Macintosh.
openapi -proxy
An MCP server that provides tools for exploring large OpenAPI schemas
mcp -bluesky-py
专为 AI Agent 设计的轻量级社交接口 (Lightweight Bluesky MCP Server for AI Agents)