Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoSSE 监听地址127.0.0.1
MCP_PORTNoSSE 监听端口8042
LOG_LEVELNo日志级别INFO
EMBED_TIMEOUTNoEmbedding 请求超时(秒)60.0
MCP_TRANSPORTNo传输模式: `sse` (守护进程) 或 `stdio` (子进程)sse
EMBED_BASE_URLNoOllama Embedding 服务地址http://localhost:11434
RAG_CHUNK_SIZENo分块大小(字符数)600
EMBED_MODEL_NAMENoEmbedding 模型名称 (1024 维)bge-m3
RAG_PROJECT_PATHYes文档项目目录,启动时自动加载索引 + 文件监控
RAG_CHUNK_OVERLAPNo块间重叠(字符数)60
RAG_HYBRID_WEIGHTNo混合检索权重 (0=纯BM25, 1=纯向量)0.7
RAG_WATCH_DEBOUNCENo文件监控防抖间隔(秒)1.0

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

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