GTI MCP Server
Provides comprehensive access to VirusTotal API v3, enabling threat intelligence operations such as searching threat actors, campaigns, malware families, reports, file behavior analysis, IP/Domain/URL telemetry, and IoC lookups.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GTI MCP Serverlook up the IP address 8.8.8.8"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Threat Intelligence (GTI) MCP Server
A production-ready Model Context Protocol (MCP) server providing comprehensive integration with Google Threat Intelligence (GTI) and VirusTotal API v3. Built with high-performance async Python, FastAPI, and MCP Streamable HTTP transport standard (/mcp), designed for deployment on Google Cloud Run and seamless interaction with Gemini Enterprise and AI Security Agents.
๐ Key Features
Streamable HTTP Transport (
/mcp): Native support for the MCP Streamable HTTP protocol specification with zero-redirect routing.22+ Threat Intelligence Tools: Direct access to Google Threat Intelligence collections, Threat Actors, Campaigns, Malware Families, Reports, File Sandbox Analyses, IP/Domain/URL telemetry, and IoC lookups.
Enterprise Security: Native integration with Google Cloud Secret Manager (
VT_APIKEY/VT_SECRET_NAME) ensures no secrets or API keys are stored in source code.Gemini Enterprise & Agent Ready: IAM-protected endpoints (
roles/run.invoker) with Google Cloud identity authentication.Automated Cloud Deployment: One-command build and deployment script (
deploy.sh) with Google Cloud Build and Cloud Run.
Related MCP server: OSINT MCP Server
๐ ๏ธ MCP Tool Suite
Category | Available Tools |
Threat Landscape & Collections |
|
File & IoC Telemetry |
|
Network Infrastructure |
|
Diagnostics & Health |
|
๐ Quick Start
1. Prerequisites
Python 3.10+
Google Cloud SDK (
gcloud) configured with project accessValid Google Threat Intelligence / VirusTotal API Key
2. Local Setup
Clone the repository and install dependencies:
git clone https://github.com/yayefa/GTI-MCP-Server.git
cd GTI-MCP-Server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt3. Environment Configuration
Copy the sample environment file:
cp .env.example .envEdit .env to configure your settings:
PROJECT_ID=your-gcp-project-id
REGION=us-central1
SERVICE_NAME=mcp-gti-mcp-server
VT_SECRET_NAME=VT_APIKEY
SECRET_PROJECT_ID=your-gcp-project-id
LOG_LEVEL=INFO4. Running Locally
uvicorn server:app --host 0.0.0.0 --port 8080 --reloadโ๏ธ Deployment to Google Cloud Run
1. Store API Key in Google Secret Manager
echo -n "YOUR_GTI_VT_API_KEY" | gcloud secrets create "VT_APIKEY" \
--data-file=- \
--project="YOUR_PROJECT_ID" \
--replication-policy="automatic"2. Deploy via Script
Execute the automated deployment script:
chmod +x deploy.sh
./deploy.shFor complete deployment details and IAM configuration, see DEPLOYMENT.md.
๐งช Testing and Verification
Run the automated test client against your running instance or deployed Cloud Run service:
AUTH_TOKEN=$(gcloud auth print-identity-token) \
TARGET_URL="https://<YOUR-CLOUD-RUN-URL>" \
python3 test_client.pyOr query the MCP endpoint directly using curl:
curl -X POST https://<YOUR-CLOUD-RUN-URL>/mcp \
-H "Authorization: Bearer $(gcloud auth print-identity-token)" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_ip_report",
"arguments": {
"ip_address": "8.8.8.8"
}
}
}'๐ License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseAqualityAmaintenanceAn MCP server that extracts Indicators of Compromise (IoCs) from unstructured text and checks their reputation across multiple threat intelligence services. It enables real-time analysis of IPs, domains, hashes, and URLs, providing enriched context for security workflows within LLMs.519MIT
- AlicenseDqualityDmaintenanceA comprehensive MCP server providing tools for IP, domain, email, and image-based open-source intelligence. It integrates services like Shodan, VirusTotal, and HaveIBeenPwned to facilitate advanced security research and data gathering.5684ISC
- AlicenseNot gradedqualityAmaintenanceAn MCP server that exposes a 60+ tool security and threat-intel stack to AI agents, enabling secret scanning, Sigma rule generation, ransomware lookup, OSINT, and deep research.1MIT
- FlicenseAqualityDmaintenanceMCP server for security analysis using VirusTotal API, enabling AI assistants to analyze URLs, files, IP addresses, and domains with automatic relationship fetching.81-