Phloem MCP Server
Phloem
Phloem ist eine unternehmenstaugliche, selbst gehostete Wissensbasis-Plattform, die auf RAGFlow aufbaut. Die Plattform stellt die Engine über ein typisiertes Node.js-API-Gateway und einen MCP-Server für eine nahtlose Integration in Agenten bereit.
Phloem (韧皮部) — das Leitgewebe, das Nährstoffe durch eine Pflanze transportiert. Wissen sollte auf die gleiche Weise fließen.
Warum Phloem
Selbst gehostet — deine Dokumente, deine Infrastruktur, deine Kontrolle. Keine Daten verlassen deine Umgebung.
Bereit für Agenten — stelle deine Wissensbasis über eine REST-API oder einen MCP-Server bereit, damit KI-Agenten fundierte, retrieval-gestützte Antworten erhalten.
Durchgängig typisiert — ein OpenAPI-Vertrag steuert Gateway-Routen, Client-SDK und Mock-Ebenen. Weniger Integrationsüberraschungen.
Austauschbares Backend — eine Adapterschicht isoliert RAGFlow; du kannst die Engine austauschen oder aktualisieren, ohne den Geschäftscode zu berühren.
Erweiterbar — eine Registry von Erweiterungspunkten (Middleware, Routen, MCP-Tools, Web-Module) unterstützt Anpassungen im Plugin-Stil, ohne einen Fork zu benötigen.
Related MCP server: sage-mcp
Architektur
┌────────────┐ REST ┌─────────────┐ ┌──────────────┐
│ Web UI │──────────▶│ Gateway │──adapter──▶│ RAGFlow │
│ (Next.js) │ │ (NestJS) │ │ (submodule) │
└────────────┘ └──────┬──────┘ └──────────────┘
│
┌──────┴──────┐
│ MCP Server │ ◀── Claude Desktop, Cursor, custom agents
└─────────────┘Pakete
Paket | Beschreibung |
Typen, Zod-Schemas, API-Verträge | |
NestJS (Fastify)-API-Gateway mit Adapterschicht | |
MCP-Server, der Wissens-Tools bereitstellt | |
Next.js-15-App-Router-Konsole, statischer Export | |
| Gemeinsame ESLint-Flat-Config |
Erste Schritte
Voraussetzungen
Node.js ≥ 22
pnpm ≥ 9
Docker (für das RAGFlow-Backend)
Installation
git clone --recurse-submodules https://github.com/phytul/phloem.git
cd phloem
pnpm install
cp deploy/docker/.env.example deploy/docker/.envAusführen (Entwicklung)
# Gateway
pnpm --filter @phloem/gateway dev
# Web console (Next.js dev server, port 5273)
pnpm --filter @phloem/web devAusführen (mit RAGFlow)
# Build and start RAGFlow (Lite profile, Infinity engine)
docker compose -f deploy/docker/docker-compose.yml -f deploy/docker/docker-compose.lite.yml up -d
pnpm --filter @phloem/gateway dev
pnpm --filter @phloem/web devÜberprüfen
curl http://localhost:3000/healthzAPI
Der REST-Vertrag ist die maßgebliche Quelle: openapi.yaml.
Kernressourcen:
POST /v1/retrieval— Hybrid-Retrieval über DatensätzeGET/POST /v1/datasets— Verwaltung der WissensbasisPOST /v1/datasets/{id}/documents— Dokument-UploadGET /healthz— Liveness-Probe
MCP-Tools
Tool | Beschreibung |
| Hybrid-Retrieval über Wissensbasen |
| Vorhandene Wissensbasen auflisten |
Entwicklung
pnpm run build # build all packages
pnpm run typecheck # strict TS check across the monorepo
pnpm run lint # ESLint + PrettierCommits folgen Conventional Commits. Hooks (lint-staged + commitlint) setzen das automatisch durch.
Lizenz
Links
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI agents to query a local knowledge graph built from document collections using hybrid search (BM25 + vector fusion) and entity-relationship extraction. Supports privacy-first, offline operation with tools for semantic search, entity graph exploration, and corpus statistics.3
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to search and retrieve information from a locally ingested knowledge base using hybrid search, grounded in user-curated documentation.17MIT
- FlicenseNot gradedqualityCmaintenanceEnables searching a knowledge base and asking grounded questions with hybrid retrieval, reranking, and cited answers.
Related MCP Connectors
Search your knowledge bases from any AI assistant using hybrid RAG.
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/yorikhu/phloem'
If you have feedback or need assistance with the MCP directory API, please join our Discord server