chore(mcp): handle MCP isError response by burmudar · Pull Request #1236 · sourcegraph/src-cli

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@burmudar

Copy link Copy Markdown

Contributor

Tool errors are sent as results with isError: true. We check if that field is true and extract the text.

Test plan

go run ./cmd/src deepsearch -question 'how does src-cli get released?'
MCP tool error: failed to create conversation: failed to check quota

@burmudar burmudar requested a review from a team

December 10, 2025 10:25

@burmudar burmudar self-assigned this

Dec 10, 2025

@burmudar burmudar merged commit 97c3004 into main

Dec 10, 2025

8 checks passed

@burmudar burmudar deleted the wb/mcp-iserror branch

December 10, 2025 12:23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@keegancsmith keegancsmith keegancsmith approved these changes

Assignees

@burmudar burmudar

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@burmudar @keegancsmith