You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`MCP_REGISTRY_SEED_FILE_PATH`| Path to import seed file |`data/seed.json`|
417
-
|`MCP_REGISTRY_SEED_IMPORT`| Import `seed.json` on first run |`true`|
500
+
|`MCP_REGISTRY_SEED_FILE_PATH`| Path or URL to import seed file (supports local files and HTTP URLs) |`data/seed.json`|
418
501
|`MCP_REGISTRY_SERVER_ADDRESS`| Listen address for the server |`:8080`|
419
502
503
+
### Command Line Flags
504
+
505
+
Command line flags take precedence over environment variables:
506
+
507
+
| Flag | Description | Environment Variable |
508
+
|------|-------------|---------------------|
509
+
|`--seed-file-path`| Path or URL to import seed file |`MCP_REGISTRY_SEED_FILE_PATH`|
510
+
511
+
## Registry Composability
512
+
513
+
The MCP Registry supports composability through seed data export/import functionality, enabling registry instances to share data with each other via HTTP endpoints.
514
+
515
+
### Use Cases
516
+
517
+
1.**Distributed Registries**: Set up multiple registry instances that share a common dataset
518
+
2.**Registry Synchronization**: Import data from a central registry to local instances
519
+
3.**Development Environments**: Import production data to development instances
520
+
4.**Registry Migration**: Move data between different registry deployments
521
+
522
+
### Export Seed Data
523
+
524
+
Any registry instance can export its complete dataset:
This enables true composability where registry instances can be distributed and synchronized, with new instances importing data from existing ones via HTTP.
568
+
569
+
570
+
## Testing
571
+
572
+
Run the test script to validate API endpoints:
573
+
574
+
```bash
575
+
./scripts/test_endpoints.sh
576
+
```
577
+
578
+
You can specify specific endpoints to test:
579
+
580
+
```bash
581
+
./scripts/test_endpoints.sh --endpoint health
582
+
./scripts/test_endpoints.sh --endpoint servers
583
+
```
584
+
585
+
>>>>>>> cf595b5 (Fix linting errors and update README with seed data composability features)
0 commit comments