Skip to content

feat: add mcp error code to validation and plugin errors.#1208

Merged
crivetimihai merged 5 commits intoIBM:mainfrom
terylt:feat/plugins_mcp_code_support
Nov 5, 2025
Merged

feat: add mcp error code to validation and plugin errors.#1208
crivetimihai merged 5 commits intoIBM:mainfrom
terylt:feat/plugins_mcp_code_support

Conversation

@terylt
Copy link
Copy Markdown
Collaborator

@terylt terylt commented Oct 10, 2025

✨ 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 lint passes
  • make test passes
  • CHANGELOG updated (if user-facing)

Teryl Taylor 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>
@crivetimihai crivetimihai force-pushed the feat/plugins_mcp_code_support branch from 973e989 to 73a1532 Compare November 5, 2025 02:24
@crivetimihai crivetimihai merged commit 1f39bd5 into IBM:main Nov 5, 2025
44 checks passed
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>
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 this pull request may close these issues.

2 participants