Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RAGBRAIN_URL | No | RAGBrain API URL | http://localhost:8000 |
| RAGBRAIN_TIMEOUT | No | Request timeout (seconds) | 60 |
| RAGBRAIN_LOG_LEVEL | No | DEBUG, INFO, WARNING, ERROR | INFO |
| RAGBRAIN_MAX_RESULTS | No | Max search results | 20 |
| RAGBRAIN_MAX_DOCUMENT_LENGTH | No | Max doc length (chars) | 100000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ragbrain_list_namespaces | List all namespaces in the RAGBrain knowledge base. Returns namespace names, descriptions, document counts, and hierarchy. Use this to discover what knowledge areas are available. |
| ragbrain_search | Perform semantic search across the RAGBrain knowledge base. Returns relevant text chunks that match the query. Use this to find information on any topic stored in RAGBrain. |
| ragbrain_browse_namespace | List all documents stored in a specific namespace. Returns document names, IDs, chunk counts, and creation dates. Use this to see what's in a particular knowledge area. |
| ragbrain_get_document | Retrieve the full content of a specific document by its ID. Returns the complete reconstructed text from all chunks. Use this when you need to read an entire document. |
| ragbrain_discover_documents | Discover documents by semantic search over their summaries. Use this to find documents about a topic BEFORE searching for specific content. Returns document titles, headings, and relevance scores. Example queries: 'documents about leadership', 'notes on valuation', 'files covering conflict resolution'. After discovering relevant documents, use ragbrain_search to find specific content. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |