Skip to content

feat(web): list the agent session MCP tools in settings - #881

Merged
JeremyFunk merged 1 commit into
mainfrom
feat/web-mcp-agent-tools-list
Sep 13, 2026
Merged

feat(web): list the agent session MCP tools in settings#881
JeremyFunk merged 1 commit into
mainfrom
feat/web-mcp-agent-tools-list

Conversation

@JeremyFunk

@JeremyFunk JeremyFunk commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

The MCP settings page's Available Tools list is hardcoded, so the agent tools shipped in #867 and #876 never appeared there even though they are live on api.maple.dev/mcp.

Adds them to the list:

  • list_agent_sessions
  • get_agent_session
  • get_agent_tools_overview
  • get_agent_tool_error

The list is still hand-maintained and lags the registry elsewhere too (~19 of ~70 tools, and system_health no longer exists); sourcing it from the server is a follow-up.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • New Features
    • Added tools for viewing AI agent sessions, including verdicts, findings, timing, costs, and token usage.
    • Added agent tool usage analytics, including call counts, failure rates, and latency comparisons.
    • Added investigation details for grouped tool failures, message variations, related sessions, and sample calls.

@coderabbitai

coderabbitai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f02876ff-b8c0-40d4-8c26-4a6aa86ae039

📥 Commits

Reviewing files that changed from the base of the PR and between 2d8a382 and ada6343.

📒 Files selected for processing (1)
  • apps/web/src/components/mcp/mcp-tools-list.tsx

Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The MCP tool list now includes four AI-agent tool definitions for session data, tool metrics, and tool error investigation.

Changes

AI agent MCP tools

Layer / File(s) Summary
Add AI agent tool definitions
apps/web/src/components/mcp/mcp-tools-list.tsx
Adds list_agent_sessions, get_agent_session, get_agent_tools_overview, and get_agent_tool_error to the local MCP_TOOLS array.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to ada63

This change accurately adds the four MCP tools to the UI list and is ready to merge.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: adding agent session MCP tools to the web settings list.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/web-mcp-agent-tools-list

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JeremyFunk
JeremyFunk merged commit cdfac0e into main Sep 13, 2026
41 checks passed
@JeremyFunk
JeremyFunk deleted the feat/web-mcp-agent-tools-list branch September 13, 2026 20:41
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.

1 participant