Papertrail MCP server

Connect Papertrail 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 Papertrail MCP server

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

  • Use the list log destinations tool in Papertrail
  • Use the create group tool in Papertrail
  • Use the list archives tool in Papertrail
  • Use the delete group tool in Papertrail
  • Use the list systems tool in Papertrail
  • Use the update system tool in Papertrail

Supported Tools

list_destinations

List Log Destinations

List all log destinations configured in Papertrail. Log destinations define where systems should send their logs. Destinations can accept logs via syslog (TCP/UDP/TLS) or HTTPS.

create_group

Create Group

Create a new group of systems. Groups can include specific systems by ID and/or use a wildcard pattern to automatically include matching systems by name (e.g., `*prod*`).

list_archives

List Archives

List all available log archive files. Archives are hourly or daily gzipped TSV files containing permanent log records. Returns download URLs for each archive.

delete_group

Delete Group

Delete a group from Papertrail. The systems within the group are not deleted, only the grouping is removed.

list_systems

List Systems

List all systems (log senders) registered in Papertrail. Returns each system's name, hostname, IP address, last event timestamp, and syslog connection details. Useful for identifying active senders and those that have stopped logging.

update_system

Update System

Update an existing system's name, hostname, or IP address. Note that the log destination cannot be changed after creation.

list_groups

List Groups

List all groups in Papertrail. Groups are sets of systems (log senders) that can be searched together. Each group includes its member systems and optional wildcard pattern for automatic system matching.

remove_user

Remove User

Remove a team member from the Papertrail account. This revokes their access immediately.

manage_group_membership

Manage Group Membership

Add or remove a system from a group. A system can belong to multiple groups simultaneously.

delete_system

Delete System

Remove a system (log sender) from Papertrail. This permanently unregisters the system; it will no longer appear in groups or searches.

create_system

Create System

Register a new system (log sender) in Papertrail. You can configure the system to log to a specific destination by port or destination ID. For standard syslog port (514), provide the system's static public IP address instead.

get_group

Get Group

Get details of a specific group including its member systems and wildcard configuration.

update_group

Update Group

Update a group's name or wildcard pattern. To add or remove systems from a group, use the "Manage Group Membership" tool instead.

invite_user

Invite User

Invite a new team member to the Papertrail account by email. Configure their permission level including read-only access, member management, billing management, log purging, and group access restrictions.

list_users

List Users

List all team members on the Papertrail account. Returns each user's ID and email address.

search_events

Search Log Events

Search for log events across systems and groups. Supports Papertrail's full query syntax including Boolean operators (AND, OR), negation, quoted phrases, and attribute filters like `sender:` and `program:`. Results can be filtered by system, group, and time range.

list_saved_searches

List Saved Searches

List all saved searches in Papertrail. Saved searches are named queries associated with a group that serve as the basis for setting up alerts.

get_account_usage

Get Account Usage

DEPRECATED — use `get_usage` instead. Retrieve Papertrail account information and usage data, including the account name, plan details, and log volume consumed.

download_archive

Download Log Archive

Prepare an available gzipped TSV log archive for download. Use a filename from List Archives; archives are divided by UTC day or hour and require access to archived account logs.

get_system

Get System

Retrieve a registered sender, its current settings and last event timestamp.

get_usage

Get Log Transfer Usage

Retrieve log transfer usage and limits in bytes for the current billing period. Additional usage is included when enabled, so usage may exceed 100 percent.

get_destination

Get Log Destination

Retrieve a log destination and its syslog connection details. Destination configuration is managed in Papertrail account settings.

Connect Papertrail 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 Papertrail in Metorial. In your Metorial portal, enable the Papertrail 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 Papertrail tools.

Run Papertrail through the Metorial gateway

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

  • Give Papertrail and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Papertrail 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 Papertrail

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 Papertrail

Search centralized logs, inspect log senders and destinations, manage groups and saved searches, retrieve transfer usage, download available log archives, and manage account membership.

Frequently asked questions

Common questions about connecting Papertrail to AI agents with Metorial.

  1. How many tools does the Papertrail MCP server have?
    The Papertrail MCP server exposes 26 tools, including List Log Destinations, Create Group, List Archives. Each one is governed and traced through Metorial.
  2. Papertrail 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 Papertrail MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Papertrail and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Papertrail MCP server yourself or use the hosted gateway.

Connect Papertrail to production AI agents

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