Skip to main content
Glama
WarinChi

ranger-rag-mcp

by WarinChi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CA_BUNDLENoPath to CA certificate bundle
VERIFY_SSLNoSet 'false' to disable SSL verificationtrue
RANGER_PASSYesWorkload password for Ranger API auth
RANGER_USERYesWorkload username for Ranger API auth
RAG_STUDIO_URLYesRAG Studio base URL
RAG_STUDIO_API_KEYYesRAG Studio API key
RANGER_GATEWAY_URLYesRanger Admin REST API URL via Knox
RAG_INFERENCE_MODELNoLLM model for response generation
RAG_RESPONSE_CHUNKSNoNumber of chunks to retrieve5
RANGER_SERVICE_NAMENoRanger service namerag
HTTP_TIMEOUT_SECONDSNoRequest timeout in seconds30
RAG_STUDIO_PROJECT_IDNoProject ID1

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_knowledge_baseA

Query a RAG knowledge base with Ranger authorization check.

First checks Apache Ranger to verify the user has 'read' access to the specified knowledge base. If allowed, forwards the query to RAG Studio and returns the answer. If denied, returns an access denied message.

Args: user: Username to check permissions for (e.g., 'alice', 'bob'). knowledge_base: Name of the knowledge base to query (e.g., 'Finance KB', 'HR Policies'). query: The question to ask the knowledge base.

Returns: If authorized: The RAG response with answer and sources. If denied: An access denied message with the reason.

list_knowledge_basesA

List all knowledge bases the user has access to.

Checks Ranger authorization for each knowledge base and returns only those the user is permitted to query.

Args: user: Username to check permissions for.

Returns: List of accessible knowledge bases with their details.

check_accessA

Check if a user has access to a specific knowledge base without querying it.

Useful for pre-flight permission checks before attempting a query.

Args: user: Username to check permissions for. knowledge_base: Name of the knowledge base. access_type: Type of access to check ('read' or 'write'). Default: 'read'.

Returns: Access decision with policy details.

list_policiesA

List all Ranger policies for the RAG service.

Shows which users/groups have access to which knowledge bases. Useful for administrators to understand the current access control setup.

Returns: List of policies with their resource definitions and access rules.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/WarinChi/ranger-rag-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server