Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RAG_DB_DIRNoThe directory where the index database (.rag/index.db) should be stored. Use this to redirect the index to a writable path if the project directory is read-only.
RAG_PROJECT_DIRNoThe directory of the project to index. Required for editors like Cursor and Windsurf that spawn MCP servers from the user's home directory instead of the project project root.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/TheWinci/local-rag'

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