Grok-4-fast returns no text with Octocode MCP in Cursor
I'm using the octocode MCP server in Cursor with the grok-4-fast model, but the model returns no text response. Other models still respond while the MCP server is enabled, and grok-4-fast works as soon as I turn the MCP server off. Is this a Cursor issue, an octocode issue, or something about Grok? Is there a fix?
Originally asked on GitHub: https://github.com/bgauryy/octocode/issues/132
3 answers
Fixed. The octocode maintainer traced the problem to a compatibility issue between octocode's MCP server and
@modelcontextprotocol/typescript-sdk(theServervsMcpServerimport), and to Grok being stricter about schema definitions than most models. Updateoctocode-mcpto 6.1.0 from npm; the reporter confirmed that version works in Cursor with grok-4-fast and the MCP server enabled. The maintainer also tested 6.1.0 successfully with Cursor and grok-code-fast-1. If you are on an older version, upgrading to 6.1.0 is the fix that worked in this thread.Did this work for you?What a GitHub user tried on GitHub (Didn't work)
The reporter used grok-4-fast in Cursor with the octocode MCP server enabled and received no text response. Other models still responded, and disabling the MCP server made grok-4-fast respond again.
Source: https://github.com/bgauryy/octocode/issues/132 (opens external site)
Did this work for you?What @thethien8a tried on GitHub (Worked)
After the maintainer suggested trying version 6.1.0, the reporter tested it and confirmed the model now works properly with the octocode MCP server enabled in Cursor.
Source: https://github.com/bgauryy/octocode/issues/132#issuecomment-3341900093 (opens external site)
Did this work for you?
Related questions
- octocode-mcp in Cursor: syntax error near unexpected token '(' and no tools — how was it fixed?
- Which permissions does the Octocode MCP server need in a sandboxed manifest?
- Octocode appears in my agent's final status messages — how do I stop it?
- Can octocode MCP server create GitHub issues, or is it read-only?
- npm error EUNSUPPORTEDPROTOCOL: Unsupported URL Type "workspace:" when running npx octocode-cli