Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNo监听地址。默认 127.0.0.1。要从手机访问,放到 HTTPS 反向代理后面。127.0.0.1
PORTNo监听端口。默认 3480。3480
NETEASE_APINo网易云音乐音源相关配置,见 docs/netease.md。
QQ_COOKIE_FILENoQQ 音乐音源相关配置,见 docs/qq.md。
PHONE_MUSIC_URLNoMCP 进程把调用转给正在跑的服务器时使用的地址。默认 http://127.0.0.1:3480。http://127.0.0.1:3480
PHONE_MUSIC_DATANo曲库、歌单、口令、缓存都放在这里。默认 ./data。./data
PHONE_MUSIC_USERNo工具说明里怎么称呼你。默认 TA,可以写 她 / 他 / 你的名字。TA
PHONE_MUSIC_TOKENNo访问口令(Authorization: Bearer …、?t=… 或 cookie pm_t)。不设置时自动生成,存在 data/token.txt。
PHONE_MUSIC_SOURCESNo点歌时先问哪家。默认 qq,netease。qq,netease
PHONE_MUSIC_STALE_SECNo播放端多久没来问就当它不在了。默认 60 秒。60
PHONE_MUSIC_CORS_ORIGINNo通话页和服务器不同域名时,写通话页的 origin(逗号分隔)。
PHONE_MUSIC_IMPORT_DIRSNoAI 可以按文件名从这些目录收音频进曲库(比如它浏览器的下载目录)。

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