Skip to main content
Glama
code-alchemist01

MCP Cloud Services Server

check_encryption

Verify encryption status of cloud storage, databases, and instances across AWS, Azure, and GCP to ensure data security compliance.

Instructions

Check encryption status of cloud resources

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider
resourceIdYesResource ID to check
resourceTypeYesResource type

Implementation Reference

  • Handler function for the 'check_encryption' tool within the handleSecurityTool switch statement. Returns a static response indicating the resource is unencrypted.
    case 'check_encryption': { const resourceId = params.resourceId as string; const resourceType = params.resourceType as string; return { provider, resourceId, resourceType, encrypted: false, encryptionType: 'none', recommendation: 'Enable encryption for this resource', }; }
  • Input schema definition for the 'check_encryption' tool, specifying parameters like provider, resourceId, and resourceType.
    inputSchema: { type: 'object', properties: { provider: { type: 'string', enum: ['aws', 'azure', 'gcp'], description: 'Cloud provider', }, resourceId: { type: 'string', description: 'Resource ID to check', }, resourceType: { type: 'string', enum: ['storage', 'database', 'instance'], description: 'Resource type', }, }, required: ['provider', 'resourceId', 'resourceType'], },
  • Registration of the 'check_encryption' tool in the securityTools array, including name, description, and schema.
    { name: 'check_encryption', description: 'Check encryption status of cloud resources', inputSchema: { type: 'object', properties: { provider: { type: 'string', enum: ['aws', 'azure', 'gcp'], description: 'Cloud provider', }, resourceId: { type: 'string', description: 'Resource ID to check', }, resourceType: { type: 'string', enum: ['storage', 'database', 'instance'], description: 'Resource type', }, }, required: ['provider', 'resourceId', 'resourceType'], }, },
  • src/server.ts:76-77 (registration)
    Registration and dispatching logic in the main server handler that routes calls to security tools, including 'check_encryption', to handleSecurityTool.
    } else if (securityTools.some((t) => t.name === name)) { result = await handleSecurityTool(name, args || {});
  • src/server.ts:26-26 (registration)
    Inclusion of securityTools (containing 'check_encryption') into the allTools array used for listing available tools.
    ...securityTools,

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/code-alchemist01/Cloud-mcp_server'

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