upload_release_asset
Upload assets to GitHub releases by specifying the repository details, release ID, asset name, content, and type. Simplify file distribution and version management directly from the mcp-github MCP server.
Instructions
Upload an asset to a GitHub release
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | The content of the asset (base64 encoded) | |
content_type | Yes | The content type of the asset | |
label | No | An alternate short description of the asset | |
name | Yes | The name of the asset | |
owner | Yes | Repository owner (username or organization) | |
release_id | Yes | The ID of the release | |
repo | Yes | Repository name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "The content of the asset (base64 encoded)",
"type": "string"
},
"content_type": {
"description": "The content type of the asset",
"type": "string"
},
"label": {
"description": "An alternate short description of the asset",
"type": "string"
},
"name": {
"description": "The name of the asset",
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"release_id": {
"description": "The ID of the release",
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"release_id",
"name",
"content",
"content_type"
],
"type": "object"
}