Skip to content

Conversation

@Sean-Kenneth-Doherty
Copy link

Summary

Adds a time_ prefix to the Time MCP server tool names for consistency with other MCP servers:

  • get_current_timetime_get_current
  • convert_timetime_convert

Motivation

This follows the naming convention used by other MCP servers (e.g., git_status, git_commit, git_diff) and makes it easier to identify related tools when multiple MCP servers are registered with a client.

As noted in issue #3201, users integrating multiple MCP servers see tool names like:

  • MCP_DOCKER_convert_time
  • MCP_DOCKER_get_current_time

With this change, the tools become:

  • MCP_DOCKER_time_get_current
  • MCP_DOCKER_time_convert

This makes it immediately clear these tools belong to the Time server.

Changes

  • Updated tool name enum values in server.py
  • Updated README documentation and examples

Breaking Change Notice

⚠️ This is a breaking change for existing users of the Time MCP server. Any automation or configuration referencing the old tool names (get_current_time, convert_time) will need to be updated.

Closes #3201

Adds 'time_' prefix to the Time MCP server tool names:
- get_current_time → time_get_current
- convert_time → time_convert

This follows the naming convention used by other MCP servers (e.g., git_status,
git_commit) and makes it easier to identify related tools when multiple MCP
servers are registered.

Closes modelcontextprotocol#3201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Unify the names of the Time MCP server tools

1 participant