Skip to content

New MCP Tool: Application Inspector#28

Merged
HarshCasper merged 4 commits intomainfrom
feat/app-inspector-tool
Apr 29, 2026
Merged

New MCP Tool: Application Inspector#28
HarshCasper merged 4 commits intomainfrom
feat/app-inspector-tool

Conversation

@sheltongraves
Copy link
Copy Markdown
Contributor

@sheltongraves sheltongraves commented Apr 29, 2026

Summary

  • Adds a new localstack-app-inspector MCP tool for querying and managing App Inspector data
  • Supports the full surface of the App Inspector API: status management, traces, spans, and events (including IAM policy evaluations)
  • Registered the new tool in manifest.json

Actions supported

Action Description
get-status Get current App Inspector enabled/disabled state
set-status Enable or disable App Inspector
list-traces List traces with optional filters (service, region, account, operation, resource, ARN)
get-trace Get a single trace by ID
delete-traces Delete specific traces or all traces
list-spans List spans within a trace
get-span Get a single span by trace ID + span ID
delete-spans Delete specific spans or all spans in a trace
list-events List events for a span
list-iam-events List IAM policy evaluation events for a span

All list actions support pagination (limit, pagination_token) and common filters.

Test plan

  • Start LocalStack with App Inspector available
  • Verify get-status returns current state
  • Enable App Inspector via set-status and confirm state change
  • Run some AWS operations and verify traces appear via list-traces
  • Drill into a trace with list-spans and get-span
  • Verify list-events and list-iam-events return events for a span
  • Test delete actions (spans, traces)
  • Verify 403 error returns a helpful "enable App Inspector" message

🤖 Generated with Claude Code

@HarshCasper HarshCasper changed the title add localstack-app-inspector tool New MCP Tool: Application Inspector Apr 29, 2026
Adds a new MCP tool for querying and managing App Inspector traces,
spans, and events. Supports get/set status, list/get/delete traces,
list/get/delete spans, and list events including IAM policy evaluations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@HarshCasper HarshCasper force-pushed the feat/app-inspector-tool branch from d0000cb to 011d924 Compare April 29, 2026 16:32
Copy link
Copy Markdown
Member

@HarshCasper HarshCasper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made a few changes over the PR to add Pro feature preflight, analytics coverage, testsm README/server metadata, proper schema guidance for LLMs, MCP direct expected-tool entry, amongst others. This is now ready to ship 🚀

@HarshCasper HarshCasper merged commit c21f660 into main Apr 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants