tg-delete-mcp-tool

Removes MCP (Model Context Protocol) tool configurations from TrustGraph.

Synopsis

tg-delete-mcp-tool --id ID [options]

Description

The tg-delete-mcp-tool command permanently deletes an MCP tool configuration by ID. Once deleted, the MCP tool will no longer be available for use by agent tools.

Note: This command deletes MCP tool configurations (stored in ‘mcp’ configuration group). Agent tools that reference MCP tools are managed separately with tg-delete-tool.

Options

Required Arguments

Option Description
--id ID ID of the MCP tool to delete (case-sensitive)

Optional Arguments

Option Default Description
-u, --api-url URL $TRUSTGRAPH_URL or http://localhost:8088/ TrustGraph API URL
-t, --token TOKEN $TRUSTGRAPH_TOKEN Authentication token

Examples

Delete MCP Tool

tg-delete-mcp-tool --id weather

Delete From Remote Instance

tg-delete-mcp-tool -u http://trustgraph.example.com:8088/ --id calculator

Environment Variables

  • TRUSTGRAPH_URL: Default API URL
  • TRUSTGRAPH_TOKEN: Default authentication token

API Integration

This command uses the Configuration API to delete MCP tool definitions from the ‘mcp’ configuration group.