Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_MATH_HOST | No | Host to bind to for HTTP transport | 0.0.0.0 |
| MCP_MATH_PORT | No | Port to use for HTTP transport | 8000 |
| MCP_MATH_LOG_LEVEL | No | Logging level (DEBUG, INFO, WARNING, ERROR) | INFO |
| MCP_MATH_TRANSPORT | No | Transport type (http or stdio) | stdio |
| MCP_MATH_CACHE_SIZE | No | Size of the function result cache | 1000 |
| MCP_MATH_ENABLE_CORS | No | Enable CORS for HTTP transport | true |
| MCP_MATH_CACHE_STRATEGY | No | Caching strategy for function results | smart |
| MCP_MATH_DOMAIN_WHITELIST | No | Comma-separated list of allowed function domains | |
| MCP_MATH_FUNCTION_BLACKLIST | No | Comma-separated list of disabled functions | |
| MCP_MATH_COMPUTATION_TIMEOUT | No | Timeout for function computations in seconds | 30.0 |
| MCP_MATH_MAX_CONCURRENT_CALLS | No | Maximum number of concurrent function calls | 10 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |