mysql_index_suggestions
Exact ALTER TABLE ADD INDEX SQL for your MySQL table
How to use it
mysql_index_suggestions is exposed by the Infrawise MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the mysql_index_suggestions tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Infrawise
npx infrawise start --claudeOther tools in Infrawise (21)
Issues in a specific function — scans, missing indexes, N+1, trigger event shapes, missing IAM permissions; returns every same-named file as a separate match
API Gateway APIs (REST, HTTP, WebSocket) — routes, HTTP methods, paths, and Lambda integrations
ElastiCache clusters — engine, encryption in transit/at rest, replication group, failover, cost signal (data never read)
CloudFront distributions — per-behavior path patterns, origins (S3 vs custom, resolved API Gateway name), cache policy, viewer protocol policy
Cognito user pools — MFA config, app client auth flows, OAuth settings, token validity (secrets never included)
EventBridge rules — name, state, schedule/event pattern, target functions
Full infrastructure graph — all nodes, edges, and findings
Complete snapshot — services, counts, high-severity findings, configured flag (data age and per-source status ride the dataHealth block on every response)
Lambda functions — runtime, memory, timeout, execution role ARN, triggers (SQS/SNS/DynamoDB/Kinesis/MSK/EventBridge/S3), env var key names, cost signal
CloudWatch error patterns and counts (no raw log messages)
SSM Parameter Store — names, types, tiers (values never included)
SQS queues — DLQ status, encryption, FIFO type, visibility timeout, message counts
S3 buckets — versioning, encryption, public access, event notifications
Secrets Manager — names, rotation status, and key names inferred from code (values never included)
Stack outputs and cross-stack exports parsed from local IaC files, with staleness flags for orphaned cdk.out templates
Kinesis streams (shards, retention, capacity mode) and MSK clusters (state, Kafka version, brokers)
Column-level schema for named tables/collections — types, PKs, FKs, indexes, DynamoDB keys/billing mode, cost signal (no row data)
SNS topics — subscription counts, protocols, and filter policies (required message attributes per subscription)
Exact CREATE INDEX SQL for your actual table
Exact GSI config for a DynamoDB table + attribute — names the existing index instead when one already covers it
Exact createIndex command for a MongoDB collection + field