Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
READER_KEYNo页图地址里的随机段:眼镜发不了请求头,页图只能靠路径鉴权
READER_HOSTNo监听地址127.0.0.1
READER_PORTNo监听端口8780
READER_TOKENNo平台 MCP 插件的 Bearer Token。不填每次启动随机生成(平台插件会失效)
READER_BOOKS_DIRNoTXT 书库目录,递归收集 *.txt~/Books
READER_PUBLIC_URLNo眼镜和平台访问的公网根地址,可带路径前缀(反代剥掉前缀后转发),如 https://cast.example.com/reader。不填只能本机联调
READER_STATE_FILENo进度文件~/Library/Application Support/glassreader/progress.json
READER_SWAP_SWIPENo1 = 前滑 / 后滑方向对调(真机方向与预期相反时用,不用改页面)
READER_ALLOWED_HOSTSNoMCP 额外放行的 Host 头,逗号分隔

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

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