Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Protheus Chat Server

БесплатноНе проверен

MCP server that enables searching a TOTVS Protheus ERP knowledge base using vector similarity and reranking.

GitHubEmbed

Описание

MCP server that enables searching a TOTVS Protheus ERP knowledge base using vector similarity and reranking.

README

MCP (Model Context Protocol) server that exposes a knowledge base search tool for TOTVS Protheus ERP. Uses pgvector for vector similarity search, OpenAI (text-embedding-3-small) for question embeddings, and Cohere (rerank-v3.5) for result reranking.

Quick Start

git clone https://github.com/Straider2/protheus-mcp.git
cd protheus-mcp
cp .env.example .env
# edit .env with your credentials
uv pip install -e .
mcp-server-protheus

Or run remotely via SSE:

{
  "mcpServers": {
    "protheus": {
      "url": "https://mcp-protheus.yourdomain.com/sse"
    }
  }
}

Configuration

Variable Default Required
PGHOST localhost Database host
PGPORT 5433 Database port
PGUSER Database user
PGDATABASE Database name
PGPASSWORD Database password
OPENAI_API_KEY OpenAI API key (embeddings)
COHERE_API_KEY Cohere API key (reranking)

Copy .env.example to .env and fill in your values.

Installation

Local (stdio)

uv pip install -e .
mcp-server-protheus

Available commands:

  • mcp-server-protheus — stdio MCP server (Claude Desktop, Cursor)
  • mcp-server-protheus-sse — SSE/HTTP server (remote access)
  • protheus-mcp — alias for stdio

Docker (SSE)

docker compose -f docker-compose.yml up -d protheus-mcp-sse

The server listens on http://localhost:8092/sse.

Usage

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "protheus": {
      "command": "uv",
      "args": ["run", "mcp-server-protheus"]
    }
  }
}

Remote via SSE URL

{
  "mcpServers": {
    "protheus": {
      "url": "https://mcp-protheus.yourdomain.com/sse"
    }
  }
}

Available Tool

protheus_search(question: str) — Search the Protheus FAQ knowledge base.

Architecture

User Question → OpenAI Embedding → pgvector Cosine Search → Cohere Rerank → Results

The server connects read-only to PostgreSQL/pgvector.

Testing

uv run pytest tests/ -v

All tests use mocked connections — no real credentials needed.

Project Structure

protheus-mcp/
├── .env.example
├── pyproject.toml
├── README.md
├── src/protheus_mcp/
│   ├── __init__.py
│   ├── search.py      # pgvector search + Cohere rerank
│   └── server.py      # MCP server (stdio + SSE)
└── tests/
    ├── conftest.py
    └── test_server.py

License

MIT

from github.com/Straider2/protheus-mcp

Установка Protheus Chat Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Straider2/protheus-mcp

FAQ

Protheus Chat Server MCP бесплатный?

Да, Protheus Chat Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Protheus Chat Server?

Нет, Protheus Chat Server работает без API-ключей и переменных окружения.

Protheus Chat Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Protheus Chat Server в Claude Desktop, Claude Code или Cursor?

Открой Protheus Chat Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Protheus Chat Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории communication