feat: expose eval, agent context, and validation tools on /mcp#2007
Merged
feat: expose eval, agent context, and validation tools on /mcp#2007
Conversation
Promotes 10 internal Addie tools to first-class MCP tools so external clients (Claude Code, Claude Desktop) can call them directly instead of routing through chat_with_addie. - Evaluation (4): probe_adcp_agent, evaluate_agent_quality, test_rfp_response, test_io_execution - Agent context (3): save_agent, list_saved_agents, remove_saved_agent - Validation (3): validate_json, get_schema, validate_adagents Member tools bridge MCPAuthContext → MemberContext per-request and require authentication (anonymous callers get isError: true). Stateless tools (schema/property) are created once at startup. Closes #2004 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.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.
Summary
/mcpendpoint so external clients (Claude Code, Claude Desktop, custom agents) can call them directly instead of routing throughchat_with_addieprobe_adcp_agent,evaluate_agent_quality,test_rfp_response,test_io_executionsave_agent,list_saved_agents,remove_saved_agent— completes the eval workflow by allowing credential storagevalidate_json,get_schema,validate_adagents— stateless schema/property validationDesign decisions
MCPAuthContext→MemberContextper-request, with an auth gate that rejects anonymous callers (isError: true)MEMBER_TOOLS,SCHEMA_TOOLS,PROPERTY_TOOLS) — no duplicationCloses #2004
Test plan
npx tsc --noEmit— clean compiletools/listreturns 32 tools, all 10 new tools present with correct schemasisError: truefor anonymous callers🤖 Generated with Claude Code