Document MCP server tools, search behavior, and AI credits - #6828
Open
fern-api[bot] wants to merge 1 commit into
Open
Document MCP server tools, search behavior, and AI credits#6828fern-api[bot] wants to merge 1 commit into
fern-api[bot] wants to merge 1 commit into
Conversation
Contributor
|
🌿 Preview your docs: https://fern-preview-2026-09-02-fern-ai-d8be69-17f3e0d0.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
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.
Added a "What the MCP server exposes" section to the MCP server page, between "Connect to your MCP server" and "Authenticated sites". It documents the single
searchDocstool (onequeryargument, returning a written answer with source URLs rather than a ranked result list, with no page-listing or page-fetch tool, so agents follow citations to the Markdown pages), a "How search works" subsection covering semantic vector retrieval with a keyword fallback and token-scoped results on authenticated sites, and an "AI credits" subsection noting MCP requests draw on the same Ask Fern credit allowance rather than a separate pool. The tool name, argument, and response shape were verified against the live MCP server at buildwithfern.com/learn/_mcp/server; the exact per-call credit cost is left as an MDX TODO comment because it isn't documented anywhere.