Λογότυπο Loki MCP Server

Loki MCP Server

Οργανισμός
grafana

An MCP ( Model Context Protocol ) Server for Grafana Loki

Εκδότηςgrafana
Αποθετήριοloki-mcp
ΓλώσσαGo
Forks
42
Αστέρια
171
Διαθέσιμα εργαλεία
0
Τύπος μεταφοράςstdio, streamable-http
Κατηγορίες
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το Loki MCP Server παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 0 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    171 αστέρια και 42 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

Loki MCP Server

CI

A Go-based server implementation for the Model Context Protocol (MCP) with Grafana Loki integration.

Getting Started

Prerequisites

  • Go 1.16 or higher

Building and Running

Build and run the server:

bash
# Build the server
go build -o loki-mcp-server ./cmd/server

# Run the server
./loki-mcp-server

Or run directly with Go:

bash
go run ./cmd/server

The server communicates using stdin/stdout and SSE following the Model Context Protocol (MCP). This makes it suitable for use with Claude Desktop and other MCP-compatible clients.

Project Structure

.
├── cmd/
│   ├── server/       # MCP server implementation
│   └── client/       # Client for testing the MCP server
├── internal/
│   ├── handlers/     # Tool handlers
│   └── models/       # Data models
├── pkg/
│   └── utils/        # Utility functions and shared code
└── go.mod            # Go module definition

MCP Server

The Loki MCP Server implements the Model Context Protocol (MCP) and provides the following tools:

Loki Query Tool

The loki_query tool allows you to query Grafana Loki log data:

  • Required parameters:

    • query: LogQL query string
  • Optional parameters:

    • url: The Loki server URL (default: from LOKI_URL environment variable or http://localhost:3100)
    • start: Start time for the query (default: 1h ago)
    • end: End time for the query (default: now)
    • limit: Maximum number of entries to return (default: 100)
    • org: Organization ID for the query (sent as X-Scope-OrgID header)

Environment Variables

The Loki query tool supports the following environment variables:

  • LOKI_URL: Default Loki server URL to use if not specified in the request
  • LOKI_ORG_ID: Default organization ID to use if not specified in the request
  • LOKI_USERNAME: Default username for basic authentication if not specified in the request
  • LOKI_PASSWORD: Default password for basic authentication if not specified in the request
  • LOKI_TOKEN: Default bearer token for authentication if not specified in the request

Security Note: When using authentication environment variables, be careful not to expose sensitive credentials in logs or configuration files. Consider using token-based authentication over username/password when possible.

Testing the MCP Server

You can test the MCP server using the provided client:

bash
# Build the client
go build -o loki-mcp-client ./cmd/client

# Loki query examples:
./loki-mcp-client loki_query "{job=\"varlogs\"}"
./loki-mcp-client loki_query "{job=\"varlogs\"}" "-1h" "now" 100

# Using environment variables:
export LOKI_URL="http://localhost:3100"
./loki-mcp-client loki_query "{job=\"varlogs\"}"

# Using environment variables for both URL and org:
export LOKI_URL="http://localhost:3100"
export LOKI_ORG_ID="tenant-123"
./loki-mcp-client loki_query "{job=\"varlogs\"}"

# Using environment variables for authentication:
export LOKI_URL="http://localhost:3100"
export LOKI_USERNAME="admin"
export LOKI_PASSWORD="password"
./loki-mcp-client loki_query "{job=\"varlogs\"}"

# Using environment variables with bearer token:
export LOKI_URL="http://localhost:3100"
export LOKI_TOKEN="your-bearer-token"
./loki-mcp-client loki_query "{job=\"varlogs\"}"

# Using all environment variables together:
export LOKI_URL="http://localhost:3100"
export LOKI_ORG_ID="tenant-123"
export LOKI_USERNAME="admin"
export LOKI_PASSWORD="password"
./loki-mcp-client loki_query "{job=\"varlogs\"}"

# Using org parameter for multi-tenant setups:
./loki-mcp-client loki_query "{job=\"varlogs\"}" "" "" "" "" "" "tenant-123"

Docker Support

You can build and run the MCP server using Docker:

bash
# Build the Docker image
docker build -t loki-mcp-server .

# Run the server
docker run --rm -i loki-mcp-server

Alternatively, you can use Docker Compose:

bash
# Build and run with Docker Compose
docker-compose up --build

Local Testing with Loki

The project includes a complete Docker Compose setup to test Loki queries locally:

  1. Start the Docker Compose environment:

    bash
    docker-compose up -d

    This will start:

    • A Loki server on port 3100
    • A Grafana instance on port 3000 (pre-configured with Loki as a data source)
    • A log generator container that sends sample logs to Loki
    • The Loki MCP server
  2. Use the provided test script to query logs:

    bash
    # Run with default parameters (queries last 15 minutes of logs)
    ./test-loki-query.sh
    
    # Query for error logs
    ./test-loki-query.sh '{job="varlogs"} |= "ERROR"'
    
    # Specify a custom time range and limit
    ./test-loki-query.sh '{job="varlogs"}' '-1h' 'now' 50
  3. Insert dummy logs for testing:

    bash
    # Insert 10 dummy logs with default settings
    ./insert-loki-logs.sh
    
    # Insert 20 logs with custom job and app name
    ./insert-loki-logs.sh --num 20 --job "custom-job" --app "my-app"
    
    # Insert logs with custom environment and interval
    ./insert-loki-logs.sh --env "production" --interval 0.5
    
    # Show help message
    ./insert-loki-logs.sh --help
  4. Access the Grafana UI at http://localhost:3000 to explore logs visually.

Server-Sent Events (SSE) Support

The server now supports two modes of communication:

  1. Standard input/output (stdin/stdout) following the Model Context Protocol (MCP)
  2. HTTP Server with Server-Sent Events (SSE) endpoint for integration with tools like n8n

The default port for the HTTP server is 8080, but can be configured using the SSE_PORT environment variable.

Server Endpoints

When running in HTTP mode, the server exposes the following endpoints:

  • SSE Endpoint: http://localhost:8080/sse - For real-time event streaming
  • MCP Endpoint: http://localhost:8080/mcp - For MCP protocol messaging

Using Docker with SSE

When running the server with Docker, make sure to expose port 8080:

bash
# Build the Docker image
docker build -t loki-mcp-server .

# Run the server with port mapping
docker run -p 8080:8080 --rm -i loki-mcp-server

n8n Integration

You can integrate the Loki MCP Server with n8n workflows:

  1. Install the MCP Client Tools node in n8n

  2. Configure the node with these parameters:

    • SSE Endpoint: http://your-server-address:8080/sse (replace with your actual server address)
    • Authentication: Choose appropriate authentication if needed
    • Tools to Include: Choose which Loki tools to expose to the AI Agent
  3. Connect the MCP Client Tool node to an AI Agent node that will use the Loki querying capabilities

Example workflow: Trigger → MCP Client Tool (Loki server) → AI Agent (Claude)

Architecture

The Loki MCP Server uses a modular architecture:

  • Server: The main MCP server implementation in cmd/server/main.go
  • Client: A test client in cmd/client/main.go for interacting with the MCP server
  • Handlers: Individual tool handlers in internal/handlers/
    • loki.go: Grafana Loki query functionality

Using with Claude Desktop

You can use this MCP server with Claude Desktop to add Loki query tools. Follow these steps:

Option 1: Using the Compiled Binary

  1. Build the server:
bash
go build -o loki-mcp-server ./cmd/server
  1. Add the configuration to your Claude Desktop configuration file using claude_desktop_config_binary.json.

Option 2: Using Go Run with a Shell Script

  1. Make the script executable:
bash
chmod +x run-mcp-server.sh
  1. Add the configuration to your Claude Desktop configuration file using claude_desktop_config_script.json.

Option 3: Using Docker (Recommended)

  1. Build the Docker image:
bash
docker build -t loki-mcp-server .
  1. Add the configuration to your Claude Desktop configuration file using claude_desktop_config_docker.json.

Configuration Details

The Claude Desktop configuration file is located at:

  • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • On Windows: %APPDATA%\Claude\claude_desktop_config.json
  • On Linux: ~/.config/Claude/claude_desktop_config.json

You can use one of the example configurations provided in this repository:

  • claude_desktop_config.json: Generic template
  • claude_desktop_config_example.json: Example using go run with the current path
  • claude_desktop_config_binary.json: Example using the compiled binary
  • claude_desktop_config_script.json: Example using a shell script (recommended for go run)
  • claude_desktop_config_docker.json: Example using Docker (most reliable)

Notes:

  • When using go run with Claude Desktop, you may need to set several environment variables in both the script and the configuration file:

    • HOME: The user's home directory
    • GOPATH: The Go workspace directory
    • GOMODCACHE: The Go module cache directory
    • GOCACHE: The Go build cache directory

    These are required to ensure Go can find its modules and build cache when run from Claude Desktop.

  • Using Docker is the most reliable approach as it packages all dependencies and environment variables in a container.

Or create your own configuration:

json
{
  "mcpServers": {
    "lokiserver": {
      "command": "path/to/loki-mcp-server",
      "args": [],
      "env": {
        "LOKI_URL": "http://localhost:3100",
        "LOKI_ORG_ID": "your-default-org-id",
        "LOKI_USERNAME": "your-username",
        "LOKI_PASSWORD": "your-password",
        "LOKI_TOKEN": "your-bearer-token"
      },
      "disabled": false,
      "autoApprove": ["loki_query"]
    }
  }
}

Make sure to replace path/to/loki-mcp-server with the absolute path to the built binary or source code.

  1. Restart Claude Desktop.

  2. You can now use the tools in Claude:

    • Loki query examples:
      • "Query Loki for logs with the query {job="varlogs"}"
      • "Find error logs from the last hour in Loki using query {job="varlogs"} |= "ERROR""
      • "Show me the most recent 50 logs from Loki with job=varlogs"
      • "Query Loki for logs with org 'tenant-123' using query {job="varlogs"}"

Using Organization ID in Natural Language Prompts

When using this MCP server with Claude Desktop or other AI assistants, users can naturally mention the organization ID in their prompts in several ways:

Direct Organization Reference

  • "Query Loki for logs from organization 'tenant-123' with the query {job="varlogs"}"
  • "Search Loki logs for org 'production-env' using {job="web"}"
  • "Get logs from organization ID 'client-abc' matching {service="api"}"

Contextual Organization Mentions

  • "Check the error logs for our production tenant (org: prod-001) using query {level="error"}"
  • "Find all logs from customer organization 'customer-xyz' for the last hour"
  • "Query Loki with org tenant-456 to find logs matching {job="backend"}"

Multi-tenant Scenarios

  • "Switch to organization 'dev-team' and query {job="logs"} for debugging"
  • "Use org 'staging-env' to search for warning logs in the last 2 hours"
  • "Search logs in tenant 'qa-environment' for any error messages"

Combined with Other Parameters

  • "Query Loki for organization 'prod-cluster' from 2 hours ago to now with limit 50"
  • "Get the last 100 logs from org 'microservice-team' for query {app="payment"}"

When you mention any of these natural language prompts, the AI assistant will automatically map terms like "organization", "org", "tenant", or "organization ID" to the org parameter in the Loki query tool, which gets sent as the X-Scope-OrgID header to your Loki server for proper multi-tenant filtering.

The key is to naturally mention any specific parameters in your request - the AI will understand how to map them to the appropriate Loki query tool parameters. When parameters are not explicitly mentioned, the system will automatically use defaults from environment variables:

  • LOKI_URL for the Loki server URL
  • LOKI_ORG_ID for the organization ID
  • LOKI_USERNAME and LOKI_PASSWORD for basic authentication
  • LOKI_TOKEN for bearer token authentication

This makes it very convenient to set up default connection parameters once and then use natural language queries without having to specify authentication details every time.

Using with Cursor

You can also integrate the Loki MCP server with the Cursor editor. To do this, add the following configuration to your Cursor settings:

Docker configuration:

json
{
  "mcpServers": {
    "loki-mcp-server": {
      "command": "docker",
      "args": ["run", "--rm", "-i", 
               "-e", "LOKI_URL=http://host.docker.internal:3100", 
               "-e", "LOKI_ORG_ID=your-default-org-id",
               "-e", "LOKI_USERNAME=your-username",
               "-e", "LOKI_PASSWORD=your-password",
               "-e", "LOKI_TOKEN=your-bearer-token",
               "loki-mcp-server:latest"]
    }
  }
}

After adding this configuration, restart Cursor, and you'll be able to use the Loki query tool directly within the editor.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Running Tests

The project includes comprehensive unit tests and CI/CD workflows to ensure reliability:

bash
# Run all tests
go test ./...

# Run tests with coverage
go test -coverprofile=coverage.out ./...
go tool cover -func=coverage.out

# Run tests with race detection  
go test -race ./...

Εγκατάσταση

TypingMind
Προαπαιτούμενα:

Node.js 18+

{
  "mcpServers": {
    "scottlepp-loki-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "loki-mcp"
      ]
    }
  }
}

Χρησιμοποιήστε το MCP Loki MCP Server με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το Loki MCP Server, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Μπορείτε να εκτελέσετε το MCP τοπικά στη συσκευή σας ή να συνδεθείτε στο URL ενός απομακρυσμένου διακομιστή MCP.

Επιλογή 1: Χρησιμοποιήστε τον τοπικό σύνδεσμο

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το Loki MCP Server ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP Loki MCP Server.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "scottlepp-loki-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "loki-mcp"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του Loki MCP Server και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του Loki MCP Server.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω Loki MCP Server;
Loki MCP Server
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του Loki MCP Server.

Επιλογή 2: Προσθέστε URL διακομιστή MCP

Επιλέξτε αυτή τη μέθοδο όταν το Loki MCP Server φιλοξενείται ήδη απομακρυσμένα ή η ομάδα σας θέλει έναν κοινόχρηστο σύνδεσμο στον οποίο μπορούν να έχουν πρόσβαση πολλοί χρήστες.

1

Ανοίξτε τους συνδέσμους MCP

Στο TypingMind, μεταβείτε στα «Πρόσθετα», ανοίξτε τους «Συνδέσμους MCP» και επιλέξτε «Προσθήκη URL».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Μεταβείτε στα «Πρόσθετα».
  3. Ανοίξτε τους συνδέσμους MCP.
  4. Κάντε κλικ στην επιλογή «Προσθήκη URL».
Φόρμα προσθήκης URL προσαρμοσμένου διακομιστή MCP στο TypingMind
2

Επικολλήστε το URL του διακομιστή

Εισαγάγετε το το URL του διακομιστή σας στο πεδίο «URL διακομιστή». Προσθέστε όνομα σύνδεσης, περιγραφή, εικόνα, προσαρμοσμένες κεφαλίδες HTTP ή ρυθμίσεις πελάτη OAuth, εφόσον απαιτούνται από τον διακομιστή.

  1. Επικολλήστε το το URL του διακομιστή σας στο πεδίο «URL διακομιστή».
  2. Εισαγάγετε ένα όνομα σύνδεσης για το Loki MCP Server.
  3. Προσθέστε περιγραφή και εικόνα για να αναγνωρίζετε ευκολότερα τη σύνδεση.
  4. Προσθέστε προσαρμοσμένες κεφαλίδες HTTP ή στοιχεία πελάτη OAuth, αν ο διακομιστής απαιτεί έλεγχο ταυτότητας.
3

Δημιουργήστε τη σύνδεση

Κάντε κλικ στην επιλογή «Δημιουργία σύνδεσης», επιστρέψτε στη λίστα προσθέτων και επιβεβαιώστε ότι η νέα σύνδεση MCP είναι ενεργή.

  1. Κάντε κλικ στην επιλογή «Δημιουργία σύνδεσης».
  2. Επιστρέψτε στη λίστα συνδέσμων MCP.
  3. Επιβεβαιώστε ότι η σύνδεση Loki MCP Server εμφανίζεται ως ενεργή.
  4. Ανανεώστε τη λίστα προσθέτων αν η σύνδεση δεν εμφανιστεί αμέσως.
4

Αλλάξτε μοντέλα χωρίς επανασύνδεση

Ξεκινήστε μια συνομιλία με το μοντέλο που προτιμάτε, ενεργοποιήστε τα εργαλεία του Loki MCP Server από τα «Πρόσθετα» και μεταβείτε σε άλλο μοντέλο όποτε χρειάζεται. Η σύνδεση MCP παραμένει διαθέσιμη στον χώρο εργασίας του TypingMind.

  1. Ξεκινήστε μια νέα συνομιλία στο TypingMind.
  2. Επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  3. Ενεργοποιήστε τα εργαλεία του Loki MCP Server από τα «Πρόσθετα».
  4. Ζητήστε από το μοντέλο να χρησιμοποιήσει το εργαλείο όταν χρειάζεται.
  5. Μεταβείτε σε άλλο μοντέλο AI και χρησιμοποιήστε ξανά την ίδια σύνδεση MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω Loki MCP Server;
Loki MCP Server
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του Loki MCP Server.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP Loki MCP Server;

Το Loki MCP Server είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το Loki MCP Server MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το Loki MCP Server με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP Loki MCP Server με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το Loki MCP Server, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το Loki MCP Server MCP στο TypingMind;

Μπορείτε να συνδέσετε το Loki MCP Server στο TypingMind με τον τοπικό σύνδεσμο MCP ή προσθέτοντας το URL ενός απομακρυσμένου διακομιστή MCP. Χρησιμοποιήστε τον τοπικό σύνδεσμο όταν ο διακομιστής χρειάζεται πρόσβαση σε αρχεία, εφαρμογές ή ιδιωτικούς πόρους στη συσκευή σας και ένα URL διακομιστή όταν ο διακομιστής MCP φιλοξενείται απομακρυσμένα.

Ποια εργαλεία παρέχει το Loki MCP Server MCP στο TypingMind;

Το Loki MCP Server διαθέτει δυνατότητες MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το Loki MCP Server MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το Loki MCP Server απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇