Repository navigation
Keep the MCP, CLI, and examples docs in step with what ships - #716
Merged
Merged
Conversation
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.
Summary
Bring the MCP, CLI, and examples docs back in line with what ships, and add a test in both SDKs so they cannot drift silently again.
docs/mcp.mdnow states 57 tools and listsupsert_textandupsert_facts,docs/cli.mdnamesupsert textandupsert factswithinsertas the alias, andexamples/README.mdlists every Python and TypeScript example, including a new TypeScript quickstart.Implementation details
Decisions
upsert_textandupsert_factsto the tool table, theidempotentHintrow, and the read-only exclusion note.upsert textandupsert factsin the CLI command table and note thatinsert textandinsert factsstill work as aliases.examples/README.mdand add a TypeScript table fortypescript/examples.typescript/examples/quickstart.mjs, a port ofquickstart.py; both print the same output.tests/test_docs_drift.pyandtypescript/test/docsDrift.test.ts: each checks the stated tool count, that every registered tool is named indocs/mcp.md, and that every example is listed inexamples/README.md.Validation
scripts/precheck.pypasses (117 changed lines, clean trial merge).Limits
Docs, one example, and tests only; no SDK, CLI, or MCP behavior change.
sync_quickstart,extract_from_text, andwith_llmstay Python-only.Linked issue
Closes #715
AI Assistance
AI tools helped write and test parts of this. I reviewed and ran every change.
Checklist
/approved.AGENTS.md). No new codes.Breaking changes
None.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.