Skip to content

docs: MCP tool catalog rewrite#170

Open
recoupableorg wants to merge 1 commit intomainfrom
feat/docs-mcp
Open

docs: MCP tool catalog rewrite#170
recoupableorg wants to merge 1 commit intomainfrom
feat/docs-mcp

Conversation

@recoupableorg
Copy link
Copy Markdown
Contributor

Summary

Surfaces the 43 production MCP tools that were previously hidden behind a 2-tool description. The MCP server has been silently growing and its docs hadn't kept up.

Why this matters

The previous `mcp.mdx` listed only `prompt_sandbox` and a fictional `run_sandbox_command`. The actual production server (`api/lib/mcp/tools/`) registers 43 tools across 11 domains — Spotify search, YouTube revenue, image generation, deep research, transcription, and more. Agents reading the old docs would never discover most of the platform's capability through MCP.

What changed

Replaced the previous "Available tools" section with a "Tool catalog" organized by activity:

Group Tools
Artists 4
Catalog 3
Chats 2
Content (image/video/audio) 8
Research 4
Spotify 4
YouTube 5
Tasks 5
Pulses 2
Sandbox 1
Utilities 3

Tool names and descriptions were extracted directly from the `register*Tool.ts` source files. Removed the fictional `run_sandbox_command` and the misleading "Beta" framing.

Stack

PR 3 of 7. Replaces #145.

Test plan

  • Every tool in the catalog matches a real `register*Tool.ts` in `api/lib/mcp/tools/`
  • Page renders cleanly in Mintlify

Made with Cursor

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 27, 2026

Warning

Rate limit exceeded

@recoupableorg has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 47 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8475730c-2e82-4378-91a0-ce9e4ed1c9e9

📥 Commits

Reviewing files that changed from the base of the PR and between 21a6207 and edc3932.

📒 Files selected for processing (1)
  • mcp.mdx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/docs-mcp

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.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="mcp.mdx">

<violation number="1" location="mcp.mdx:39">
P2: Custom agent: **Enforce Clear Code Style and Maintainability Practices**

`mcp.mdx` exceeds the custom maximum file size limit (161 lines vs required under 100), reducing readability and maintainability per Rule 2.</violation>

<violation number="2" location="mcp.mdx:157">
P2: Custom agent: **Documentation and Naming Conventions for Maintainable Code**

Public API docs removed concrete response/error behavior details and replaced them with generic schema guidance, reducing clarity on error transitions required by the rule.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread mcp.mdx
See [`POST /api/sandboxes`](/api-reference/sandboxes/create) for the equivalent REST endpoint.

**Input schema:**
Each tool's input schema is published over the MCP protocol, so your agent gets typed parameter help automatically.
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Custom agent: Documentation and Naming Conventions for Maintainable Code

Public API docs removed concrete response/error behavior details and replaced them with generic schema guidance, reducing clarity on error transitions required by the rule.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At mcp.mdx, line 157:

<comment>Public API docs removed concrete response/error behavior details and replaced them with generic schema guidance, reducing clarity on error transitions required by the rule.</comment>

<file context>
@@ -1,78 +1,161 @@
-See [`POST /api/sandboxes`](/api-reference/sandboxes/create) for the equivalent REST endpoint.
-
-**Input schema:**
+Each tool's input schema is published over the MCP protocol, so your agent gets typed parameter help automatically.
 
-| Parameter | Type | Required | Description |
</file context>
Fix with Cubic

Comment thread mcp.mdx
@@ -1,78 +1,161 @@
---
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Custom agent: Enforce Clear Code Style and Maintainability Practices

mcp.mdx exceeds the custom maximum file size limit (161 lines vs required under 100), reducing readability and maintainability per Rule 2.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At mcp.mdx, line 39:

<comment>`mcp.mdx` exceeds the custom maximum file size limit (161 lines vs required under 100), reducing readability and maintainability per Rule 2.</comment>

<file context>
@@ -1,78 +1,161 @@
+---
 
-**Response fields:**
+## Tool catalog
 
-| Field | Type | Description |
</file context>
Fix with Cubic

Brings mcp.mdx in line with what's actually registered in the
production MCP server (api/lib/mcp/tools/). The previous page
documented 2 tools; the actual server registers 43 across 11
domains.

Replaces the previous 2-tool description with a real tool catalog
grouped by activity:

- Artists (4 tools)        - Spotify (4)
- Catalog (3)              - YouTube (5)
- Chats (2)                - Tasks (5)
- Content — image, video,  - Pulses (2)
  audio (8)                - Sandbox (1)
- Research (4)             - Utilities (3)

Tool names and descriptions extracted directly from the
register*Tool.ts source files for accuracy.

Also fixes:
- Removes the fictional `run_sandbox_command` tool (never existed
  in the registered tool set).
- Drops the "Beta" framing — 43 working tools is just under-
  marketed production, not beta.
- Trims the overpromise in the opening line to match the actual
  capability surface.

Made-with: Cursor
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