Skip to content

Document the product MCP server, drop the docs-MCP hooks#105

Merged
leng-yue merged 1 commit into
mainfrom
agent/product-mcp-docs
Jul 22, 2026
Merged

Document the product MCP server, drop the docs-MCP hooks#105
leng-yue merged 1 commit into
mainfrom
agent/product-mcp-docs

Conversation

@leng-yue

@leng-yue leng-yue commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

  • New page overview/mcp under Platform (Web App): the product MCP server at api.fish.audio/mcp — OAuth sign-in (no API key), playground-credit billing, per-client setup (Claude Code, Claude.ai, Cursor, Codex CLI, Windsurf), example prompts, and evergreen usage notes (audio tags, default voices, refunds, local-file transcription). Tool names and per-tool pricing are intentionally not enumerated — the toolset will keep evolving.
  • Removed the old docs.fish.audio/mcp support: the mcp / cursor / vscode contextual options in docs.json, and the live-docs MCP setup section in the coding-agents guide (now a short pointer to the product MCP page; the llms.txt note is kept).
  • agent-quickstart card description updated accordingly.

Preview

Verified locally with mint dev (page renders, nav entry appears, no residual docs.fish.audio/mcp references outside package-lock).

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The changes add Fish Audio MCP server documentation covering OAuth setup, client connections, tools, billing, and operational rules. Agent guides now reference the MCP server and documentation indexes, while navigation exposes the new MCP page.

Changes

MCP documentation and integration

Layer / File(s) Summary
MCP server setup and usage
overview/mcp.mdx
Adds MCP page metadata, endpoint and billing details, client-specific OAuth setup, and example agent prompts and workflows.
MCP tools and operational rules
overview/mcp.mdx
Documents available tools, credit costs, audio behavior, retry and refund rules, text limits, and local transcription uploads.
Agent documentation and navigation wiring
developer-guide/resources/agent-quickstart.mdx, developer-guide/resources/coding-agents.mdx, docs.json
Updates agent guidance, adds the MCP page to platform navigation, and removes obsolete contextual options.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Agent as Claude Code
  participant MCP as Fish Audio MCP server
  participant API as Fish Audio API
  Agent->>MCP: Configure the MCP endpoint
  MCP->>API: Complete OAuth sign-in
  Agent->>MCP: Request audio generation or transcription
  MCP->>API: Invoke the selected MCP tool
  API-->>MCP: Return the tool result
  MCP-->>Agent: Return audio or transcription data
Loading

Possibly related PRs

  • fishaudio/docs#69: Introduces the llms.txt and llms-full.txt indexes referenced by the updated agent documentation.
  • fishaudio/docs#83: Reworks the same coding-agent MCP documentation section updated here.

Suggested reviewers: lordelf

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the new product MCP documentation and the removal of the legacy docs-MCP integration.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/product-mcp-docs

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.

@mintlify

mintlify Bot commented Jul 22, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hanabiaiinc 🟢 Ready View Preview Jul 22, 2026, 5:54 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Add overview/mcp under Platform (Web App): the api.fish.audio/mcp
server (OAuth sign-in, playground-credit billing), per-client setup,
and the tool list. Remove the old docs.fish.audio/mcp support: the
mcp/cursor/vscode contextual options and the live-docs MCP setup
section in the coding-agents guide now point at the product server.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@developer-guide/resources/coding-agents.mdx`:
- Line 82: Update the llms.txt and llms-full.txt links in the documentation text
to use root-relative paths instead of absolute docs.fish.audio URLs, preserving
the existing link labels and destinations.

In `@overview/mcp.mdx`:
- Around line 99-100: Update the speech_to_text pricing entry in the
transcription costs table to use a consistent time unit for both pro and flash
models, or explicitly show the conversion so their costs can be compared
directly. Leave the text_to_speech pricing entry unchanged.
- Around line 13-15: Update the Connect section in the MCP documentation before
the Tabs component to add a concise prerequisites statement covering a Fish
Audio account, an MCP client that supports streamable HTTP/OAuth, and browser
access for sign-in. Keep the existing connection tabs and procedural steps
unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: dc949822-637d-4bbb-85bb-bc275e53a264

📥 Commits

Reviewing files that changed from the base of the PR and between 71ae36e and 8668f7f.

📒 Files selected for processing (4)
  • developer-guide/resources/agent-quickstart.mdx
  • developer-guide/resources/coding-agents.mdx
  • docs.json
  • overview/mcp.mdx


<Note>
**Skill vs MCP:** the skill is a self-contained instruction file that works offline after install; MCP fetches the latest docs live. You can use both. This site also exposes [llms.txt](https://docs.fish.audio/llms.txt) and [llms-full.txt](https://docs.fish.audio/llms-full.txt) for agents that fetch docs directly.
This site also exposes [llms.txt](https://docs.fish.audio/llms.txt) and [llms-full.txt](https://docs.fish.audio/llms-full.txt) for agents that fetch docs directly.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Use relative paths for the internal documentation links.

These links point to the same docs site, so replace the absolute URLs with root-relative paths.

Suggested fix
-  This site also exposes [llms.txt](https://docs.fish.audio/llms.txt) and [llms-full.txt](https://docs.fish.audio/llms-full.txt) for agents that fetch docs directly.
+  This site also exposes [llms.txt](/llms.txt) and [llms-full.txt](/llms-full.txt) for agents that fetch docs directly.

As per coding guidelines: “Use relative paths for internal links” and “Do not use absolute URLs for internal links.”

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
This site also exposes [llms.txt](https://docs.fish.audio/llms.txt) and [llms-full.txt](https://docs.fish.audio/llms-full.txt) for agents that fetch docs directly.
This site also exposes [llms.txt](/llms.txt) and [llms-full.txt](/llms-full.txt) for agents that fetch docs directly.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@developer-guide/resources/coding-agents.mdx` at line 82, Update the llms.txt
and llms-full.txt links in the documentation text to use root-relative paths
instead of absolute docs.fish.audio URLs, preserving the existing link labels
and destinations.

Source: Coding guidelines

Comment thread overview/mcp.mdx
Comment on lines +13 to +15
## Connect

<Tabs>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Add prerequisites before the connection tabs.

This procedural section should first state requirements such as a Fish Audio account, an MCP client supporting streamable HTTP/OAuth, and browser access for sign-in.

Suggested addition
+Before you begin:
+
+- Make sure you have a Fish Audio account.
+- Use an MCP client that supports streamable HTTP and OAuth.
+- Make sure the client can open a browser for sign-in.
+
 ## Connect

As per coding guidelines: “Include prerequisites at the start of procedural content.”

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## Connect
<Tabs>
Before you begin:
- Make sure you have a Fish Audio account.
- Use an MCP client that supports streamable HTTP and OAuth.
- Make sure the client can open a browser for sign-in.
## Connect
<Tabs>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@overview/mcp.mdx` around lines 13 - 15, Update the Connect section in the MCP
documentation before the Tabs component to add a concise prerequisites statement
covering a Fish Audio account, an MCP client that supports streamable
HTTP/OAuth, and browser access for sign-in. Keep the existing connection tabs
and procedural steps unchanged.

Source: Coding guidelines

Comment thread overview/mcp.mdx Outdated
Comment on lines +99 to +100
| `text_to_speech` | Generate speech and return a permanent audio URL | 1 credit per UTF-8 byte of text |
| `speech_to_text` | Transcribe audio from a public URL | `pro`: 50 credits/second, `flash`: 500 credits/minute |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Use consistent units for transcription costs.

The same cost column mixes credits/second and credits/minute, making model comparison and spend estimates easy to misread. Normalize both to one unit or show the conversion explicitly.

Suggested clarification
- | `speech_to_text`     | Transcribe audio from a public URL                                      | `pro`: 50 credits/second, `flash`: 500 credits/minute |
+ | `speech_to_text`     | Transcribe audio from a public URL                                      | `pro`: 3,000 credits/minute, `flash`: 500 credits/minute |
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
| `text_to_speech` | Generate speech and return a permanent audio URL | 1 credit per UTF-8 byte of text |
| `speech_to_text` | Transcribe audio from a public URL | `pro`: 50 credits/second, `flash`: 500 credits/minute |
| `text_to_speech` | Generate speech and return a permanent audio URL | 1 credit per UTF-8 byte of text |
| `speech_to_text` | Transcribe audio from a public URL | `pro`: 3,000 credits/minute, `flash`: 500 credits/minute |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@overview/mcp.mdx` around lines 99 - 100, Update the speech_to_text pricing
entry in the transcription costs table to use a consistent time unit for both
pro and flash models, or explicitly show the conversion so their costs can be
compared directly. Leave the text_to_speech pricing entry unchanged.

@leng-yue
leng-yue merged commit 3a8c858 into main Jul 22, 2026
5 of 6 checks passed
@leng-yue
leng-yue deleted the agent/product-mcp-docs branch July 22, 2026 18:01
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