registry/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
adam jones 6431f23107
feat: add admin edit endpoint for server moderation (#315)
## Summary

Implements `PUT /v0/servers/{id}` admin edit endpoint to address part of
issue #182, providing an API-based solution for server moderation
without requiring direct database access.

- **New endpoint**: `PUT /v0/servers/{id}` for editing existing servers
- **Security**: Uses existing JWT auth with `PermissionActionEdit`
permissions
- **Anti-undelete protection**: Added `ServerStatusDeleted` status that
cannot be reverted
- **Full implementation**: Database, service, API, and comprehensive
test coverage

## Key Use Cases

- Mark malicious servers as `deleted` for takedown
- Update server metadata for moderation actions

Related to: https://github.com/modelcontextprotocol/registry/issues/182
(but that is not _done_ yet because we need admins to be able to login
(probably with #283), and need to add docs on how to do the takedown,
and probably guidelines on what we will/won't takedown)
2025-08-27 21:28:04 +01:00
..
api feat: add admin edit endpoint for server moderation (#315) 2025-08-27 21:28:04 +01:00
auth auth: Add GitHub OIDC auth (#278) 2025-08-18 22:05:06 +01:00
config feat: implement OIDC authentication for admin users (#316) 2025-08-27 18:59:49 +01:00
database feat: add admin edit endpoint for server moderation (#315) 2025-08-27 21:28:04 +01:00
model feat: add admin edit endpoint for server moderation (#315) 2025-08-27 21:28:04 +01:00
service feat: add admin edit endpoint for server moderation (#315) 2025-08-27 21:28:04 +01:00
telemetry Add OpenTelemetry metrics instrumentation (#290) 2025-08-21 14:23:37 +01:00
validators feat: Add support for MCP Bundles (MCPB) in registry (#295) 2025-08-27 04:44:53 +01:00