Skip to content

examples: add an MFS MCP server (code & context search)#146

Merged
zc277584121 merged 1 commit into
zilliztech:mainfrom
zc277584121:examples/mfs-mcp-server
Jun 30, 2026
Merged

examples: add an MFS MCP server (code & context search)#146
zc277584121 merged 1 commit into
zilliztech:mainfrom
zc277584121:examples/mfs-mcp-server

Conversation

@zc277584121

Copy link
Copy Markdown
Collaborator

What

A small Model Context Protocol server that exposes MFS search / read as tools, so any MCP client (Claude Code, Cursor, Codex, Windsurf, …) can use every MFS-indexed source as context — code, docs, issues, chat, databases. In the spirit of claude-context ("make the codebase the context for any coding agent"), but unified over all sources rather than one codebase, and only ~60 lines over the Python SDK.

  • examples/mfs-mcp/server.py + README — the runnable server (FastMCP over mfs_sdk).
  • docs/integrations/mcp.md — the integration page; added to the nav and the Integrations overview.

Verified end to end

  1. Protocol level — against an isolated MFS server with an indexed code corpus, an stdio MCP client lists the tools (search, read) and calls both, getting correct results.
  2. Real MCP client — registered with claude mcp add (claude mcp list✔ Connected), then a real Claude Code session (driven via cc-use) called search + read and correctly identified the rate-limiter function and its source URI.

mkdocs build --strict passes.

…ient)

A ~60-line Model Context Protocol server over the Python SDK that exposes MFS
search/read as tools, so any MCP client (Claude Code, Cursor, Codex, …) can use
every MFS-indexed source as context — in the spirit of claude-context, but unified
across all sources rather than one codebase. Add the runnable example under
examples/mfs-mcp/ and an Integrations docs page; list it in the nav and overview.

Verified end to end: against an isolated MFS with an indexed corpus, the stdio MCP
client lists and calls both tools with correct results, and a real Claude Code
session (registered via 'claude mcp add', driven through cc-use) called the tools
and answered correctly.

Signed-off-by: Cheney Zhang <chen.zhang@zilliz.com>
@zc277584121 zc277584121 merged commit bf18e37 into zilliztech:main Jun 30, 2026
10 checks passed
@zc277584121 zc277584121 deleted the examples/mfs-mcp-server branch June 30, 2026 11:44
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