Skip to main content
Glama
ragieai

Ragie Model Context Protocol Server

by ragieai

Bild

Ragie Model Context Protocol Server

Ein Model Context Protocol (MCP)-Server, der Zugriff auf die Wissensdatenbank-Abruffunktionen von Ragie bietet.

Beschreibung

Dieser Server implementiert das Model Context Protocol, um KI-Modellen den Zugriff auf Informationen aus einer Ragie-Wissensdatenbank zu ermöglichen. Er bietet ein Tool namens „Retrieve“, mit dem die Wissensdatenbank nach relevanten Informationen abgefragt werden kann.

Related MCP server: RAG Information Retriever

Voraussetzungen

  • Node.js >= 18

  • Ein Ragie-API-Schlüssel

Installation

Der Server benötigt die folgende Umgebungsvariable:

  • RAGIE_API_KEY (erforderlich): Ihr Ragie API-Authentifizierungsschlüssel

Der Server wird gestartet und wartet auf stdio auf MCP-Protokollnachrichten.

Installieren und führen Sie den Server mit npx aus:

RAGIE_API_KEY=your_api_key npx @ragieai/mcp-server

Befehlszeilenoptionen

Der Server unterstützt die folgenden Befehlszeilenoptionen:

  • --description, -d <text> : Überschreibt die Standard-Toolbeschreibung mit benutzerdefiniertem Text

  • --partition, -p <id> : Geben Sie die abzufragende Ragie-Partitions-ID an

Beispiele:

# With custom description
RAGIE_API_KEY=your_api_key npx @ragieai/mcp-server --description "Search the company knowledge base for information"

# With partition specified
RAGIE_API_KEY=your_api_key npx @ragieai/mcp-server --partition your_partition_id

# Using both options
RAGIE_API_KEY=your_api_key npx @ragieai/mcp-server --description "Search the company knowledge base" --partition your_partition_id

Cursorkonfiguration

So verwenden Sie diesen MCP-Server mit Cursor:

Option 1: Erstellen einer MCP-Konfigurationsdatei

  1. Speichern Sie eine Datei mit dem Namen mcp.json

  • Für projektspezifische Tools erstellen Sie eine .cursor/mcp.json -Datei in Ihrem Projektverzeichnis. So können Sie MCP-Server definieren, die nur innerhalb dieses spezifischen Projekts verfügbar sind.

  • Für Tools, die Sie projektübergreifend verwenden möchten , erstellen Sie eine Datei ~/.cursor/mcp.json in Ihrem Home-Verzeichnis. Dadurch stehen MCP-Server in allen Cursor-Arbeitsbereichen zur Verfügung.

Beispiel mcp.json :

{
  "mcpServers": {
    "ragie": {
      "command": "npx",
      "args": [
        "-y",
        "@ragieai/mcp-server",
        "--partition",
        "optional_partition_id"
      ],
      "env": {
        "RAGIE_API_KEY": "your_api_key"
      }
    }
  }
}

Option 2: Verwenden Sie ein Shell-Skript

  1. Speichern Sie eine Datei namens ragie-mcp.sh auf Ihrem System:

#!/usr/bin/env bash

export RAGIE_API_KEY="your_api_key"

npx -y @ragieai/mcp-server --partition optional_partition_id
  1. Geben Sie der Datei Ausführungsberechtigungen: chmod +x ragie-mcp.sh

  2. Fügen Sie das MCP-Serverskript hinzu, indem Sie in der Cursor-Benutzeroberfläche zu Einstellungen -> Cursor-Einstellungen -> MCP-Server gehen.

Ersetzen Sie your_api_key durch Ihren tatsächlichen Ragie-API-Schlüssel und legen Sie optional die Partitions-ID fest, falls erforderlich.

Claude Desktop-Konfiguration

So verwenden Sie diesen MCP-Server mit Claude Desktop:

  1. Erstellen Sie die MCP-Konfigurationsdatei claude_desktop_config.json :

  • Für MacOS: Verwenden Sie ~/Library/Application Support/Claude/claude_desktop_config.json

  • Für Windows: Verwenden Sie %APPDATA%/Claude/claude_desktop_config.json

Beispiel claude_desktop_config.json :

{
  "mcpServers": {
    "ragie": {
      "command": "npx",
      "args": [
        "-y",
        "@ragieai/mcp-server",
        "--partition",
        "optional_partition_id"
      ],
      "env": {
        "RAGIE_API_KEY": "your_api_key"
      }
    }
  }
}

Ersetzen Sie your_api_key durch Ihren tatsächlichen Ragie-API-Schlüssel und legen Sie optional die Partitions-ID fest, falls erforderlich.

  1. Starten Sie Claude Desktop neu, damit die Änderungen wirksam werden.

Das Ragie-Abruftool ist jetzt in Ihren Claude-Desktop-Konversationen verfügbar.

Merkmale

Tool abrufen

Der Server stellt ein retrieve zur Verfügung, mit dem die Wissensdatenbank durchsucht werden kann. Es akzeptiert die folgenden Parameter:

  • query (Zeichenfolge): Die Suchanfrage zum Auffinden relevanter Informationen

  • topK (Zahl, optional, Standard: 8): Die maximale Anzahl der zurückzugebenden Ergebnisse

  • rerank (boolesch, optional, Standard: true): Ob versucht werden soll, nur die relevantesten Informationen zu finden

  • recencyBias (Boolesch, optional, Standard: falsch): Ob Ergebnisse mit aktuelleren Informationen bevorzugt werden sollen

Das Tool gibt Folgendes zurück:

  • Ein Array von Inhaltsblöcken mit passendem Text aus der Wissensdatenbank

Entwicklung

Dieses Projekt ist in TypeScript geschrieben und verwendet die folgenden Hauptabhängigkeiten:

  • @modelcontextprotocol/sdk : Zur Implementierung des MCP-Servers

  • ragie : Zur Interaktion mit der Ragie-API

  • zod : Zur Laufzeittypvalidierung

Entwicklungs-Setup

Ausführen des Servers im Entwicklermodus:

RAGIE_API_KEY=your_api_key npm run dev -- --partition optional_partition_id

Erstellen des Projekts:

npm run build

Lizenz

MIT-Lizenz – Einzelheiten finden Sie in LICENSE.txt.

Available Tools

1 tool
retrieveA

Look up information in the Knowledge Base. Use this tool when you need to:

  • Find relevant documents or information on specific topics

  • Retrieve company policies, procedures, or guidelines

  • Access product specifications or technical documentation

  • Get contextual information to answer company-specific questions

  • Find historical data or information about projects

ParametersJSON Schema
NameRequiredDescriptionDefault
topKNoThe maximum number of results to return. Defaults to 8.
queryYesThe query to search for data in the Knowledge Base
filterNoThe metadata search filter on documents. Returns chunks only from documents which match the filter. The following filter operators are supported: $eq - Equal to (number, string, boolean), $ne - Not equal to (number, string, boolean), $gt - Greater than (number), $gte - Greater than or equal to (number), $lt - Less than (number), $lte - Less than or equal to (number), $in - In array (string or number), $nin - Not in array (string or number). The operators can be combined with AND and OR. Read Metadata & Filters guide for more details and examples.
rerankNoWhether to try and find only the most relevant data. Defaults to false.
recencyBiasNoWhether to favor data towards more recent documents. Defaults to false.

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden. It only implies a read-only operation by saying 'Look up information', but fails to explicitly state it is read-only, does not disclose authentication needs, rate limits, or error behavior. This is a significant gap for a retrieval tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is relatively concise, using a bullet list of use cases. It is front-loaded with the purpose statement. However, some redundancy exists with 'Use this tool when you need to' repeated for each item.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 5 parameters, including a complex nested filter object, and no output schema. The description does not explain the return format, pagination, or how results are structured. It only vaguely mentions 'information', leaving the agent without sufficient context to interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and all parameters have descriptions in the schema. The tool description does not add additional meaning beyond what the schema provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Look up information in the Knowledge Base' and lists specific use cases (e.g., 'Find relevant documents', 'Retrieve company policies'). It directly addresses what the tool does with a specific verb and resource.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a bullet list of when to use the tool, such as 'Find relevant documents or information' and 'Get contextual information'. It implicitly guides usage but does not explicitly state when not to use or mention alternatives, though no sibling tools exist.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

B3.2/5.0
Disambiguation5/5

With only one tool, there is no potential for confusion between tools. The tool's purpose is clearly defined.

Naming Consistency3/5

With a single tool named 'retrieve', there is no pattern to evaluate. Naming is neither consistent nor inconsistent—it's neutral.

Tool Count1/5

A knowledge base server with only one retrieval tool is extremely minimal. Agents cannot perform any CRUD operations, making this count far too low for the implied scope.

Completeness1/5

The server only supports retrieval. Essential actions like adding, updating, or deleting documents are missing, leaving significant gaps in functionality.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    A plugin-based MCP server that enables AI assistants to interact with external systems through custom tools, resources, and prompts.
    4
    AGPL 3.0

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ragieai/ragie-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server