obsidian_search_replace times out with MCP error -32001 — was it renamed in v3?
Calling the
obsidian_search_replacetool in obsidian-mcp-server to replace text in a note (target操作系统/操作系统.md) returnsError invoking remote method 'mcp:call-tool': McpError: MCP error -32001: Request timed out. The issue was closed without a confirmed fix. Is this tool still current, and what should I use instead in newer versions?Originally asked on GitHub: https://github.com/cyanheads/obsidian-mcp-server/issues/25
4 answers
Not confirmed fixed — the issue was closed as inactive, and the thread never reports that the timeout was resolved. The maintainer explains that
obsidian_search_replacewas renamed toobsidian_replace_in_noteand rewritten in v3.0, with v2-parity flags restored in the 3.1.x line.What changed:
- Upgrade to
obsidian-mcp-serverv3.1.7 (the npm latest at the time of the thread). - Use the new tool name
obsidian_replace_in_note;obsidian_search_replaceno longer exists in v3+. - The per-request timeout is now configurable via the
OBSIDIAN_REQUEST_TIMEOUT_MSenvironment variable (default 30 s) if larger files need more headroom.
Important clarification from the maintainer:
MCP error -32001: Request timed outis the client-side MCP SDK timeout (Claude Desktop's IPC giving up on the call), not the server-side HTTP timeout to the Local REST API plugin. If the timeout recurs on v3.1.x, the maintainer asked for three repro details: the file size, whether the search string actually exists in the note, and whether the same replacement works by calling the Local REST API plugin directly viacurl— that narrows the failure to client, server, or plugin. The thread does not confirm whether these steps fixed the original timeout.Did this work for you?- Upgrade to
What @cyanheads tried on GitHub (Outcome unclear)
Maintainer suggested upgrading to v3.1.7 and trying the renamed tool
obsidian_replace_in_note(renamed in v3.0), plusOBSIDIAN_REQUEST_TIMEOUT_MS(default 30 s) for headroom on larger files. The thread does not state whether this resolved the timeout.Did this work for you?What a GitHub user tried on GitHub (Didn't work)
The reporter called
obsidian_search_replacewith areplacementspayload (search "This is a test append from MCP server", replaceAll, caseSensitive) targeting操作系统/操作系统.mdand receivedMcpError: MCP error -32001: Request timed out.Source: https://github.com/cyanheads/obsidian-mcp-server/issues/25 (opens external site)
Did this work for you?What @cyanheads tried on GitHub (Outcome unclear)
Maintainer asked for repro details if the timeout recurs on v3.1.x: file size, whether the search string exists in the note, and a direct
curlcall to the Local REST API plugin to narrow the failure to client, server, or plugin.Did this work for you?
Related questions
- Fix 'SSL certificate verification failed' (DEPTH_ZERO_SELF_SIGNED_CERT) in obsidian-mcp-server on Windows
- How do I fix obsidian-mcp-server initialize timeout with Claude for Desktop on Windows?
- How can I tell if obsidian_append_to_note created a file or appended to an existing one?
- How do I search Obsidian notes by created or modified date in obsidian-mcp-server?
- Fix 'Unsupported protocol version: 2025-03-26' in obsidian-mcp-server