Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_HOSTNoHTTP bind address (default 127.0.0.1, set 0.0.0.0 for container)127.0.0.1
MCP_HTTP_PORTNoHTTP port (default 3000)3000
MCP_TRANSPORTNoTransport mode: 'stdio' or 'http'
HUAWEICLOUD_AKNoAccess key for stdio mode
HUAWEICLOUD_SKNoSecret key for stdio mode
MCP_SERVER_NAMENoServer name
CODEARTS_MCP_URLNoCLI remote HTTP MCP endpoint
HUAWEICLOUD_REGIONNoRegion for stdio mode (e.g., cn-north-4)
MCP_AUTH_DATA_PATHNoPath to encrypted auth store (default .codearts-mcp/auth-store.json).codearts-mcp/auth-store.json
MCP_SERVER_VERSIONNoServer version
CODEARTS_CLI_CONFIGNoCLI profile config file path (default ~/.codearts-mcp-cli.json)~/.codearts-mcp-cli.json
CODEARTS_CLI_FORMATNoCLI default output format: json, text, or table (default json)json
MCP_AUTH_MASTER_KEYNoMaster key for session encryption (required in http mode)
CODEARTS_CLI_PROFILENoCLI default profile name
CODEARTS_CLI_TRANSPORTNoCLI default transport mode: 'local' or 'http' (default local)local
MCP_AUTH_COOKIE_SECURENoSet Secure flag on cookies when using HTTPS (default false)false
CODEARTS_MCP_AUTH_TOKENNoCLI Bearer auth token for remote mode
MCP_HTTP_ALLOWED_ORIGINSNoComma-separated allowed origins for browser CORS
MCP_ENABLED_PRODUCT_FAMILIESNoComma-separated list of product families to expose
MCP_AUTH_WRITE_RATE_LIMIT_WINDOW_MSNoAuth write rate limit window in ms (default 60000)60000
MCP_AUTH_WRITE_RATE_LIMIT_MAX_REQUESTSNoAuth write rate limit max requests per session per window (default 3000)3000
MCP_PRODUCT_WRITE_RATE_LIMIT_WINDOW_MSNoWrite rate limit window in ms (default 60000)60000
MCP_PRODUCT_WRITE_RATE_LIMIT_MAX_REQUESTSNoWrite rate limit max requests per session per window (default 3000)3000

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/David-piex/codearts-mcp'

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