docs/sf/guides/mcp/tools.md
The Serverless MCP Server provides a comprehensive set of tools for working with cloud resources and services. These tools allow AI assistants to retrieve detailed information about your serverless applications and cloud infrastructure across multiple Infrastructure as Code (IaC) solutions.
list-projects
workspaceRoots (string[]): Array of root directories to search inuserConfirmed (boolean): Confirmation that user has approved the searchlist-resources
serviceName (string): Name of the serviceserviceType (string): Type of service ("serverless-framework", "terraform", "cloudformation")region (string, optional): AWS regionprofile (string, optional): AWS profile nameservice-summary
serviceType (string): Cloud service provider ('aws', 'gcp', 'azure')resources (array, optional): Array of resource objects with id and type. Not required if serviceWideAnalysis is true.serviceWideAnalysis (boolean, optional): Set to true to automatically fetch and analyze ALL resources in the serviceserviceName (string, optional): Required if serviceWideAnalysis is true. For Serverless Framework, use "serviceName-stageName" format. For CloudFormation, use the exact stack name.cloudProvider (string, optional): Required if serviceWideAnalysis is true. Specifies the cloud service provider ("aws")startTime (string, optional): Start time for metrics and logs (ISO date or timestamp)endTime (string, optional): End time for metrics and logs (ISO date or timestamp)period (number, optional): Period for metrics in seconds (min 60, must be a multiple of 60, default 3600)region (string, optional): AWS regionprofile (string, optional): AWS profile namedeployment-history
serviceName (string): Name of the serviceserviceType (string): Type of service ("serverless-framework", "cloudformation")endDate (string, optional): End date for deployment history (ISO format)region (string, optional): AWS regionprofile (string, optional): AWS profile namedocs
product (string): Product to get documentation for. Must be one of: sf, scfpaths (string[], optional): Array of document paths to retrieve multiple documents in a single request. Paths are relative to the product base directory. If not provided, lists all available documents.aws-lambda-info
functionNames (string[]): Array of Lambda function names or ARNsstartTime (string, optional): Start time for metrics and logs (ISO date or timestamp)endTime (string, optional): End time for metrics and logs (ISO date or timestamp)period (number, optional): Period for metrics in seconds (min 60, must be a multiple of 60, default 3600)region (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-iam-info
roleNames (string[]): Array of IAM role namesregion (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-sqs-info
queueNames (string[]): Array of SQS queue names or URLsstartTime (string, optional): Start time for metrics (ISO date or timestamp)endTime (string, optional): End time for metrics (ISO date or timestamp)period (number, optional): Period for metrics in seconds (min 60, must be a multiple of 60, default 3600)region (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-s3-info
bucketNames (string[]): Array of S3 bucket namesstartTime (string, optional): Start time for metrics (ISO date or timestamp)endTime (string, optional): End time for metrics (ISO date or timestamp)period (number, optional): Period for metrics in seconds (min 60, must be a multiple of 60, default 3600)region (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-rest-api-gateway-info
apiIds (string[]): Array of REST API Gateway API IDsstartTime (string, optional): Start time for metrics (ISO date or timestamp)endTime (string, optional): End time for metrics (ISO date or timestamp)period (number, optional): Period for metrics in seconds (min 60, must be a multiple of 60, default 3600)region (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-http-api-gateway-info
apiIds (string[]): Array of HTTP API Gateway API IDsstartTime (string, optional): Start time for metrics (ISO date or timestamp)endTime (string, optional): End time for metrics (ISO date or timestamp)period (number, optional): Period for metrics in seconds (min 60, must be a multiple of 60, default 3600)region (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-dynamodb-info
tableNames (string[]): Array of DynamoDB table namesstartTime (string, optional): Start time for metrics (ISO date or timestamp)endTime (string, optional): End time for metrics (ISO date or timestamp)period (number, optional): Period for metrics in seconds (min 60, must be a multiple of 60, default 3600)region (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-logs-search
logGroupIdentifiers (string[]): Array of CloudWatch Log Group names or ARNssearchTerms (string, optional): Search terms to filter logsstartTime (string, optional): Start time for logs (ISO date or timestamp)endTime (string, optional): End time for logs (ISO date or timestamp)limit (number, optional): Maximum number of log events to retrieve per log groupregion (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-logs-tail
logGroupIdentifiers (string[]): Array of CloudWatch Log Group names or ARNsfilterPattern (string, optional): Pattern to filter logs bystartTime (string, optional): Start time for logs (ISO date or timestamp)endTime (string, optional): End time for logs (ISO date or timestamp)limit (number, optional): Maximum number of log events to retrieve per log groupregion (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-cloudwatch-alarms
alarmNames (string[], optional): Array of CloudWatch alarm namesalarmNamePrefix (string, optional): Prefix to filter CloudWatch alarms by namealarmState (string, optional): State to filter alarms by ("OK", "ALARM", "INSUFFICIENT_DATA", "all")startDate (string, optional): Start date for alarm history (ISO date or timestamp)endDate (string, optional): End date for alarm history (ISO date or timestamp)region (string, optional): AWS regionprofile (string, optional): AWS profile nameaws-errors-info
startTime (string, optional): Start time for logs (ISO date or timestamp)endTime (string, optional): End time for logs (ISO date or timestamp)logGroupIdentifiers (string[], optional): Array of CloudWatch Log Group names/ARNsserviceWideAnalysis (boolean, optional): Flag to analyze all logs for a serviceserviceName (string, optional): Required if serviceWideAnalysis is trueserviceType (string, optional): Required if serviceWideAnalysis is true ("serverless-framework" or "cloudformation")maxResults (number, optional): Limit for the number of error groups to returnconfirmationToken (string, optional): Required for timeframes longer than 3 hoursregion (string, optional): AWS regionprofile (string, optional): AWS profile name