This commit is contained in:
2026-02-22 09:17:32 -05:00
parent 30b3c1ab1d
commit be42d21842
19 changed files with 312 additions and 11804 deletions

View File

@@ -1,3 +1,17 @@
# mcp_client.py
"""
Note(Gemini):
MCP-style file context tools for manual_slop.
Exposes read-only filesystem tools the AI can call to selectively fetch file
content on demand, instead of having everything inlined into the context block.
All access is restricted to paths that are either:
- Explicitly listed in the project's allowed_paths set, OR
- Contained within an allowed base_dir (must resolve to a subpath of it)
This is heavily inspired by Claude's own tooling limits. We enforce safety here
so the AI doesn't wander outside the project workspace.
"""
# mcp_client.py
#MCP-style file context tools for manual_slop.