GitHub · Capability
github-repos-api — Create
github-repos-api — Create. 4 operations. Lead operation: GitHub Create an Issue. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
POST
Createanissue
— GitHub Create an Issue
/v1/repos/{owner}/{repo}/issues
POST
Createreactionforanissuecomment
— GitHub Create Reaction for an Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
POST
Createanissuecomment
— GitHub Create an Issue Comment
/v1/repos/{owner}/{repo}/issues/{issue-number}/comments
POST
Createreactionforanissue
— GitHub Create Reaction for an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/reactions
MCP Tools
github-create-issue
GitHub Create an Issue
github-create-reaction-issue-comment
GitHub Create Reaction for an Issue Comment
github-create-issue-comment
GitHub Create an Issue Comment
github-create-reaction-issue
GitHub Create Reaction for an Issue
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: github-repos-api — Create
description: 'github-repos-api — Create. 4 operations. Lead operation: GitHub Create an Issue. Self-contained Naftiko capability
covering one Github business surface.'
tags:
- Github
- Create
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
GITHUB_API_KEY: GITHUB_API_KEY
capability:
consumes:
- type: http
namespace: repo-issues-create
baseUri: ''
description: github-repos-api — Create business capability. Self-contained, no shared references.
resources:
- name: repos-owner-repo-issues
path: /repos/{owner}/{repo}/issues
operations:
- name: createanissue
method: POST
description: GitHub Create an Issue
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: repos-owner-repo-issues-comments-comment_id-reactions
path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
operations:
- name: createreactionforanissuecomment
method: POST
description: GitHub Create Reaction for an Issue Comment
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: repos-owner-repo-issues-issue_number-comments
path: /repos/{owner}/{repo}/issues/{issue_number}/comments
operations:
- name: createanissuecomment
method: POST
description: GitHub Create an Issue Comment
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: repos-owner-repo-issues-issue_number-reactions
path: /repos/{owner}/{repo}/issues/{issue_number}/reactions
operations:
- name: createreactionforanissue
method: POST
description: GitHub Create Reaction for an Issue
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: bearer
token: '{{env.GITHUB_API_KEY}}'
exposes:
- type: rest
namespace: repo-issues-create-rest
port: 8080
description: REST adapter for github-repos-api — Create. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/repos/{owner}/{repo}/issues
name: repos-owner-repo-issues
description: REST surface for repos-owner-repo-issues.
operations:
- method: POST
name: createanissue
description: GitHub Create an Issue
call: repo-issues-create.createanissue
with:
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
name: repos-owner-repo-issues-comments-comment-id-reactions
description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions.
operations:
- method: POST
name: createreactionforanissuecomment
description: GitHub Create Reaction for an Issue Comment
call: repo-issues-create.createreactionforanissuecomment
with:
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/repos/{owner}/{repo}/issues/{issue-number}/comments
name: repos-owner-repo-issues-issue-number-comments
description: REST surface for repos-owner-repo-issues-issue_number-comments.
operations:
- method: POST
name: createanissuecomment
description: GitHub Create an Issue Comment
call: repo-issues-create.createanissuecomment
with:
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/repos/{owner}/{repo}/issues/{issue-number}/reactions
name: repos-owner-repo-issues-issue-number-reactions
description: REST surface for repos-owner-repo-issues-issue_number-reactions.
operations:
- method: POST
name: createreactionforanissue
description: GitHub Create Reaction for an Issue
call: repo-issues-create.createreactionforanissue
with:
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: repo-issues-create-mcp
port: 9090
transport: http
description: MCP adapter for github-repos-api — Create. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: github-create-issue
description: GitHub Create an Issue
hints:
readOnly: false
destructive: false
idempotent: false
call: repo-issues-create.createanissue
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: github-create-reaction-issue-comment
description: GitHub Create Reaction for an Issue Comment
hints:
readOnly: false
destructive: false
idempotent: false
call: repo-issues-create.createreactionforanissuecomment
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: github-create-issue-comment
description: GitHub Create an Issue Comment
hints:
readOnly: false
destructive: false
idempotent: false
call: repo-issues-create.createanissuecomment
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: github-create-reaction-issue
description: GitHub Create Reaction for an Issue
hints:
readOnly: false
destructive: false
idempotent: false
call: repo-issues-create.createreactionforanissue
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
body: tools.body
outputParameters:
- type: object
mapping: $.