registry/cmd/publisher/commands
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Avish Porwal d092dd6390
Fix issue-743 by sanitizing the URL (#809)
<!-- Provide a brief summary of your changes -->
This PR aims to fix
https://github.com/modelcontextprotocol/registry/issues/743#event-20985516896

## Motivation and Context
<!-- Why is this change needed? What problem does it solve? -->
This is needed to ensure we are sanitizing the URL before creating
server.json to be inline with the validations.

## How Has This Been Tested?
<!-- Have you tested this in a real application? Which scenarios were
tested? -->
Tested via UTs and also tested CLI locally to ensure the expected
behavior.

## Breaking Changes
<!-- Will users need to update their code or configurations? -->

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [ ] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [x] My code follows the repository's style guidelines
- [ ] New and existing tests pass locally
- [ ] I have added appropriate error handling
- [ ] I have added or updated documentation as needed

## Additional context
<!-- Add any other context, implementation notes, or design decisions
-->

Co-authored-by: Avish Porwal <avishporwal@microsoft.com>
2025-12-04 09:23:15 -08:00
..
init.go Fix issue-743 by sanitizing the URL (#809) 2025-12-04 09:23:15 -08:00
login.go Implement --token and MCP_GITHUB_TOKEN login support (#705) 2025-10-29 17:23:41 +02:00
logout.go Apply gofmt formatting to all Go files (#588) 2025-09-30 17:32:22 +03:00
publish.go Enforce schema validation on the publish and edit API level (#598) 2025-10-05 13:57:10 +01:00
publish_test.go Make Repository field properly optional in server.json (#717) 2025-10-29 13:23:47 +00:00