Skip to main content
Glama

get_server_info

Retrieve Poetry MCP Server metadata and operational status to monitor system health and access server configuration details.

Instructions

Get server information and status.

Returns: Dictionary with server metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_server_info' tool, decorated with @mcp.tool() which registers it in the MCP server. It loads the config and returns a dictionary with server name, version, vault path, catalog loaded status, and total number of poems.
    @mcp.tool() async def get_server_info() -> dict: """ Get server information and status. Returns: Dictionary with server metadata """ config = load_config() return { "name": "poetry-mcp", "version": "0.1.0", "vault_path": str(config.vault.path), "catalog_loaded": catalog is not None, "total_poems": len(catalog.index.all_poems) if catalog else 0 }

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/james-livefront/poetry-mcp'

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