mcp-ai-agent-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NEWS_API_KEY | Yes | Your News API key | |
| OPENAI_API_KEY | Yes | Your OpenAI API key | |
| OPENWEATHER_API_KEY | Yes | Your OpenWeather API key |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_weatherA | Get current weather for a location. Args: location: City name or "City, Country Code" Returns: Dictionary with weather information |
| fetch_newsC | Fetch news articles on a topic. Args: topic: Search query/topic limit: Number of articles to return language: Language code (default: en) Returns: Dictionary with news articles |
| create_fileC | Create a new file with content. Args: path: File path (relative to data directory) content: File content Returns: Result dictionary |
| read_fileB | Read file content. Args: path: File path (relative to data directory) Returns: File content and metadata |
| delete_fileB | Delete a file. Args: path: File path (relative to data directory) Returns: Result dictionary |
| search_filesB | Search for files matching a pattern. Args: directory: Directory to search (relative to data directory) pattern: Glob pattern (e.g., ".txt", "data_") Returns: List of matching files |
| list_directoryB | List contents of a directory. Args: directory: Directory path (relative to data directory) Returns: Directory contents |
| update_fileC | Update existing file content. |
| retrieve_current_working_directoryA | Retrieve the current working directory used as the base data path. This directory serves as the root location for all tools or operations that require file paths, relative directories, or working directory references. Returns: Result Working Directory Path dictionary |
| fetch_webpageB | Fetch content from a webpage. Args: url: URL to fetch extract_text: If True, extract and clean text content Returns: Webpage content and metadata |
| calculateA | Evaluate a mathematical expression safely. Args: expression: Mathematical expression (e.g., "2 + 2", "sqrt(16)") Returns: Calculation result |
| convert_unitsA | Convert between units. Args: value: Numeric value to convert from_unit: Unit to convert from to_unit: Unit to convert to Supported conversions:
|
| execute_commandA | Execute an arbitrary shell command with full control over execution context.
This method allows running simple commands (e.g., Args: command (str): Command to execute (any valid shell command) cwd (str, optional): Relative Working directory (defaults to data directory) timeout (int, optional): Command timeout in seconds Returns: Result dictionary with stdout, stderr, and return code |
| store_memoryA | Store one or more key–value pairs in persistent memory. This method updates the existing memory store with the provided key–value pairs. If a key already exists, its value will be overwritten. Args: input_data (Dict[str, Any]): A dictionary containing one or more key–value pairs to be stored. Returns: Dict[str, Any]: A result dictionary indicating success and listing the stored items. |
| forget_memoryA | Remove one or all items from persistent memory. If the input key is Args:
input_data (Dict[str, Any]):
A dictionary containing a single key Returns: Dict[str, Any]: A result dictionary indicating success, failure, or whether the requested key was not found. |
| retrieve_memoryB | Retrieve the entire memory store. Returns: Any: The complete memory store as a dictionary. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Agent Stored Memories | Access to all user stored memories |
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/elcaiseri/mcp-ai-agent-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server