Skip to main content
Glama

Enkrypt AI MCP Server

Official
by enkryptai

remove_deployment

Delete a specified deployment by its name to manage resources effectively. Returns details of the removed deployment for tracking and verification.

Instructions

Remove an existing deployment.

Args: deployment_name: The name of the deployment to remove.

Returns: A dictionary containing the response message and details of the deleted deployment.

Input Schema

NameRequiredDescriptionDefault
deployment_nameYes

Input Schema (JSON Schema)

{ "properties": { "deployment_name": { "title": "Deployment Name", "type": "string" } }, "required": [ "deployment_name" ], "title": "remove_deploymentArguments", "type": "object" }

Implementation Reference

  • Registers the remove_deployment tool using the MCP decorator.
    @mcp.tool()
  • The handler function that implements the logic to remove a deployment by calling deployment_client.delete_deployment and returning the response as a dictionary.
    def remove_deployment(deployment_name: str) -> Dict[str, Any]: """ Remove an existing deployment. Args: deployment_name: The name of the deployment to remove. Returns: A dictionary containing the response message and details of the deleted deployment. """ # Remove the deployment delete_deployment_response = deployment_client.delete_deployment(deployment_name=deployment_name) # Return the response as a dictionary return delete_deployment_response.to_dict()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/enkryptai/enkryptai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server