get_mcp_config
Retrieve the current MCP configuration to inspect server settings and parameters for the Meraki environment.
Instructions
Get MCP configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- meraki-mcp-dynamic.py:649-670 (handler)The 'get_mcp_config' tool handler function, decorated with @mcp.tool(). Returns a JSON string describing the MCP configuration including mode, pre-registered tools, generic API caller info, and runtime settings (read-only mode, caching, max tokens, etc.).
@mcp.tool() async def get_mcp_config() -> str: """Get MCP configuration""" return json.dumps({ "mode": "hybrid", "description": "12 pre-registered tools + call_meraki_api for full API access", "pre_registered_tools": ["getOrganizations", "getOrganizationAdmins", "getOrganizationNetworks", "getOrganizationDevices", "getNetwork", "getNetworkClients", "getNetworkEvents", "getNetworkDevices", "getDevice", "getNetworkWirelessSsids", "getDeviceSwitchPorts", "updateDeviceSwitchPort"], "generic_caller": "call_meraki_api - access all 804+ methods", "total_available_methods": "804+", "read_only_mode": READ_ONLY_MODE, "caching_enabled": ENABLE_CACHING, "cache_ttl_seconds": CACHE_TTL_SECONDS, "file_caching_enabled": ENABLE_FILE_CACHING, "max_response_tokens": MAX_RESPONSE_TOKENS, "max_per_page": MAX_PER_PAGE, "response_cache_dir": RESPONSE_CACHE_DIR, "organization_id_configured": bool(MERAKI_ORG_ID), "api_key_configured": bool(MERAKI_API_KEY) }, indent=2) - meraki-mcp-dynamic.py:649-649 (registration)The tool is registered as an MCP tool via the @mcp.tool() decorator on line 649, where 'mcp' is a FastMCP instance created on line 30.
@mcp.tool()