Skip to content

chore: extract MCP server to knowledgestack/ks-mcp#6

Merged
arnav2 merged 1 commit intomainfrom
chore/extract-mcp-to-standalone-repo
Apr 17, 2026
Merged

chore: extract MCP server to knowledgestack/ks-mcp#6
arnav2 merged 1 commit intomainfrom
chore/extract-mcp-to-standalone-repo

Conversation

@arnav2
Copy link
Copy Markdown
Contributor

@arnav2 arnav2 commented Apr 17, 2026

Summary

The MCP server and Python SDK are now standalone repos. This cookbook keeps just the flagships and recipes; it consumes knowledgestack-mcp at runtime via uvx and ksapi from PyPI.

New repos

  • knowledgestack/ks-mcp — MCP server (history preserved from mcp-python/ via git filter-repo). CI green, branch protection applied, CODEOWNERS → @knowledgestack/ks-admins.
  • knowledgestack/ks-sdk — Python SDK (ksapi). Seeded from the ks-backend codegen output at v1.67.0. CI green, branch protection applied.

Changes here

  • Remove mcp-python/ (history preserved in ks-mcp).
  • Workspace: drop mcp-python from [tool.uv.workspace].members; relock.
  • Makefile: make test is now a pointer to ks-mcp.
  • CI: drop the MCP test step (the dedicated job runs in ks-mcp).
  • Docs: README, CLAUDE.md, CONTRIBUTING.md, docs/wiki/troubleshooting.md now link the new repos.

Follow-ups (separate PRs / issues)

  • ks-backend: update the SDK codegen pipeline to push to knowledgestack/ks-sdk instead of the local codegen/ks-backend-python/ subpath.
  • ks-mcp: set up PyPI trusted publishing on release (copy the pattern from ks-cookbook's release.yml if needed).
  • Update the cookbook wiki (docs/wiki/) to reflect the split across three repos.

Test plan

  • uv sync --all-packages clean
  • uv run ruff check . passes
  • CI green on the PR
  • Spot-check make demo-credit-memo still works end-to-end

🤖 Generated with Claude Code

The MCP server and Python SDK now live in their own repos. This cookbook
only hosts flagship agent demos and recipes; it consumes knowledgestack-mcp
at runtime via `uvx` and ksapi from PyPI.

- Remove mcp-python/ from the workspace (history preserved in ks-mcp via
  git filter-repo)
- Update pyproject.toml workspace members
- Relock (knowledgestack-mcp / respx / pytest-asyncio dropped)
- Update Makefile: `make test` is now a pointer to ks-mcp
- Update CI: drop the MCP test step
- Update README, CLAUDE.md, CONTRIBUTING.md, docs/wiki to point at the
  new ks-mcp and ks-sdk repos

Related:
- https://github.com/knowledgestack/ks-mcp
- https://github.com/knowledgestack/ks-sdk

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@arnav2 arnav2 requested a review from a team as a code owner April 17, 2026 21:10
@arnav2 arnav2 merged commit dec08f2 into main Apr 17, 2026
2 checks passed
@arnav2 arnav2 deleted the chore/extract-mcp-to-standalone-repo branch April 17, 2026 21:10
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