Skip to content

Create resource schema#2

Merged
rambleraptor merged 5 commits intomainfrom
schema
Apr 19, 2025
Merged

Create resource schema#2
rambleraptor merged 5 commits intomainfrom
schema

Conversation

@rambleraptor
Copy link
Copy Markdown
Member

@rambleraptor rambleraptor commented Apr 17, 2025

This adds some code to create the resource schema using zod. Each AEP resource will be exposed as a MCP resource (read-only) and a MCP tool (write-only). The tools take in a zod schema, which corresponds to the resource definition (thanks AEP!). This schema is way simpler than the Terraform schema.

I had to make this codebase a module, so there's a bunch of stray changes on imports + type issues. I can split those out if need be.

The MCP Inspector (UI to help debug the server) is showing a bunch of resources with nice schemas!
Screenshot 2025-04-16 at 9 28 07 PM

@rambleraptor rambleraptor merged commit 9ae4c0a into main Apr 19, 2025
1 check 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.

1 participant