-
Notifications
You must be signed in to change notification settings - Fork 3k
fix: revert README to v1.x documentation on main #1971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The main branch README currently documents v2 (pre-alpha), which confuses users who land on the repo expecting stable v1.x docs. This moves the v2 README content to README.v2.md and replaces the main README with v1.x-appropriate documentation that uses FastMCP (the v1.x API) instead of MCPServer (the v2 API). Key changes: - README.md now documents v1.x with FastMCP imports/usage - README.v2.md preserves the full v2/MCPServer documentation - CI, pre-commit, and snippet tooling updated to target README.v2.md - Code snippets in README.md use v1.x field names (e.g., structuredContent, inputSchema, uriTemplate) - pyproject.toml ruff exclude updated for README.v2.md Both READMEs include TODO(v2) comments marking where to swap back when v2 is released. Github-Issue: #1970
The reverted v1 README contains code blocks that don't pass ruff validation. Extend the existing README.v2.md exclusions to also cover README.md.
e1a47f9 to
75bad91
Compare
Github-Issue: #1970
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Code ReviewFound 1 issue: PR Description - CLAUDE.md ViolationThe PR description contains an AI Disclaimer link at the end: <sub>[AI Disclaimer](https://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d)</sub>This violates CLAUDE.md which explicitly states:
Recommendation: Remove the AI Disclaimer link from the PR description to comply with the project's documentation guidelines. Code changes review: No issues found in the actual code changes. All modifications are consistent with the stated goal of reverting README to v1.x documentation. |
The main branch README documents v2 APIs (e.g.
MCPServer) that don't exist in the current stable v1.x release, causing confusion for users (see #1970).This reverts
README.mdto v1.x content and preserves the v2 docs asREADME.v2.md. CI, pre-commit, and snippet tooling are updated to targetREADME.v2.md.TODO(v2)markers are added throughout for easy swapping when v2 ships.Closes #1970
AI Disclaimer