feat: add mcp error code to validation and plugin errors.#1208
Merged
crivetimihai merged 5 commits intoIBM:mainfrom Nov 5, 2025
Merged
feat: add mcp error code to validation and plugin errors.#1208crivetimihai merged 5 commits intoIBM:mainfrom
crivetimihai merged 5 commits intoIBM:mainfrom
Conversation
added 5 commits
November 5, 2025 02:19
Signed-off-by: Teryl Taylor <terylt@ibm.com>
Signed-off-by: Teryl Taylor <terylt@ibm.com>
Signed-off-by: Teryl Taylor <terylt@ibm.com>
Signed-off-by: Teryl Taylor <terylt@ibm.com>
Signed-off-by: Teryl Taylor <terylt@ibm.com>
973e989 to
73a1532
Compare
crivetimihai
approved these changes
Nov 5, 2025
kcostell06
pushed a commit
to kcostell06/mcp-context-forge
that referenced
this pull request
Feb 24, 2026
* feat: add mcp error code to validation and plugin errors. Signed-off-by: Teryl Taylor <terylt@ibm.com> * fix: documentation error. Signed-off-by: Teryl Taylor <terylt@ibm.com> * fix: use JSONRPCError. Signed-off-by: Teryl Taylor <terylt@ibm.com> * fix: updated doctest. Signed-off-by: Teryl Taylor <terylt@ibm.com> * fix: json mcp error codes and added test cases. Signed-off-by: Teryl Taylor <terylt@ibm.com> --------- Signed-off-by: Teryl Taylor <terylt@ibm.com> Co-authored-by: Teryl Taylor <terylt@ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ Feature / Enhancement PR
🚀 Summary (1-2 sentences)
This PR allows a plugin developer to add an MCP error code to a PluginValidation or PluginError object which will be bubbled up to client.
🧪 Checks
make lintpassesmake testpasses