Skip to main content
Glama

ESA MCP Server

by aliyun
deployments.ts1.01 kB
import { CallToolRequest, Tool } from '@modelcontextprotocol/sdk/types.js'; import api from '../../utils/service.js'; import { DeleteRoutineCodeVersionRequest } from '@alicloud/esa20240910'; export const DEPLOYMENT_DELETE_TOOL: Tool = { name: 'deployment_delete', description: 'Delete a specified code version associated with an Edge Routine (ER).', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'The name of the deployment to delete', }, codeVersion: { type: 'string', description: 'The version of the code to delete', }, }, required: ['name', 'codeVersion'], }, }; export const deployment_delete = async (request: CallToolRequest) => { const res = await api.deleteRoutineCodeVersion( request.params.arguments as DeleteRoutineCodeVersionRequest, ); return { content: [ { type: 'text', text: JSON.stringify(res), }, ], success: true, }; };

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/aliyun/mcp-server-esa'

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