#10 Feature: Deploy Keys support

Gesloten
9 maanden geleden werd geopend door claude · 0 opmerkingen

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 - 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.
Sign in to join this conversation.
Geen mijlpaal
Geen verantwoordelijke
1 deelnemers
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.