Summary
base-builder-mcp still resolves Base documentation against the old base/web repository structure.
The current Base documentation is maintained in base/docs.
As a result, valid Base documentation URLs can be converted into obsolete raw GitHub paths and return 404 Not Found.
Affected files
Problem
sidebar.ts fetches the documentation sidebar from the legacy repository:
https://raw.githubusercontent.com/base/web/refs/heads/master/apps/base-docs/sidebar.ts
tools.ts also constructs guide URLs using base/web:
const guidePath = guideLink.replace("https://docs.base.org", "");
const githubRawUrl =
`https://raw.githubusercontent.com/base/web/refs/heads/master/apps/base-docs/docs/pages${guidePath}.mdx`;
However, base/web is archived and the current documentation repository is:
https://github.com/base/docs
Steps to reproduce
Use this current Base documentation URL:
https://docs.base.org/get-started/docs-mcp
getGuide() converts it into:
https://raw.githubusercontent.com/base/web/refs/heads/master/apps/base-docs/docs/pages/get-started/docs-mcp.mdx
That legacy path does not contain the current guide.
The guide currently exists in the active documentation repository at:
base/docs/docs/get-started/docs-mcp.mdx
Expected behavior
A valid page published on docs.base.org should be successfully retrieved by the BuildOnBase MCP tool.
Actual behavior
The MCP maps current Base documentation URLs to paths under the archived base/web repository.
This can result in 404 Not Found for valid current documentation.
Impact
AI agents using Base Builder MCP may:
- fail to retrieve valid Base documentation;
- receive 404 errors for existing guides;
- use stale documentation;
- miss newly added Base features;
- fall back to an outdated embedded sidebar;
- incorrectly conclude that a valid guide does not exist.
This makes the MCP unreliable as an authoritative Base documentation source.
Suggested fix
Update documentation resolution to use the current Base docs repository:
https://github.com/base/docs
The guide resolver should no longer construct URLs under:
base/web/apps/base-docs/docs/pages/
The hardcoded fallback sidebar should also be updated or replaced with a source that follows the current documentation structure.
Suggested tests
Add regression tests for current Base documentation URLs.
For example:
https://docs.base.org/get-started/docs-mcp
The test should verify that:
- the resolved source exists;
- the request does not return 404;
- the returned document is not empty;
- current
docs.base.org routes map to the active documentation repository.
Summary
base-builder-mcpstill resolves Base documentation against the oldbase/webrepository structure.The current Base documentation is maintained in
base/docs.As a result, valid Base documentation URLs can be converted into obsolete raw GitHub paths and return
404 Not Found.Affected files
sidebar.tstools.tsProblem
sidebar.tsfetches the documentation sidebar from the legacy repository:tools.tsalso constructs guide URLs usingbase/web:However,
base/webis archived and the current documentation repository is:Steps to reproduce
Use this current Base documentation URL:
getGuide()converts it into:That legacy path does not contain the current guide.
The guide currently exists in the active documentation repository at:
Expected behavior
A valid page published on
docs.base.orgshould be successfully retrieved by theBuildOnBaseMCP tool.Actual behavior
The MCP maps current Base documentation URLs to paths under the archived
base/webrepository.This can result in
404 Not Foundfor valid current documentation.Impact
AI agents using Base Builder MCP may:
This makes the MCP unreliable as an authoritative Base documentation source.
Suggested fix
Update documentation resolution to use the current Base docs repository:
The guide resolver should no longer construct URLs under:
The hardcoded fallback sidebar should also be updated or replaced with a source that follows the current documentation structure.
Suggested tests
Add regression tests for current Base documentation URLs.
For example:
The test should verify that:
docs.base.orgroutes map to the active documentation repository.