NetEase Music MCP Safe
by laugh29c-cmd
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind host for the MCP server. Default is 127.0.0.1; use 0.0.0.0 on platforms such as Zeabur. | 127.0.0.1 |
| MCP_PORT | No | Explicit MCP port. If unset, the platform PORT is used, then 3456. | 3456 |
| LOG_LEVEL | No | Python logging level. Default is INFO. | INFO |
| MCP_READ_ONLY | No | When true, account write tools are hidden. Set to false to register write tools. | true |
| MCP_PUBLIC_URL | No | Optional HTTPS origin with no path, query, or fragment. Must be set together with MCP_OAUTH_PASSWORD to enable browser OAuth. | |
| NETEASE_COOKIE | No | Optional legacy NetEase Cloud Music session cookie; must contain MUSIC_U. Used only as a fallback when no valid persisted runtime session exists. | |
| MCP_ACCESS_TOKEN | Yes | Required static Bearer token with at least 24 characters. Also serves as the root secret for OAuth signing. | |
| MCP_STORAGE_PATH | No | Path to the persistent SQLite database for sessions, audit logs, notes, and idempotency records. Required for QR login or write mode and should be on a persistent volume. | |
| MCP_ALLOWED_ORIGIN | No | Optional single allowed browser origin. Empty by default; set only when cross-origin browser access is required. | |
| MCP_OAUTH_PASSWORD | No | Optional OAuth authorization-page password with at least 16 characters. Must differ from MCP_ACCESS_TOKEN and be set together with MCP_PUBLIC_URL. | |
| MCP_MAX_IMAGE_BYTES | No | Maximum compressed cover image input size in bytes. Default is 5242880; allowed range is 1-20 MiB. | 5242880 |
| MCP_DEFAULT_TIMEZONE | No | IANA timezone used for user-facing local timestamps and date context. Default is Asia/Shanghai. | Asia/Shanghai |
| MCP_MAX_IMAGE_PIXELS | No | Maximum decoded cover image pixel count. Default is 25000000; allowed range is 1000000-100000000. | 25000000 |
| MCP_MAX_REQUEST_BYTES | No | HTTP request body size limit in bytes. Default is 1048576; minimum is 1024. | 1048576 |
| MCP_MAX_OPERATION_LOGS | No | Maximum number of audit log records per user. Default is 1000; allowed range is 100-100000. | 1000 |
| MCP_MAC_PLAYBACK_ENABLED | No | When true, register optional macOS local NetEase Music client playback control tools. | false |
| MCP_MOBILE_PLAYBACK_ENABLED | No | When true, register optional iPhone NetEase Music app Listen Together control tools. | false |
| MCP_OPERATION_RETENTION_DAYS | No | Audit log retention period in days. Default is 90; allowed range is 1-3650. | 90 |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues