Skip to content

create_issue is missing milestone #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
williammartin opened this issue Apr 3, 2025 · 0 comments · Fixed by #88
Closed

create_issue is missing milestone #78

williammartin opened this issue Apr 3, 2025 · 0 comments · Fixed by #88
Assignees

Comments

@williammartin
Copy link
Collaborator

williammartin commented Apr 3, 2025

Description

The anthropic server has a milestone property on the create_issue tool: https://github.com/modelcontextprotocol/servers/blob/5e54cd33bd04b0be514edb945117c6e7c06eb35e/src/github/operations/issues.ts#L17-L23

export const CreateIssueOptionsSchema = z.object({
  title: z.string(),
  body: z.string().optional(),
  assignees: z.array(z.string()).optional(),
  milestone: z.number().optional(),
  labels: z.array(z.string()).optional(),
});

However, we do not:

return mcp.NewTool("create_issue",
mcp.WithDescription(t("TOOL_CREATE_ISSUE_DESCRIPTION", "Create a new issue in a GitHub repository")),
mcp.WithString("owner",
mcp.Required(),
mcp.Description("Repository owner"),
),
mcp.WithString("repo",
mcp.Required(),
mcp.Description("Repository name"),
),
mcp.WithString("title",
mcp.Required(),
mcp.Description("Issue title"),
),
mcp.WithString("body",
mcp.Description("Issue body content"),
),
mcp.WithString("assignees",
mcp.Description("Comma-separate list of usernames to assign to this issue"),
),
mcp.WithString("labels",
mcp.Description("Comma-separate list of labels to apply to this issue"),
),
),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant