Skip to main content
Glama

get_server_configuration_status

Check server status and configuration remotely without establishing a connection. Verify if the Couchbase MCP Server is operational and validate its setup.

Instructions

Get the server status and configuration without establishing connection. This tool can be used to verify if the server is running and check the configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'get_server_configuration_status' tool. Retrieves configuration settings, sanitizes sensitive info, checks app context for cluster connection, and returns structured status dictionary.
    def get_server_configuration_status(ctx: Context) -> dict[str, Any]: """Get the server status and configuration without establishing connection. This tool can be used to verify if the server is running and check the configuration. """ settings = get_settings() # Don't expose sensitive information like passwords configuration = { "connection_string": settings.get("connection_string", "Not set"), "username": settings.get("username", "Not set"), "read_only_query_mode": settings.get("read_only_query_mode", True), "password_configured": bool(settings.get("password")), "ca_cert_path_configured": bool(settings.get("ca_cert_path")), "client_cert_path_configured": bool(settings.get("client_cert_path")), "client_key_path_configured": bool(settings.get("client_key_path")), } app_context = ctx.request_context.lifespan_context connection_status = { "cluster_connected": app_context.cluster is not None, } return { "server_name": MCP_SERVER_NAME, "status": "running", "configuration": configuration, "connections": connection_status, }
  • Registers the 'get_server_configuration_status' tool (along with others from ALL_TOOLS) to the FastMCP server instance using add_tool.
    # Register all tools for tool in ALL_TOOLS: mcp.add_tool(tool)
  • Imports the get_server_configuration_status handler from server.py into the tools.__init__.py for package-level exposure.
    from .server import ( get_buckets_in_cluster, get_cluster_health_and_services, get_collections_in_scope, get_scopes_and_collections_in_bucket, get_scopes_in_bucket, get_server_configuration_status, test_cluster_connection, )
  • Includes the get_server_configuration_status tool in the ALL_TOOLS list used for bulk registration.
    get_server_configuration_status,

Other Tools

Related 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/Couchbase-Ecosystem/mcp-server-couchbase'

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