Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WP_URLYesWordPress 站点地址,如 https://example.com
TRANSPORTNo可选,传输模式:http 或 stdiohttp
MCP_API_KEYNo可选,用于保护 MCP 服务的 API 密钥
WP_USERNAMEYesWordPress 用户名
BIND_ADDRESSNo可选,服务绑定地址,默认 127.0.0.1127.0.0.1
WP_JWT_TOKENNo已有的 WordPress JWT Token,在 jwt 模式下必需
ALLOWED_HOSTSNo可选,允许的主机名,多个用逗号分隔
WP_AUTH_METHODNo鉴权方式:application_password 或 jwt,默认 application_passwordapplication_password
MAX_MEDIA_BYTESNo可选,媒体上传大小限制(字节),默认 1048576010485760
WP_CONTENT_TYPESNo可选,内容类型白名单,用逗号分隔,默认 posts,pagesposts,pages
WP_APPLICATION_PASSWORDNoWordPress 应用密码(Application Password),在 application_password 模式下必需

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/cnmbdb/wp-mcp'

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