Skip to content

feat(mcp): trace, explore, and node MCP/HTTP tools (PR 6)#134

Merged
SutuSebastian merged 5 commits into
mainfrom
feat/mcp-trace-tools
May 25, 2026
Merged

feat(mcp): trace, explore, and node MCP/HTTP tools (PR 6)#134
SutuSebastian merged 5 commits into
mainfrom
feat/mcp-trace-tools

Conversation

@SutuSebastian
Copy link
Copy Markdown
Contributor

Summary

  • Adds MCP/HTTP trace, explore, and node tools — thin composers over bundled call-path / symbol-neighborhood recipes plus budget-capped snippets (output-budget.ts, default 15k chars).
  • Registers tools in mcp-server.ts, http-server.ts, and mcp-tool-allowlist.ts; updates MCP instructions + skill docs + architecture delivery tracker.

Dependency

Stacks on #133 (affected MCP tool). Merge #133 first, then rebase this branch onto main if the diff looks noisy.

Test plan

  • bun test on output-budget, trace-engine, mcp-server, http-server test files
  • bun run typecheck
  • CI green on PR

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 25, 2026

⚠️ No Changeset found

Latest commit: d346985

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 25, 2026

Warning

Review limit reached

@SutuSebastian, we couldn't start this review because you've used your available PR reviews for now.

Your plan includes 1 review of capacity. Refill in 13 minutes and 58 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f2d027d2-6eaf-48e4-909f-e5c6124bc5a5

📥 Commits

Reviewing files that changed from the base of the PR and between 386ffa6 and d346985.

📒 Files selected for processing (17)
  • docs/architecture.md
  • docs/plans/agent-surface-delivery.md
  • docs/plans/mcp-trace-explore-tools.md
  • docs/roadmap.md
  • src/application/http-server.test.ts
  • src/application/http-server.ts
  • src/application/mcp-server.test.ts
  • src/application/mcp-server.ts
  • src/application/mcp-tool-allowlist.ts
  • src/application/output-budget.test.ts
  • src/application/output-budget.ts
  • src/application/recipe-recency.ts
  • src/application/tool-handlers.ts
  • src/application/trace-engine.test.ts
  • src/application/trace-engine.ts
  • templates/agent-content/mcp-instructions.md
  • templates/agent-content/skill/10-recipes-context.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/mcp-trace-tools

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 and usage tips.

Compose call-path and symbol-neighborhood recipes with budget-capped
snippets, register tools on MCP/HTTP, and document recipe-first fallbacks.
@SutuSebastian SutuSebastian force-pushed the feat/mcp-trace-tools branch from f23ee8f to 4e37820 Compare May 25, 2026 13:49
Cross-file snippet lookup, homonym scoping via inPath, explore row cap
and dedupe, truncation metadata, recency-after-success, and tests/docs.
Per-tool truncation docs, recency JSDoc, explore row-cap test, and
HTTP/MCP Zod + recency parity.
@SutuSebastian SutuSebastian merged commit ff89d8c into main May 25, 2026
21 of 23 checks passed
@SutuSebastian SutuSebastian deleted the feat/mcp-trace-tools branch May 25, 2026 14:27
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