Integrations
Better Stack Integration
Ingest and manage log sources, collectors, and metrics with Better Stack Logs (Logtail) Telemetry API
The Better Stack integration provides access to ingest and manage log sources, collectors, and metrics with Better Stack Logs (Logtail) Telemetry API through the Integrate MCP server.
Installation
The Better Stack integration is included with the SDK:
import { betterstackIntegration } from "integrate-sdk/server";Setup
Add Better Stack to your server configuration. Provide credentials via environment variables or integration config:
import { createMCPServer, betterstackIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
betterstackIntegration({
// See configuration options below
}),
],
});Client-Side Usage
import { client } from "integrate-sdk";
const result = await client.betterstack.listSources({});
console.log(result);Environment Variables
BETTERSTACK_API_KEY(when supported by this integration)
Configuration Options
Prop
Type
Tools
betterstack_list_sources
List sources
Prop
Type
betterstack_get_source
Get source
Prop
Type
betterstack_create_source
Create source
Prop
Type
betterstack_update_source
Update source
Prop
Type
betterstack_delete_source
Delete source
Prop
Type
betterstack_list_source_groups
List source groups
Prop
Type
betterstack_get_source_group
Get source group
Prop
Type
betterstack_update_source_group
Update source group
Prop
Type
betterstack_list_collectors
List collectors
Prop
Type
betterstack_list_source_metrics
List source metrics
Prop
Type
betterstack_ingest_logs
Ingest logs
Prop
Type
Notes
- Category: Engineering
- Authentication mode: API key