effective_server_capabilities#
- scikitplot.mcp.effective_server_capabilities(*, document_reader_enabled=False, transport='stdio', health_path='/healthz')[source]#
Return the effective surface for a specific server configuration.
Unlike
server_capabilities(which lists potential capabilities), this reflects exactly whatscikitplot.mcp.create_serverwould register for the given options, so--list-capabilitiesand the running server never disagree. Still SDK-free (nomcp/pydanticimport).- Parameters:
- document_reader_enabledbool
Whether a
document_readeris supplied. Thedocs://chunk/{doc_id}resource is included only when this isTrue(matchescreate_server).- transportstr
The configured transport (
"stdio"or"streamable-http").- health_pathstr or None
The HTTP health route, included only for
streamable-httpwhen set.
- Returns:
- dict
{"kind": "effective", "server", "effect_class", "transport", "tools", "resources", "health"}— the configured surface only.
- Parameters:
- Return type: