Skip to content

Commit c69542e

Browse files
committed
chore: pr feedback clean up
1 parent c94bdda commit c69542e

File tree

3 files changed

+4
-38
lines changed

3 files changed

+4
-38
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ jobs:
2323
with:
2424
go-version: ${{ env.GO_VERSION }}
2525

26-
- name: Cleanup Go module cache
27-
run: sudo rm -rf ~/go/pkg/mod
28-
29-
- name: Cleanup cache
30-
run: sudo rm -rf ~/.cache
31-
3226
- name: Cache Go modules
3327
uses: actions/cache@v4
3428
with:
@@ -47,7 +41,7 @@ jobs:
4741
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.3.1
4842
4943
- name: Run lint
50-
run: echo "$(golangci-lint --version) " && make lint
44+
run: make lint
5145

5246
- name: Validate schemas and examples
5347
run: make validate

README.md

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ The MCP Registry service provides a centralized repository for MCP server entrie
2727
- MongoDB and in-memory database support
2828
- Comprehensive API documentation
2929
- Pagination support for listing registry entries
30-
- **Seed data export/import composability with HTTP support**
31-
- **Registry instance data sharing via HTTP endpoints**
30+
- Seed data export/import composability with HTTP support
31+
- Registry instance data sharing via HTTP endpoints
3232

3333
## Getting Started
3434

@@ -61,21 +61,12 @@ The registry supports composability through seed data import/export, allowing re
6161

6262
```bash
6363
# Start first registry with seed data
64-
MCP_REGISTRY_SEED_FILE_PATH=data/seed_2025_05_16.json ./registry
64+
MCP_REGISTRY_SEED_FILE_PATH=data/seed.json ./registry
6565

6666
# Start second registry importing from first via HTTP
6767
./registry --seed-file-path=http://localhost:8080/v0/seed.json
6868
```
6969

70-
You can also use environment variables:
71-
```bash
72-
# Import from local file
73-
MCP_REGISTRY_SEED_FILE_PATH=data/seed_2025_05_16.json ./registry
74-
75-
# Import from remote registry
76-
MCP_REGISTRY_SEED_FILE_PATH=http://other-registry:8080/v0/seed.json ./registry
77-
```
78-
7970
## Building
8071

8172
If you prefer to run the service locally without Docker, you can build and run it directly:
@@ -101,20 +92,6 @@ To build the CLI tool for publishing MCP servers to the registry:
10192
make publisher
10293
```
10394

104-
### Command Line Options
105-
106-
The registry supports command line flags for configuration:
107-
108-
```bash
109-
# Specify seed file path via command line flag
110-
./registry --seed-file-path=data/seed_2025_05_16.json
111-
112-
# Import from HTTP endpoint
113-
./registry --seed-file-path=http://localhost:8080/v0/seed.json
114-
```
115-
116-
Command line flags take precedence over environment variables.
117-
11895
## Development
11996

12097
### Available Make Targets
@@ -582,9 +559,6 @@ curl http://localhost:8080/v0/servers | jq '.servers | length'
582559
curl http://localhost:8081/v0/servers | jq '.servers | length'
583560
```
584561

585-
This enables true composability where registry instances can be distributed and synchronized, with new instances importing data from existing ones via HTTP.
586-
587-
588562
## Testing
589563

590564
Run the test script to validate API endpoints:
@@ -600,8 +574,6 @@ You can specify specific endpoints to test:
600574
./scripts/test_endpoints.sh --endpoint servers
601575
```
602576

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)
605577
## License
606578

607579
See the [LICENSE](LICENSE) file for details.

v0.test

-28.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)