MCP.so
登录

Simple MCP Server

@natapone

基本信息

分类

其他

传输方式

stdio

作者

natapone

关于 Simple MCP Server

Test Simple MCP server

Simple MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Simple MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is simple_mcp_server?

simple_mcp_server is a simple custom component for Langflow that provides datetime-related tools with timezone support. It allows users to get the current date, time, and week number in any IANA timezone.

How to use simple_mcp_server?

Copy the contents of langflow_component.py, open Langflow, click "+ Custom Component", paste the code into the editor, and click "Check & Save". Then instantiate DateTimeTools() and call get_current_datetime(timezone) or get_week_number(timezone) with a valid timezone identifier.

Key features of simple_mcp_server

  • Get current date and time with timezone support
  • Get current week number with timezone support
  • Simple error handling for invalid timezones
  • Supports all IANA Time Zone Database timezones
  • Minimal dependencies (pytz and built-in datetime)

Use cases of simple_mcp_server

  • Retrieve the current date and time in a specific timezone, e.g., "America/New_York"
  • Obtain the current week number for a given timezone for reporting or scheduling

常见问题

1

What timezones are supported?

All timezones available in the IANA Time Zone Database are supported, including UTC, America/New_York, Europe/London, and many others.

2

What dependencies are required?

The component requires the Python packages `pytz` and `datetime` (built-in). Ensure they are installed in your Langflow environment.

3

How does the component handle invalid timezones?

Invalid timezones will return an error message; for the week number function, it will return -1 on error.

评论

其他 分类下的更多 MCP 服务器