MCP Python Server & Client
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_SERVER_PORT | No | Override server port (default: from settings.yaml) | |
| MCP_LOGGING_LEVEL | No | Override log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) | |
| MCP_TOOLS_WEATHER_API_KEY | No | Override weather API key (secrets should use env vars) | |
| MCP_SECURITY_RATE_LIMIT_PER_MINUTE | No | Override rate limit per minute |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| calculateA | Perform a mathematical calculation. Args: operation: The math operation (add, subtract, multiply, divide, power, sqrt, modulo) a: The first number b: The second number (not used for sqrt) Returns: The calculation result as a string |
| string_operationA | Perform a string manipulation operation. Args: operation: The string operation (reverse, count_words, uppercase, lowercase, title_case, count_chars, replace, truncate) text: The input text to operate on extra: Extra parameter (replacement text for 'replace', or max length for 'truncate') Returns: The operation result as a string |
| get_weatherA | Get current weather or forecast for a city. Args: city: The city name to get weather for forecast_days: Number of days for forecast (0 for current weather only, max 7) Returns: Weather information as a formatted string |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| code_review | Generate a code review prompt for AI-assisted review. Args: code: The source code to review language: Programming language (python, javascript, typescript, java, go, rust, etc.) focus_areas: Comma-separated focus areas (security, performance, readability, etc.) Returns: Structured prompt messages for code review |
| summarize_text | Generate a text summarization prompt. Args: text: The text content to summarize max_length: Maximum number of words in the summary (default 200) style: Summarization style (concise, detailed, executive, technical, casual) Returns: Structured prompt messages for summarization |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| list_files | List all available files that can be read. Returns: JSON array of available file paths |
| system_info | Get comprehensive system information. Returns: JSON object containing platform, Python, memory, disk, and CPU info |
| platform_info | Get platform and OS information only. Returns: JSON object containing platform details |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/saurabhherwadkar/ai-genai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server