Logo von Tailpipe Model Context Protocol (MCP) Server

Tailpipe Model Context Protocol (MCP) Server

Organisation
turbot

Enable AI assistants to explore and query your Tailpipe data!

Herausgeberturbot
Repositorytailpipe-mcp
SpracheTypeScript
Forks
2
Sterne
7
Verfügbare Tools
0
Transporttypstdio
Kategorien
LizenzApache-2.0
Links
  • Tools mit KI-Workflows verbinden

    Tailpipe Model Context Protocol (MCP) Server stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 0 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    7 Sterne und 2 Forks im verlinkten Repository.

Tailpipe Model Context Protocol (MCP) Server

Unlock the power of AI-driven log analysis with Tailpipe! This Model Context Protocol server seamlessly connects AI assistants like Claude to your cloud and SaaS logs, enabling natural language exploration and analysis of your entire data estate.

Tailpipe MCP bridges AI assistants and your log data, allowing natural language:

  • Queries across CloudTrail, Kubernetes, and other cloud service logs
  • Security incident investigation and analysis
  • Cost and performance insights
  • Query development assistance

Works with your local Tailpipe init SQL scripts, providing safe, read-only access to all your cloud and SaaS log data.

Installation

Prerequisites

Configuration

Add Tailpipe MCP to your AI assistant's configuration file:

json
{
  "mcpServers": {
    "tailpipe": {
      "command": "npx",
      "args": [
        "-y",
        "@turbot/tailpipe-mcp"
      ]
    }
  }
}

By default, this will use the Tailpipe CLI to discover your init SQL script. Make sure Tailpipe is installed and configured first.

To connect to a specific init SQL script instead, add the path to the args:

json
{
  "mcpServers": {
    "tailpipe": {
      "command": "npx",
      "args": [
        "-y",
        "@turbot/tailpipe-mcp",
        "/path/to/your/tailpipe_init_YYYYMMDDHHMMSS.sql"
      ]
    }
  }
}

AI Assistant Setup

AssistantConfig File LocationSetup Guide
Claude Desktopclaude_desktop_config.jsonClaude Desktop MCP Guide →
Cursor~/.cursor/mcp.jsonCursor MCP Guide →

Save the configuration file and restart your AI assistant for the changes to take effect.

Prompting Guide

Ask anything about your log data!

Explore your log data:

What tables do we have available in Tailpipe?

Simple, specific questions work well:

Show me all S3 bucket creation events from CloudTrail in the last 24 hours

Generate security reports:

What were my top 10 AWS services by cost last month?

Dive into incident analysis:

Find any IAM users created outside working hours (9am-5pm) in the last week

Get timeline insights:

Give me a timeline of the session where Venu created the IAM access key

Explore potential risks:

Analyze our cloudtrail errors for any specific security risks

Remember to:

  • Be specific about the time period you're interested in
  • Mention the type of data you want to analyze (CloudTrail events, cost data, etc.)
  • Start with simple queries before adding complex conditions
  • Use natural language - the LLM will handle the SQL translation
  • Be bold and exploratory, it's amazing what the LLM will discover and achieve!

Capabilities

Tools

Database Operations:

  • tailpipe_query
    • Run a read-only Tailpipe SQL query using DuckDB syntax
    • Input: sql (string): The SQL query to execute
  • tailpipe_connect
    • Initialize or refresh the DuckDB session from a Tailpipe init SQL script
    • Optional input: init_script_path (string): Path to the init SQL script to use. If not provided, refreshes the current connection.

Data Structure Operations:

  • tailpipe_partition_list

    • List all available Tailpipe partitions with simple statistics
    • No input parameters required
  • tailpipe_partition_show

    • Show details of a specific Tailpipe partition
    • Input: name (string): Name of the partition to show details for
  • tailpipe_table_list

    • List all available Tailpipe tables
    • No input parameters required
  • tailpipe_table_show

    • Show details of a specific Tailpipe table and its columns
    • Input: name (string): Name of the table to show details for

Plugin Operations:

  • tailpipe_plugin_list

    • List all Tailpipe plugins installed on the system
    • No input parameters required
  • tailpipe_plugin_show

    • Get details for a specific Tailpipe plugin installation
    • Input: name (string): Name of the plugin to show details for

Source Operations:

  • tailpipe_source_list

    • List all Tailpipe sources available on the system
    • No input parameters required
  • tailpipe_source_show

    • Get details for a specific Tailpipe source
    • Input: name (string): Name of the source to show details for

Resources

  • status
    • Represents the current state of the Tailpipe connection
    • Properties include:
      • Init script path in use
      • Server configuration
      • Runtime environment

This resource enables AI tools to check and verify the connection status to your Tailpipe session.

Development

Clone and Setup

  1. Clone the repository and navigate to the directory:
sh
git clone https://github.com/turbot/tailpipe-mcp.git
cd tailpipe-mcp
  1. Install dependencies:
sh
npm install
  1. Build the project:
sh
npm run build

Testing

To test your local development build with AI tools that support MCP, update your MCP configuration to use the local dist/index.js instead of the npm package. For example:

json
{
  "mcpServers": {
    "tailpipe": {
      "command": "node",
      "args": [
        "/absolute/path/to/tailpipe-mcp/dist/index.js",
        "/path/to/your/tailpipe_init_YYYYMMDDHHMMSS.sql"
      ]
    }
  }
}

Or, use the MCP Inspector to validate the server implementation:

sh
npx @modelcontextprotocol/inspector dist/index.js

Environment Variables

The following environment variables can be used to configure the MCP server:

  • TAILPIPE_MCP_INIT_SCRIPT_PATH: Specify the Tailpipe init SQL script path (alternative to command line argument)
  • TAILPIPE_MCP_LOG_LEVEL: Control logging verbosity (default: info)
    • debug: Show all messages (most verbose)
    • info: Show informational, warning, and error messages
    • warn: Show only warning and error messages
    • error: Show only error messages
  • TAILPIPE_MCP_MEMORY_MAX_MB: Maximum memory buffer size in megabytes for command execution

Open Source & Contributing

This repository is published under the Apache 2.0 license. Please see our code of conduct. We look forward to collaborating with you!

Tailpipe is a product produced from this open source software, exclusively by Turbot HQ, Inc. It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but they cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our Open Source FAQ.

Get Involved

Join #tailpipe on Slack →

Want to help but don't know where to start? Pick up one of the help wanted issues:

Installation

TypingMind
Voraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "turbot-tailpipe-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@turbot/tailpipe-mcp"
      ]
    }
  }
}

Tailpipe Model Context Protocol (MCP) Server MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald Tailpipe Model Context Protocol (MCP) Server verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration läuft lokal über den TypingMind-MCP-Konnektor auf Ihrem Gerät.

Einrichtungsanleitung für den lokalen Konnektor

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor-Setup“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Optionen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor-Setup“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie unter macOS Terminal bzw. unter Windows Windows Terminal.
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

Tailpipe Model Context Protocol (MCP) Server als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server ändern“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server ändern“.
  3. Fügen Sie die MCP-Server-Konfiguration für Tailpipe Model Context Protocol (MCP) Server ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server ändern“
{
  "mcpServers": {
    "turbot-tailpipe-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@turbot/tailpipe-mcp"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von Tailpipe Model Context Protocol (MCP) Server. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von Tailpipe Model Context Protocol (MCP) Server.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit Tailpipe Model Context Protocol (MCP) Server bei dieser Aufgabe helfen?
Tailpipe Model Context Protocol (MCP) Server
Gerne. Ich habe es gelesen.
Das habe ich mit Tailpipe Model Context Protocol (MCP) Server gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server Tailpipe Model Context Protocol (MCP) Server verwendet?

Tailpipe Model Context Protocol (MCP) Server ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich Tailpipe Model Context Protocol (MCP) Server MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie Tailpipe Model Context Protocol (MCP) Server mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum Tailpipe Model Context Protocol (MCP) Server MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald Tailpipe Model Context Protocol (MCP) Server verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich Tailpipe Model Context Protocol (MCP) Server MCP mit TypingMind?

Tailpipe Model Context Protocol (MCP) Server wird über den lokalen MCP-Konnektor von TypingMind angebunden. Das ist die beste Wahl, wenn der MCP-Server auf lokale Dateien, Desktop-Apps, Befehlszeilentools oder private Ressourcen auf Ihrem Computer zugreifen muss.

Welche Tools stellt Tailpipe Model Context Protocol (MCP) Server MCP in TypingMind bereit?

Tailpipe Model Context Protocol (MCP) Server stellt MCP-Funktionen bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um Tailpipe Model Context Protocol (MCP) Server MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls Tailpipe Model Context Protocol (MCP) Server eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇