Tools
Time
Follow these steps to run an MCP server as a Meshagent cloud service and use its tools in a Meshagent room.
-
Install Meshagent Python SDK
-
Sign Up and Authenticate
- Visit the Meshagent CLI Getting Started Guide to sign up and configure CLI authentication.
-
Run the MCP Server in a Meshagent Room
- This command starts a Meshagent room named
test
with the MCP time server available as a tool. Rooms will close if they go inactive.
- This command starts a Meshagent room named
-
Start a Chatbot Connected to the Room with the Time Toolkit
- This command launches a chatbot agent in the
test
room with themcp-time
toolkit enabled. - Multiple toolkits can be specified and used by the same agent in a single room.
- A room link will be provided in the command output, which you can use to interact with the agent and the available tools.
- This command launches a chatbot agent in the
Tools Available
This MCP server exposes time and timezone conversion capabilities via the following tools.
Tools provided by this Server | Short Description |
---|---|
convert_time | Convert time between timezones |
get_current_time | Get current time in a specific timezone |
Tools Details
Tool: convert_time
Convert time between timezones
Parameters | Type | Description |
---|---|---|
source_timezone | string | Source IANA timezone name (e.g., ‘America/New_York’, ‘Europe/London’). Use ‘UTC’ as local timezone if no source timezone provided by the user. |
target_timezone | string | Target IANA timezone name (e.g., ‘Asia/Tokyo’, ‘America/San_Francisco’). Use ‘UTC’ as local timezone if no target timezone provided by the user. |
time | string | Time to convert in 24-hour format (HH:MM) |
Tool: get_current_time
Get current time in a specific timezone
Parameters | Type | Description |
---|---|---|
timezone | string | IANA timezone name (e.g., ‘America/New_York’, ‘Europe/London’). Use ‘UTC’ as local timezone if no timezone provided by the user. |
References and Links
- Meshagent: https://www.meshagent.com/
- Getting Started: https://docs.meshagent.com/room_api/get_started
- Room API Overview: https://docs.meshagent.com/room_api/overview
- Meshagent MCP Tool Image: https://hub.docker.com/r/meshagent/mcp-time