server_info
Retrieve server information and status from the Redmine MCP Server, enabling users to monitor and manage project operations effectively.
Instructions
取得服務器資訊和狀態
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"title": "server_infoArguments",
"type": "object"
}
Implementation Reference
- src/redmine_mcp/server.py:22-29 (handler)The server_info tool handler implementation. This function is decorated with @mcp.tool(), which both defines the tool logic and registers it with the FastMCP server. It returns formatted server configuration information including Redmine domain, debug mode, and API timeout.@mcp.tool() def server_info() -> str: """取得服務器資訊和狀態""" config = get_config() return f"""Redmine MCP 服務器已啟動 - Redmine 網域: {config.redmine_domain} - 除錯模式: {config.debug_mode} - API 逾時: {config.redmine_timeout}秒"""