Skip to content

WS-C: CogniFold MCP server + integration docs - #14

Merged
duanyiqun merged 1 commit into
mainfrom
pr/ws-c-mcp
Jun 18, 2026
Merged

WS-C: CogniFold MCP server + integration docs#14
duanyiqun merged 1 commit into
mainfrom
pr/ws-c-mcp

Conversation

@duanyiqun

Copy link
Copy Markdown
Contributor

Exposes CogniFold as an MCP server so it plugs into Claude Code / Claude Desktop / Cursor. Wraps existing logic — algorithm untouched.

  • src/cognifold/mcp/: FastMCP stdio server, 4 tools (remember/query/graph_stats/list_intents) wrapping Pipeline / MemoryQueryAgent / graph.persistence. Optional mcp SDK import guarded with install hint; logging retargeted to stderr to keep stdio JSON-RPC clean.
  • pyproject.toml: mcp extra + cognifold-mcp script. Bumped requires-python to >=3.10 (mcp>=1.0 requires it; project already targets 3.11+) and regenerated uv.lock so uv resolves repo-wide.
  • docs/INTEGRATIONS.md: Claude Desktop / Claude Code / Cursor config + remember→query example + roadmap.

pyright(strict) clean on mcp/; import + live round-trip verified (graph persists across calls).

🤖 Generated with Claude Code

https://claude.ai/code/session_018Cafgnpw3v7U3f2Lt1ASxs

- src/cognifold/mcp/: FastMCP stdio server wrapping existing Pipeline /
  MemoryQueryAgent / persistence (4 tools: remember, query, graph_stats,
  list_intents). Optional `mcp` SDK import is guarded with an install hint;
  logging retargeted to stderr so stdio JSON-RPC stays clean.
- pyproject: `mcp` extra + `cognifold-mcp` script. Bumped requires-python to
  >=3.10 (mcp>=1.0 needs it; project already targets 3.11+) and regenerated
  uv.lock so `uv` resolution works repo-wide.
- docs/INTEGRATIONS.md: Claude Desktop / Claude Code / Cursor config + roadmap.

Algorithm untouched — MCP wraps existing logic. pyright(strict) clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Cafgnpw3v7U3f2Lt1ASxs
@duanyiqun duanyiqun added the claude-review Trigger on-demand Claude code review label Jun 18, 2026
@duanyiqun
duanyiqun merged commit 225f7d1 into main Jun 18, 2026
2 of 3 checks passed
@duanyiqun
duanyiqun deleted the pr/ws-c-mcp branch June 18, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-review Trigger on-demand Claude code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant