Google Antigravity Directory

The #1 directory for Google Antigravity prompts, rules, workflows & MCP servers. Optimized for Gemini 3 agentic development.

Resources

PromptsMCP ServersAntigravity RulesGEMINI.md GuideBest Practices

Company

Submit PromptAntigravityAI.directory

Popular Prompts

Next.js 14 App RouterReact TypeScriptTypeScript AdvancedFastAPI GuideDocker Best Practices

Legal

Privacy PolicyTerms of ServiceContact Us
Featured on FazierVerified on Verified ToolsFeatured on WayfindioAntigravity AI - Featured on Startup FameFeatured on Wired BusinessFeatured on Twelve ToolsListed on Turbo0Featured on findly.toolsFeatured on Aura++That App ShowFeatured on FazierVerified on Verified ToolsFeatured on WayfindioAntigravity AI - Featured on Startup FameFeatured on Wired BusinessFeatured on Twelve ToolsListed on Turbo0Featured on findly.toolsFeatured on Aura++That App Show

© 2026 Antigravity AI Directory. All rights reserved.

The #1 directory for Google Antigravity IDE

This website is not affiliated with, endorsed by, or associated with Google LLC. "Google" and "Gemini" are trademarks of Google LLC.

Antigravity AI Directory
PromptsMCPBest PracticesUse CasesLearn
Home
MCP Servers
Prometheus
bar-chart

Prometheus MCP Server

MCP server for Prometheus metrics

prometheusmetricsmonitoringobservability

About

## Prometheus MCP Server: Metrics Monitoring The **Prometheus MCP Server** integrates Prometheus metrics monitoring into Google Antigravity. This enables collecting, querying, and alerting on time-series metrics for infrastructure and applications. ### Why Prometheus MCP? Prometheus is the monitoring standard: - **CNCF Graduated**: Industry standard - **Pull Model**: Scrape-based collection - **PromQL**: Powerful query language - **Service Discovery**: Auto-find targets - **Alertmanager**: Flexible alerting ### Key Features #### 1. Query Metrics ```python import requests # Instant query response = requests.get( "http://prometheus:9090/api/v1/query", params={"query": "up{job=\"api\"}"} ) for result in response.json()["data"]["result"]: print(f"{result['metric']}: {result['value'][1]}") # Range query response = requests.get( "http://prometheus:9090/api/v1/query_range", params={ "query": "rate(http_requests_total[5m])", "start": "2024-01-01T00:00:00Z", "end": "2024-01-02T00:00:00Z", "step": "1h" } ) ``` #### 2. Push Metrics ```python from prometheus_client import CollectorRegistry, Gauge, push_to_gateway registry = CollectorRegistry() gauge = Gauge("batch_job_duration_seconds", "Duration of batch job", registry=registry) gauge.set(120) push_to_gateway("pushgateway:9091", job="batch_job", registry=registry) ``` #### 3. Manage Alerts ```python # Query active alerts response = requests.get("http://prometheus:9090/api/v1/alerts") for alert in response.json()["data"]["alerts"]: print(f"Alert: {alert['labels']['alertname']}") print(f"State: {alert['state']}") ``` ### Configuration ```json { "mcpServers": { "prometheus": { "command": "npx", "args": ["-y", "@anthropic/mcp-prometheus"], "env": { "PROMETHEUS_URL": "http://prometheus:9090" } } } } ``` ### Use Cases **Infrastructure Monitoring**: Track servers and containers. **Application Metrics**: Custom application metrics. **Alerting**: Threshold-based alerts. The Prometheus MCP Server brings metrics monitoring to Antigravity.

Installation

Configuration
{
  "mcpServers": {
    "prometheus": {
      "mcpServers": {
        "prometheus": {
          "env": {
            "PROMETHEUS_URL": "http://localhost:9090"
          },
          "args": [
            "prometheus-mcp"
          ],
          "command": "uvx"
        }
      }
    }
  }
}

How to Use

  1. 11. Set PROMETHEUS_URL to your Prometheus server
  2. 22. Query metrics using natural language
  3. 33. Explore labels and metric metadata

Related MCP Servers

🧰

Toolhouse MCP

Universal AI tool platform that equips your AI with production-ready capabilities. Execute code, browse the web, manage files, send emails, and more through a unified MCP interface.

🔨

Smithery Registry MCP

The MCP server registry and discovery platform. Browse, search, and install MCP servers from the community. Find the perfect integrations for your AI development workflow.

🔍

MCP Inspector

Official debugging and testing tool for MCP servers. Inspect server capabilities, test tool calls, validate responses, and debug protocol communication in real-time.

← Back to All MCP Servers