
ragieai/ragie-mcp-server
Productivity workflowЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
ragieai/ragie-mcp-сервер - кандидат на сервер MCP, импортированный из https://github.com/ragieai/ragie-mcp-server.
Обзор
ragieai/ragie-mcp-сервер - кандидат на сервер MCP, импортированный из https://github.com/ragieai/ragie-mcp-server.
Обзор (машинный перевод)
Этот проект больше не нужен. Ragie теперь поддерживает MCP в качестве потокового HTTP-сервера. Смотрите здесь: https://docs.ragie.ai/docs/mcp-overview]
Если вы хотите, чтобы пользователи в вашей компании могли получить доступ к вашей базе знаний в таких приложениях, как Claude или ChatGPT, вам может понадобиться MCP Bridge.
Сервер контекстного протокола Ragie Model
Сервер Model Context Protocol (MCP), который обеспечивает доступ к возможностям поиска базы знаний Ragie.
Описание
Этот сервер реализует протокол Model Context, чтобы позволить моделям ИИ извлекать информацию из базы знаний Ragie. Он предоставляет единый инструмент под названием «retrieve», который позволяет запрашивать базу знаний для соответствующей информации.
Предпосылки
Node.js >= 18 Ключ Ragie API
##Установка
Серверу требуется следующая переменная среды:
RAGIE_API_KEY (обязательно): Ваш ключ аутентификации API Ragie
Сервер будет запускать и прослушивать сообщения протокола MCP.
Установите и запустите сервер с помощью npx:
Командная строка
Сервер поддерживает следующие параметры командной строки:
- [[Т2]]: Переопределить описание инструмента по умолчанию с помощью пользовательского текста
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
IMPORTANT!
This project is no longer needed. Ragie now supports MCP natively as a streamable HTTP server. See docs here: [https://docs.ragie.ai/docs/mcp-overview]
If you would like users within your company to be able to access you knowledge base in applications like Claude or ChatGPT, you may need MCP Bridge
Ragie Model Context Protocol Server
A Model Context Protocol (MCP) server that provides access to Ragie’s knowledge base retrieval capabilities.
Description
This server implements the Model Context Protocol to enable AI models to retrieve information from a Ragie knowledge base. It provides a single tool called “retrieve” that allows querying the knowledge base for relevant information.
Prerequisites
- Node.js >= 18
- A Ragie API key
Installation
The server requires the following environment variable:
RAGIE_API_KEY(required): Your Ragie API authentication key
The server will start and listen on stdio for MCP protocol messages.
Install and run the server with npx:
RAGIE_API_KEY=your_api_key npx @ragieai/mcp-server
Command Line Options
The server supports the following command line options:
--description, -d: Override the default tool description with custom text--partition, -p: Specify the Ragie partition ID to query
Examples:
# 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
Cursor Configuration
To use this MCP server with Cursor:
Option 1: Create an MCP configuration file
- Save a file called
mcp.json
- For tools specific to a project, create a
.cursor/mcp.jsonfile in your project directory. This allows you to define MCP servers that are only available within that specific project. - For tools that you want to use across all projects, create a
~/.cursor/mcp.jsonfile in your home directory. This makes MCP servers available in all your Cursor workspaces.
Example mcp.json:
{
"mcpServers": {
"ragie": {
"command": "npx",
"args": [
"-y",
"@ragieai/mcp-server",
"--partition",
"optional_partition_id"
],
"env": {
"RAGIE_API_KEY": "your_api_key"
}
}
}
}
Option 2: Use a shell script
- Save a file called
ragie-mcp.shon your system:
#!/usr/bin/env bash
export RAGIE_API_KEY="your_api_key"
npx -y @ragieai/mcp-server --partition optional_partition_id
- Give the file execute permissions:
chmod +x ragie-mcp.sh
Установка
npx -y @ragieai/mcp-server --partition optional_partition_idКонфигурация
{
"mcpServers": {
"ragie": {
"command": "npx",
"args": [
"-y",
"@ragieai/mcp-server",
"--partition",
"optional_partition_id"
],
"env": {
"RAGIE_API_KEY": "your_api_key"
}
}
}
}