PC

pebbletek/cribl-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

5 stars 4 forks Качество 54 Тренд 13MIT

Cribl MCP Server

Обзор

A Model Context Protocol (MCP) server that enables AI interactions with the Cribl API. This server allows AI clients to discover and invoke data operations from a Cribl deployment, using standardised MCP tooling. * README.md (this file): Provides the highest-level introduction, quick start instructions, very basic examples, and links to the docs directory. * docs/configuration.md: Focuses specifically on the environment variables needed for configuration and explains the authentication modes. It's purely about setup. * docs/usage.md: Focuses on how to run the server (via npx or local development commands) and how to configure an MCP client to connect to it. It provides conceptual examples of invoking the tools. * docs/overview.md: Sits between the README and the specific config/usage docs.

README

Показан фрагмент оригинального README. Открыть оригинал.

Cribl MCP Server

A Model Context Protocol (MCP) server that enables AI interactions with the Cribl API.

This server allows AI clients to discover and invoke data operations from a Cribl deployment, using standardised MCP tooling.

For detailed documentation, please see the docs/ directory. Here’s a breakdown of the documentation files:

  • README.md (this file): Provides the highest-level introduction, quick start instructions, very basic examples, and links to the docs directory.
  • docs/configuration.md: Focuses specifically on the environment variables needed for configuration and explains the authentication modes. It’s purely about setup.
  • docs/usage.md: Focuses on how to run the server (via npx or local development commands) and how to configure an MCP client to connect to it. It provides conceptual examples of invoking the tools.
  • docs/overview.md: Sits between the README and the specific config/usage docs. It details what the server offers in terms of authentication and, most importantly, provides a detailed reference guide to the available tools and their specific parameters/outputs, and future tools.

Getting Started

You can either install and run locally, or execute instantly via npx. npx saves you installing Git, dependencies, or any build tools. Both scenarios require you to have node later than version 16 installed:

Prerequisites

To run this server ensure the following:

  • Node.js is installed (version 16 or later recommended)
  • Internet access is available (to fetch the MCP server package from npm)

You can install Node.js from https://nodejs.org.

To verify your setup:

node -v
npx -v

Quick Start with npx

CRIBL_BASE_URL=https://your.cribl.cloud.instance CRIBL_AUTH_TYPE=cloud CRIBL_CLIENT_ID=abc123 CRIBL_CLIENT_SECRET=secret npx @pebbletek/cribl-mcp

Note: Running npx requires essential environment variables (like CRIBL_BASE_URL and authentication details) to be set either in your environment or passed directly on the command line for the server to connect successfully.

See docs/usage.md for advanced npx usage configuration, including relevant JSON for your MCP client, and required variables.

Local Development

  1. Browse to a high-level folder where you’ll store the code base (cloning will create the containing folder). Clone the repo:
    git clone https://github.com/pebbletek/cribl-mcp.git
    cd cribl-mcp
    
  2. Install dependencies:
    npm install
    
  3. Copy the .env.example file and populate the required values:
Открыть полный README на GitHub

Установка

npx -v
Новичок в MCP? Начните с руководства на mcpskill.org →