LogSentry MCP
Enables proactive alerts and interactive Q&A via Google Chat integration.
Provides read-only tools for querying logs, checking service health, and anomaly detection using Google Cloud Logging and BigQuery.
Click on "Install 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., "@LogSentry MCPcheck payment-service health in the last 30 minutes"
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.
LogSentry
AI-powered, centralized log-monitoring and Q&A for a fleet of 90+ GCP Java (log4j) microservices.
LogSentry adds three things on top of Google Cloud Logging:
MCP server — read-only tools for log query, service health, and anomaly detection.
AI monitoring agent — scheduled loop that inspects logs via those tools and decides whether to alert.
Google Chat integration — pushes proactive alerts and answers support questions interactively.
Anomaly thresholds are fully parameter-driven (config/thresholds.yaml + env), so tuning needs no code change.
New here? Read SETUP.md — a beginner-to-expert guide for local setup, local testing with examples, and step-by-step Google Cloud deployment.
See BUILD_SPEC.md for the full specification.
Tech stack
TypeScript (Node 20+) · @modelcontextprotocol/sdk · @google-cloud/logging + @google-cloud/bigquery ·
@google-cloud/pubsub · @anthropic-ai/sdk · express · zod + dotenv · vitest + nock ·
Cloud Run + Cloud Scheduler.
Related MCP server: Log Analyzer MCP
Quick start (local, no cloud needed)
npm install
npm run build # tsc strict, must be clean
npm test # all unit + integration (mocked)
npm run test:cov # coverage gate >85% on core modulesCopy .env.example to .env and fill in values for runtime use.
Local smoke tests
MCP (stdio):
MCP_TRANSPORT=stdio npm run mcp
# another terminal:
npx @modelcontextprotocol/inspector node dist/mcp/server.jsChat bot:
npm run dev
curl -s localhost:8080/health # -> {"status":"ok"}
curl -s -X POST localhost:8080/chat -H 'content-type: application/json' \
-d '{"type":"MESSAGE","message":{"text":"is payment-service healthy?"}}'Agent dry-run (read-only, safe):
DRY_RUN=1 npm run monitor:once # logs the decision, does NOT post to ChatDeployment
Scripts in scripts/ are idempotent and support DRY_RUN=1 (echo instead of execute). Run in order:
Script | Purpose |
| BigQuery dataset + log sink routing |
| Topic + sink for near-real-time agent triggering (optional) |
| Dataset/table + view normalizing the export schema into the |
| Build container, create viewer-only runtime SA, deploy, print URL |
| Cloud Scheduler job hitting |
Full step-by-step deployment, including Google Chat bot registration, is in SETUP.md.
Safety guardrails
Read-only everywhere — no tool, query, or script writes to production.
assertReadOnlyguards BigQuery.Query caps —
query_logshard-caps atMAX_LOGS_PER_QUERY(500) and windows at 24h.Least-privilege SA —
roles/logging.viewer,roles/bigquery.dataViewer,roles/bigquery.jobUseronly.Alert dedup + cooldown — prevents alert storms.
Log tiering — only
severity>=WARNINGexported to BigQuery; INFO/DEBUG stay in the cheaper default bucket. Ultra-chatty INFO logs can be sampled at the log4j appender level if volume becomes a problem.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceProvides comprehensive logging and monitoring capabilities for MCP services with real-time log tailing, advanced search, error analysis, and anomaly detection. Enables centralized log aggregation, correlation tracking, and health monitoring across all MCP ecosystem services.Last updated
- FlicenseBqualityCmaintenanceEnables AI-assisted analysis of log files through advanced searching, filtering, and test execution capabilities. Supports time-based queries, pattern matching, test summarization, and code coverage reporting directly within compatible MCP clients.Last updated12
- Alicense-qualityDmaintenanceAn MCP server for intelligent log analysis providing semantic search, error pattern clustering, and smart error detection. It enables users to process, vectorize, and query local logs to efficiently identify issues and generate AI-powered summaries.Last updatedMIT
- Alicense-qualityCmaintenanceAn MCP server that connects Claude (or any MCP compatible client) to your existing log infrastructure. Query, summarize, and trace logs in plain English across GCP Cloud Logging, AWS CloudWatch, Azure Log Analytics, Grafana Loki, and Elasticsearch without writing filter expressions or leaving your editor.Last updated373MIT
Related MCP Connectors
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
A paid remote MCP for AI SDK eval dashboard, built to return verdicts, receipts, usage logs, and aud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mehtaniravm/LogSentryMCPGoogleHangout'
If you have feedback or need assistance with the MCP directory API, please join our Discord server