Skip to main content
Glama

mcp_server_info

Fetch detailed server information from the MCP Server Box, enabling users to retrieve essential data for file management, text extraction, and API-based operations.

Instructions

Returns information about the MCP server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The mcp_server_info tool handler decorated with @mcp.tool(), returning server configuration and version information.
    @mcp.tool() def mcp_server_info(): """Returns information about the MCP server.""" info = { "server_name": mcp.name, "version": get_version(), "transport": config.transport, "mcp auth": config.mcp_auth_type, "box auth": config.box_auth, } if config.transport != TransportType.STDIO.value: info["host"] = config.host info["port"] = str(config.port) return info
  • Invocation of create_server_info_tool(mcp, config=app_config.server) which defines and registers the mcp_server_info tool.
    create_server_info_tool(mcp, config=app_config.server)

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/box-community/mcp-server-box'

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