fix(mcp): remove legacy ingest upload tools

Remove the old chunked upload MCP tools from the remote tool surface so agents only see the simplified upload paths: HTTP multipart and ingest_file_base64.

Update docs and agent rules to stop advertising the chunked fallback while keeping staged uploads outside the vault and behind the existing ingest gate.

Validation: python3 -m unittest discover -v; python3 -m py_compile obsidian_wiki/mcp_server.py tests/test_mcp_server_remote.py; git diff --check
This commit is contained in:
Codex
2026-07-05 16:35:45 +00:00
parent d7daf2f210
commit 75dea2cfaf
4 changed files with 6 additions and 42 deletions
+3 -3
View File
@@ -291,9 +291,9 @@ class RemoteMcpServerTests(unittest.TestCase):
)
self.assertIsInstance(server, FakeMCP)
self.assertIn("create_ingest_upload", FakeMCP.tool_names)
self.assertIn("append_ingest_upload_chunk", FakeMCP.tool_names)
self.assertIn("complete_ingest_upload", FakeMCP.tool_names)
self.assertNotIn("create_ingest_upload", FakeMCP.tool_names)
self.assertNotIn("append_ingest_upload_chunk", FakeMCP.tool_names)
self.assertNotIn("complete_ingest_upload", FakeMCP.tool_names)
self.assertIn("start_ingest_job", FakeMCP.tool_names)
self.assertIn("get_ingest_job_status", FakeMCP.tool_names)
self.assertIn("get_ingest_job_result", FakeMCP.tool_names)