mcp-ragchat
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLM_MODEL | No | Override the default LLM model. | |
| AWS_REGION | No | AWS region for Bedrock embeddings (amazon.titan-embed-text-v2:0). Requires IAM permissions. | |
| GEMINI_API_KEY | No | API key for Google Gemini. Used for both LLM (gemini-2.0-flash) and embeddings (text-embedding-004) by default. | |
| OPENAI_API_KEY | No | API key for OpenAI. Used for both LLM (gpt-4o-mini) and embeddings (text-embedding-3-small) by default. | |
| EMBEDDING_MODEL | No | Override the default embedding model. | |
| ANTHROPIC_API_KEY | No | API key for Anthropic. Used for LLM (claude-sonnet-4-5-20250929) by default. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ragchat_setupA | Initialize a domain with a knowledge base from markdown content. Each ## section becomes a searchable document with vector embeddings. This is the first step — run this before testing or serving. |
| ragchat_testA | Send a test message to a domain's chat. Uses RAG search + LLM to generate a response, same as production. Good for verifying the knowledge base works. |
| ragchat_serveA | Start a local HTTP chat server for a domain. The server runs on localhost and handles POST /chat requests. Use ragchat_widget to get the embed code that connects to this server. |
| ragchat_widgetA | Generate an embeddable chat widget. Returns a tag that creates a floating chat bubble on any webpage. Connects to the chat server started with ragchat_serve. |
| ragchat_statusA | List all configured domains with document counts and config status. Shows what's been set up and what's ready to serve. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct operation: setup initializes a domain, status checks configuration, test sends a query, serve starts a server, and widget generates embed code. There is no overlap in functionality.
All tools share the consistent prefix 'ragchat_', but the second part mixes verbs (serve, setup, test) and nouns (status, widget). This is mostly predictable, though not strictly verb_noun.
With 5 tools, the server covers the essential lifecycle of a RAG chat system (setup, verify, test, deploy, embed) without unnecessary bloat or missing critical steps.
The tools cover the core workflow: initialize, check status, test, serve, and embed. Minor gaps exist (e.g., no update or delete domain), but the surface is complete for basic usage.