Skip to content
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

Github get_issue hit MCP error -32603: Invalid arguments: labels.0 description: Expected string, received null #693

Open
MatrixDai opened this issue Feb 28, 2025 · 0 comments · May be fixed by #694
Labels
bug Something isn't working

Comments

@MatrixDai
Copy link

Describe the bug
When the client call the get_issue tool, may hit the following error:
Image

To Reproduce
Steps to reproduce the behavior:

  1. Create a GH issue
  2. Attach a label without description
  3. Now, in the Cursor agent, try to mention this issue, the Cursor call the MCP tool fail with error
MCP error -32603: Invalid arguments: labels.0 description: Expected string, received null

Expected behavior
The get_issue should successful.

Logs
See attached screenshot.

Additional context
This is likely due to null description of label returned by github API.

@MatrixDai MatrixDai added the bug Something isn't working label Feb 28, 2025
@MatrixDai MatrixDai linked a pull request Feb 28, 2025 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant