claude-agent-sdk-python icon indicating copy to clipboard operation
claude-agent-sdk-python copied to clipboard

Can we disable some tools of a mcp?

Open ivanberry opened this issue 1 month ago • 1 comments

            "xxx-maps": {
                "url": "https://mcp.map.baidu.com/mcp?ak=xxxxx",
                "type": "http",
                "tools": {
                    "map_reverse_geocde": False
                }
            }

what my problem is the map_reverse_geocde tool return data is huge to the LLM, so I want to disable it.

ivanberry avatar Oct 20 '25 04:10 ivanberry

+1 for the request, we'd like to disable some dangerous tool provided by mcp server

chenlujjj avatar Nov 07 '25 03:11 chenlujjj