Skip to content

Seed data export/import composability #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks
toby opened this issue May 12, 2025 · 0 comments
Open
3 tasks

Seed data export/import composability #38

toby opened this issue May 12, 2025 · 0 comments
Labels
enhancement New feature or request not go-live blocker This issue has been reviewed and determined to not be a blocker to go-live

Comments

@toby
Copy link
Collaborator

toby commented May 12, 2025

We currently import the seed.json when the MCP_REGISTRY_SEED_FILE_PATH environment variable is set and MCP_REGISTRY_SEED_IMPORT=true.

The registry should expose this file at a publicly accessible endpoint and allow for importing it from a http based location. That way you can start a new instance of the registry, point it at an existing registry, and have the new registry import all of the MCP servers from the original registry. The seed.json endpoint should expose the data in the exact same format as needed for the import. We can continue to allow the seed file to be imported from the filesystem.

We can also use this as an opportunity to clean up the UX around importing a bit.

  • Create a /v0/seed.json endpoint that returns a full list of servers in the seed format
  • Remove the MCP_REGISTRY_SEED_IMPORT env var and instead import if the MCP_REGISTRY_SEED_FILE_PATH is set
  • Add a --seed-file-path flag that does the same thing as the MCP_REGISTRY_SEED_FILE_PATH env var
@toby toby added the enhancement New feature or request label May 12, 2025
@tadasant tadasant added the not go-live blocker This issue has been reviewed and determined to not be a blocker to go-live label May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not go-live blocker This issue has been reviewed and determined to not be a blocker to go-live
Projects
None yet
Development

No branches or pull requests

2 participants