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
420
503
## Pre-built Docker Images
@@ -435,6 +518,90 @@ docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main-20250806-a1b2
435
518
436
519
**Configuration:** The Docker images support all environment variables listed in the [Configuration](#configuration) section. For production deployments, you'll need to configure the database connection and other settings via environment variables.
437
520
521
+
### Command Line Flags
522
+
523
+
Command line flags take precedence over environment variables:
524
+
525
+
| Flag | Description | Environment Variable |
526
+
|------|-------------|---------------------|
527
+
|`--seed-file-path`| Path or URL to import seed file |`MCP_REGISTRY_SEED_FILE_PATH`|
528
+
529
+
## Registry Composability
530
+
531
+
The MCP Registry supports composability through seed data export/import functionality, enabling registry instances to share data with each other via HTTP endpoints.
532
+
533
+
### Use Cases
534
+
535
+
1.**Distributed Registries**: Set up multiple registry instances that share a common dataset
536
+
2.**Registry Synchronization**: Import data from a central registry to local instances
537
+
3.**Development Environments**: Import production data to development instances
538
+
4.**Registry Migration**: Move data between different registry deployments
539
+
540
+
### Export Seed Data
541
+
542
+
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.
586
+
587
+
588
+
## Testing
589
+
590
+
Run the test script to validate API endpoints:
591
+
592
+
```bash
593
+
./scripts/test_endpoints.sh
594
+
```
595
+
596
+
You can specify specific endpoints to test:
597
+
598
+
```bash
599
+
./scripts/test_endpoints.sh --endpoint health
600
+
./scripts/test_endpoints.sh --endpoint servers
601
+
```
602
+
603
+
>>>>>>> cf595b5 (Fix linting errors and update README with seed data composability features)
604
+
>>>>>>> 3b4643f (feat: allow registries to bootstrap server list from another registry)
0 commit comments