Add support for Gogs Deploy Keys functionality to the MCP server.
Why This Feature?
Deploy keys enable secure, read-only or read-write access to repositories for automated deployments and CI/CD workflows without requiring user credentials.
Requirements
Implement list_deploy_keys tool - List all deploy keys for a repository
Implement get_deploy_key tool - Get details of a specific deploy key
Implement create_deploy_key tool - Add a new deploy key to a repository
Implement delete_deploy_key tool - Remove a deploy key from a repository
Add proper TypeScript types for DeployKey objects
Support both read-only and read-write access modes
Update documentation with usage examples
API Endpoints to Implement
GET /repos/:username/:reponame/keys - List deploy keys
GET /repos/:username/:reponame/keys/:id - Get a deploy key
POST /repos/:username/:reponame/keys - Add a deploy key
DELETE /repos/:username/:reponame/keys/:id - Delete a deploy key
See Gogs API documentation for deploy keys endpoints.
## Description
Add support for Gogs Deploy Keys functionality to the MCP server.
## Why This Feature?
Deploy keys enable secure, read-only or read-write access to repositories for automated deployments and CI/CD workflows without requiring user credentials.
## Requirements
- Implement `list_deploy_keys` tool - List all deploy keys for a repository
- Implement `get_deploy_key` tool - Get details of a specific deploy key
- Implement `create_deploy_key` tool - Add a new deploy key to a repository
- Implement `delete_deploy_key` tool - Remove a deploy key from a repository
- Add proper TypeScript types for DeployKey objects
- Support both read-only and read-write access modes
- Update documentation with usage examples
## API Endpoints to Implement
- `GET /repos/:username/:reponame/keys` - List deploy keys
- `GET /repos/:username/:reponame/keys/:id` - Get a deploy key
- `POST /repos/:username/:reponame/keys` - Add a deploy key
- `DELETE /repos/:username/:reponame/keys/:id` - Delete a deploy key
## Related
Requested by @fszontagh in #4
## API Reference
See Gogs API documentation for deploy keys endpoints.
Description
Add support for Gogs Deploy Keys functionality to the MCP server.
Why This Feature?
Deploy keys enable secure, read-only or read-write access to repositories for automated deployments and CI/CD workflows without requiring user credentials.
Requirements
list_deploy_keystool - List all deploy keys for a repositoryget_deploy_keytool - Get details of a specific deploy keycreate_deploy_keytool - Add a new deploy key to a repositorydelete_deploy_keytool - Remove a deploy key from a repositoryAPI Endpoints to Implement
GET /repos/:username/:reponame/keys- List deploy keysGET /repos/:username/:reponame/keys/:id- Get a deploy keyPOST /repos/:username/:reponame/keys- Add a deploy keyDELETE /repos/:username/:reponame/keys/:id- Delete a deploy keyRelated
Requested by @fszontagh in #4
API Reference
See Gogs API documentation for deploy keys endpoints.