Skip to main content
Glama

server_info

Retrieve server information to monitor system status and configuration details for the MCP-BOS framework.

Instructions

获取服务器信息

Args: ctx: MCP上下文

Returns: dict: 服务器信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The server_info tool handler function that returns server name, version, and list of loaded modules using config and registry.
    def server_info(ctx: Context) -> dict: """ 获取服务器信息 Args: ctx: MCP上下文 Returns: dict: 服务器信息 """ global_config = self.config_manager.get_global_config() return { "name": global_config.get('server_name', 'MCP Server'), "version": "1.0.0", "modules": self.registry.list_modules() }
  • core/server.py:72-72 (registration)
    The @self.server.tool() decorator registers the server_info function as an MCP tool.
    @self.server.tool()
Install Server

Other Tools

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/gooboot/MCP-BOS'

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