GitHub · Capability
GitHub Repos API — Variables
GitHub Repos API — Variables. 15 operations. Lead operation: List Selected Repositories For An Organization Variable. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
GET
Listselectedrepositoriesforanorganizationvariable
— List Selected Repositories For An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories
PUT
Setselectedrepositoriesforanorganizationvariable
— Set Selected Repositories For An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories
PUT
Addselectedrepositorytoanorganizationvariable
— Add Selected Repository To An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories/{repository-id}
DELETE
Removeselectedrepositoryfromanorganizationvariable
— Remove Selected Repository From An Organization Variable
/v1/orgs/{org}/actions/variables/{name}/repositories/{repository-id}
GET
Listrepositoryorganizationvariables
— List Repository Organization Variables
/v1/repos/{owner}/{repo}/actions/organization-variables
GET
Listrepositoryvariables
— List Repository Variables
/v1/repos/{owner}/{repo}/actions/variables
POST
Createrepositoryvariable
— Create Repository Variable
/v1/repos/{owner}/{repo}/actions/variables
GET
Getrepositoryvariable
— Get Repository Variable
/v1/repos/{owner}/{repo}/actions/variables/{name}
PATCH
Updaterepositoryvariable
— Update Repository Variable
/v1/repos/{owner}/{repo}/actions/variables/{name}
DELETE
Deleterepositoryvariable
— Delete Repository Variable
/v1/repos/{owner}/{repo}/actions/variables/{name}
GET
Listenvironmentvariables
— List Environment Variables
/v1/repos/{owner}/{repo}/environments/{environment-name}/variables
POST
Createanenvironmentvariable
— Create An Environment Variable
/v1/repos/{owner}/{repo}/environments/{environment-name}/variables
GET
Getanenvironmentvariable
— Get An Environment Variable
/v1/repos/{owner}/{repo}/environments/{environment-name}/variables/{name}
PATCH
Updateanenvironmentvariable
— Update An Environment Variable
/v1/repos/{owner}/{repo}/environments/{environment-name}/variables/{name}
DELETE
Deleteanenvironmentvariable
— Delete An Environment Variable
/v1/repos/{owner}/{repo}/environments/{environment-name}/variables/{name}
MCP Tools
list-selected-repositories-organization-variable
List Selected Repositories For An Organization Variable
read-only
idempotent
set-selected-repositories-organization-variable
Set Selected Repositories For An Organization Variable
idempotent
add-selected-repository-organization-variable
Add Selected Repository To An Organization Variable
idempotent
remove-selected-repository-organization-variable
Remove Selected Repository From An Organization Variable
idempotent
list-repository-organization-variables
List Repository Organization Variables
read-only
idempotent
list-repository-variables
List Repository Variables
read-only
idempotent
create-repository-variable
Create Repository Variable
get-repository-variable
Get Repository Variable
read-only
idempotent
update-repository-variable
Update Repository Variable
idempotent
delete-repository-variable
Delete Repository Variable
idempotent
list-environment-variables
List Environment Variables
read-only
idempotent
create-environment-variable
Create An Environment Variable
get-environment-variable
Get An Environment Variable
read-only
idempotent
update-environment-variable
Update An Environment Variable
idempotent
delete-environment-variable
Delete An Environment Variable
idempotent