Skip to main content
Glama

health_check

Monitor server functionality by performing system health checks to ensure smooth operation and detect any issues in the Redmine MCP Server environment.

Instructions

健康檢查工具,確認服務器正常運作

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "title": "health_checkArguments", "type": "object" }

Implementation Reference

  • The health_check tool handler: a FastMCP tool that checks Redmine server connectivity using get_client().test_connection() and returns a status message indicating success or failure.
    @mcp.tool() def health_check() -> str: """健康檢查工具,確認服務器正常運作""" try: config = get_config() client = get_client() # 測試連線 if client.test_connection(): return f"✓ 服務器正常運作,已連接到 {config.redmine_domain}" else: return f"✗ 無法連接到 Redmine 服務器: {config.redmine_domain}" except Exception as e: return f"✗ 服務器異常: {str(e)}"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/snowild/redmine-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server