simple_agent_api_tool
Test Simple MCP server
Documentation
DateTime Tools for Langflow
A simple custom component for Langflow that provides datetime-related tools with timezone support.
Features
- Get current date and time with timezone support
- Get current week number with timezone support
- Simple error handling for invalid timezones
Installation
1. Copy the contents of `langflow_component.py`
2. Open Langflow
3. Click "+ Custom Component"
4. Paste the code into the editor
5. Click "Check & Save"
Usage
Get Current DateTime
datetime_tools = DateTimeTools()
current_time = datetime_tools.get_current_datetime("America/New_York")
# Returns: "2024-03-20T10:30:00-04:00"Get Week Number
datetime_tools = DateTimeTools()
week_num = datetime_tools.get_week_number("America/New_York")
# Returns: 12Timezone Support
The component supports all timezones available in the IANA Time Zone Database. Common timezone identifiers include:
- UTC
- America/New_York
- America/Los_Angeles
- Europe/London
- Asia/Tokyo
- Australia/Sydney
For a complete list of supported timezones, refer to the IANA Time Zone Database.
Error Handling
- Invalid timezones will return an error message
- Week number will return -1 for invalid timezones or errors
Dependencies
The component requires the following Python packages:
- pytz
- datetime (built-in)
Make sure these are installed in your Langflow environment.
Frequently asked questions
What is simple_agent_api_tool?
simple_agent_api_tool is Test Simple MCP server
How do I install simple_agent_api_tool?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is simple_agent_api_tool open source?
Yes — it is hosted on GitHub at https://github.com/natapone/simple_mcp_server.
Related MCP tools
AWS MCP Servers — helping you get the most out of AWS, wherever you use MCP. Python-based implementation. Trusted by 6900+ developers.
A simple, secure MCP-to-OpenAPI proxy server Python-based implementation. Trusted by 3500+ developers. Trusted by 3500+ developers.
MCP server that interacts with Obsidian via the Obsidian rest API community plugin Python-based implementation. Trusted by 2300+ developers.
Default Configuration: MCP CLI defaults to using Ollama with the gpt-oss reasoning model for local, privacy-focused operation without requiring API keys.
Official MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP server for long term agent memory with Mem0. Also useful as a template to get you started building your own MCP server with Python!
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP