Betterstack MCP
Connect Betterstack to your AI agents using the Model Context Protocol (MCP), enabling seamless integration with betterstack.com's services through standardized interfaces.
Load BetterStack Tools
Dynamically load MCP tools for comprehensive BetterStack monitoring and incident management.
This ability provides access to advanced BetterStack capabilities including:
- Create, update, and manage monitors and alerts
- Query monitoring data with complex filters and sorting
- Manage incident workflows and on-call schedules
- Handle team collaboration and communication
- Work with reporting and analytics features
Note: Do not call this ability if BetterStack MCP tools are already loaded and available.
betterstack
mcp
Query BetterStack Logs
Execute a SQL query against BetterStack Logs via the ClickHouse HTTP API. Use this to search, filter, and analyze your log data with powerful SQL queries.
betterstack
logs
clickhouse
sql
query
analytics
Query Recent BetterStack Logs
Query recent log entries from BetterStack Logs.
**First, check available log retention:**
SELECT min(dt) as earliest, max(dt) as latest, count(*) as total FROM remote({TABLE_PREFIX}_logs) FORMAT JSONEachRow
**Then query within the available range:**
SELECT dt, raw
FROM remote({TABLE_PREFIX}_logs)
WHERE dt >= now() - INTERVAL 30 MINUTE
ORDER BY dt DESC
LIMIT 100
FORMAT JSONEachRow
Note: Log retention varies by plan. Always verify available time range before querying historical data.
recent
betterstack
logs
clickhouse
sql
query
recent
Query Historical BetterStack Logs
Query historical log entries from BetterStack Logs using S3 cold storage.
**Check available historical range:**
SELECT min(dt) as earliest, max(dt) as latest, count(*) as total FROM s3Cluster(primary, {TABLE_PREFIX}_s3) WHERE _row_type = 1 FORMAT JSONEachRow
**Query historical logs:**
SELECT dt, raw
FROM s3Cluster(primary, {TABLE_PREFIX}_s3)
WHERE _row_type = 1 AND dt >= now() - INTERVAL 24 HOUR
ORDER BY dt DESC
LIMIT 100
FORMAT JSONEachRow
historical
betterstack
logs
clickhouse
sql
query
historical
s3
How Betterstack MCP Works
ChatBotKit's MCP action provides a powerful way to dynamically extend your AI agent's capabilities by loading tools from Betterstack's MCP server.
Connect to MCP Server
ChatBotKit establishes a connection to Betterstack API endpoints, initiating secure communication.
Discover Available Tools
The system automatically discovers all available Betterstack tools and their schemas through the MCP protocol.
Load Tool Definitions
Tool definitions are loaded into your conversation context, making them available to your AI agent.
Execute Securely
Your AI uses these tools as if they were native abilities, with secure execution and proper authentication.
MCP Integrations
chatbotkit.comslack.comnotion.solinear.appsentry.iobetterstack.combox.compaypal.compagerduty.comstripe.comcloudinary.comcanva.comgithub.comapify.comzapier.comworkato.comisometric.comahrefs.comfigma.comintercom.compipedream.comparallel.aitodoist.commapbox.comclickup.comhunter.iotally.soamplitude.commiro.comtavily.compulumi.composthog.comcontext7.comfirecrawl.devlinkup.sorevenuecat.comjam.devfireflies.aizoominfo.comexplorium.aiatlassian.comvercel.comneon.techprisma.iohuggingface.cojotform.comwix.comdropbox.comclose.comdocusign.cominstantly.aizendesk.comgoogle.comquench.aihubspot.comhyperproof.appserpapi.comserper.devserper.devdiscord.comshopify.comperplexity.aireddit.comreplicate.comresend.compostgrest.orgsupabase.comzoom.uspeopledatalabs.commagento.commailchimp.comcalendly.comcal.comwoocommerce.combigcommerce.combeehiiv.combrandfetch.iofreshdesk.comfinancialmodelingprep.comapollo.ioopenweathermap.orgopenstreetmap.orgfacebook.comusefind.aivanta.commixpanel.comgohighlevel.commake.comlemonsqueezy.comlinkedin.commailgun.commicrosoft.commonday.comwikipedia.orgtwilio.comnubela.cookta.combrave.comsendgrid.comeasypost.comgodaddy.comgetharvest.comtrello.comtypeform.comaccuweather.comactivecampaign.comtaxjar.comtelegram.orgcoinapi.ioclearbit.comclickhouse.comclockify.mecoda.iocodeqr.iodictionaryapi.devably.comairtable.comasana.comalphavantage.conewsapi.orgraindrop.iosnowflake.comsprites.devunsplash.comuplead.comgiphy.comlistennotes.compexels.compipedrive.comproductboard.combarcodelookup.combamboohr.combasecamp.comdev.todiffbot.comweatherbit.iogeocod.ioabstractapi.comattio.commanychat.commatillion.commodelcontextprotocol.ioxero.com