Skip to main content
Glama

MCP Math Server

by chrishayuk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_MATH_HOSTNoHost to bind to for HTTP transport0.0.0.0
MCP_MATH_PORTNoPort to use for HTTP transport8000
MCP_MATH_LOG_LEVELNoLogging level (DEBUG, INFO, WARNING, ERROR)INFO
MCP_MATH_TRANSPORTNoTransport type (http or stdio)stdio
MCP_MATH_CACHE_SIZENoSize of the function result cache1000
MCP_MATH_ENABLE_CORSNoEnable CORS for HTTP transporttrue
MCP_MATH_CACHE_STRATEGYNoCaching strategy for function resultssmart
MCP_MATH_DOMAIN_WHITELISTNoComma-separated list of allowed function domains
MCP_MATH_FUNCTION_BLACKLISTNoComma-separated list of disabled functions
MCP_MATH_COMPUTATION_TIMEOUTNoTimeout for function computations in seconds30.0
MCP_MATH_MAX_CONCURRENT_CALLSNoMaximum number of concurrent function calls10

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/chrishayuk/chuk-mcp-math-server'

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