Logdna MCP server

Connect Logdna to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Logdna MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the update exclusion rule tool in Logdna
  • Use the list boards tool in Logdna
  • Use the get usage tool in Logdna
  • Use the get view tool in Logdna
  • Use the save archive configuration tool in Logdna
  • Use the get archive configuration tool in Logdna

Supported Tools

update_exclusion_rule

Update Exclusion Rule

Update an existing exclusion rule's title, filters, or active state.

list_boards

List Boards

List all boards (dashboards) in the LogDNA account. Boards are visual dashboards composed of graphs and widgets for monitoring log data.

get_usage

Get Usage

Retrieve aggregated log usage information for the LogDNA account. Can be broken down by apps, hosts, or tags. Usage is reported as bytes used, with daily granularity.

get_view

Get View

Retrieve the configuration of a specific saved view by its ID, including its query, filters, and alert channels.

save_archive_config

Save Archive Configuration

Create or update the archiving configuration for long-term log storage. Supports IBM Cloud Object Storage, Amazon S3, Azure Blob Storage, Google Cloud Storage, DigitalOcean Spaces, and OpenStack Swift. Only one configuration may exist at a time; saving a new one replaces the existing configuration.

get_archive_config

Get Archive Configuration

Retrieve the current archiving configuration for long-term log storage. Only one archiving configuration may exist at a time.

delete_view

Delete View

Delete a saved log view and any attached alerts by its ID.

create_preset_alert

Create Preset Alert

Create a reusable preset alert with notification channels for saved views. Attach the returned alert ID to a view using create_view or update_view.

create_exclusion_rule

Create Exclusion Rule

Create a new exclusion rule to prevent certain logs from being stored. Filter by apps, hosts, or query patterns. Use "indexOnly" to select the provider exclusion mode.

delete_board

Delete Board

Delete a board (dashboard) by its ID.

delete_archive_config

Delete Archive Configuration

Delete the current archiving configuration.

get_board

Get Board

Retrieve the configuration of a specific board by its ID, including its title and widgets.

create_view

Create View

Create a new saved log view with optional filters and alert channels. Views allow you to save log queries filtered by apps, hosts, log levels, query strings, and tags.

update_preset_alert

Update Preset Alert

Update an existing preset alert's name and/or notification channels.

get_ingestion_status

Get Ingestion Status

Get the current data ingestion status for the LogDNA instance. Returns whether ingestion is active or suspended.

delete_preset_alert

Delete Preset Alert

Delete a preset alert by its ID.

list_preset_alerts

List Preset Alerts

List reusable preset alert configurations. Attach a preset to a saved view to apply its notification configuration.

delete_category

Delete Category

Delete a category by its type and ID.

list_categories

List Categories

List all categories of a given type. Categories allow logical grouping of views.

update_view

Update View

Update an existing saved log view. You can modify the name, query, filters, categories, and alert channels.

ingest_logs

Ingest Logs

Send log lines to LogDNA for ingestion. Supports sending one or more log lines in a single request, each with optional metadata, app name, log level, and environment. Requires a hostname to identify the source. The ingestion key must be configured in authentication settings.

suspend_ingestion

Suspend Ingestion

Suspend data ingestion for the LogDNA instance. This is a two-step process: the first call returns a confirmation token, and the second call (with confirm=true) actually suspends ingestion. This prevents accidental suspension.

resume_ingestion

Resume Ingestion

Resume data ingestion for the LogDNA instance after it has been suspended.

create_board

Create Board

Create an empty board (dashboard) with a title and optional categories. Configure graphs in the provider dashboard; widgets are not supported by the current create endpoint.

delete_exclusion_rule

Delete Exclusion Rule

Delete an exclusion rule by its ID.

list_exclusion_rules

List Exclusion Rules

List all ingestion exclusion rules. Exclusion rules define which logs should be excluded from storage to control costs and reduce noise.

create_category

Create Category

Create a new category for organizing views. Specify a type (e.g., "views") and a name.

update_category

Update Category

Update a category's name.

list_views

List Views

List all saved log views in the LogDNA account. Views are saved log queries with optional alert configurations.

export_logs

Export Logs

DEPRECATED — use `download_log_export` instead. Search and export log lines from LogDNA in the legacy inline JSONL format. Supports the v2 API continuation token.

get_exclusion_rule

Get Exclusion Rule

Read one ingestion exclusion rule by ID. Call list_exclusion_rules to discover rules and their active state.

get_category

Get Category

Read a view, board, or screen category by ID. Call list_categories for that type to discover available IDs.

get_preset_alert

Get Preset Alert

Read a reusable preset alert configuration by ID. Call list_preset_alerts to discover available alert IDs. Notification credentials are omitted.

download_log_export

Download Log Export

Download one JSONL page of matching LogDNA logs. Use the returned paginationId with the same time range, filters, preference, and size to request the next page.

Connect Logdna to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Logdna in Metorial. In your Metorial portal, enable the Logdna MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Logdna tools.

Run Logdna through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Logdna and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Logdna tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Logdna

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Technical notes for Logdna

Search and download paginated JSONL log exports, ingest logs with separate credentials, and manage saved views, preset alert templates, boards, categories, exclusion rules, archive configuration, ingestion controls, and byte usage reports.

Frequently asked questions

Common questions about connecting Logdna to AI agents with Metorial.

  1. How many tools does the Logdna MCP server have?
    The Logdna MCP server exposes 34 tools, including Update Exclusion Rule, List Boards, Get Usage. Each one is governed and traced through Metorial.
  2. Logdna exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Logdna MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Logdna and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Logdna MCP server yourself or use the hosted gateway.

Connect Logdna to production AI agents

See how Metorial gives your team governed access to Logdna, with tracing and security controls built in.