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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.py:123-138 (handler)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
- src/mcp_server_box.py:98-98 (registration)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)