Removing a Tool Association from an MCP Server
Using HasMCP UI
When an AI agent no longer needs an execution capability, it’s best practice to explicitly sever the integration for security reasons.
- Locate the specific MCP server on the dashboard.
- Open its Tools tab.
- Find the tool you wish to revoke in the active list.
- Click its Remove Tool (Delete) action.
- Confirm the action in the validation modal.
Crucial Detail: Clicking “Remove Tool” within a server’s dashboard only severs the association link between the server and the tool. It does not delete the underlying tool definition from the parent Provider catalog.
Using REST API
To procedurally enforce least-privilege principles by revoking a tool programmatically, you command the manager to destroy the mapping linkage.The API Endpoint
DELETE /servers/{serverId}/tools/{toolId}
You must map both the 11-character {serverId} housing the capability and the exact {toolId} to be expunged.
Actioning the Deletion
204 No Content code. The server’s MCP clients will immediately cease returning the tool in standardized tools/list interactions.