-
Notifications
You must be signed in to change notification settings - Fork 361
Description
I’ve been trying to set up mcp-obsidian on my Mac following Zen van Riel’s “Let Claude Automate Your Obsidian Notes” video, but I keep running into a build error around pydantic-core and I’m not sure how to resolve it. I’ve cloned the repo into /Users/stephenlbishop/mcp-obsidian, installed Python and uv, set up the Obsidian Local REST API plugin with an API key, and created a .env file in the project folder with OBSIDIAN_API_KEY=.... In Claude Desktop, my claude_desktop_config.json points to this directory and uses uv with the run mcp-obsidian command as shown in the video. However, when I run uv run mcp-obsidian manually in Terminal (or when Claude tries to start it), the process fails with an error from maturin while building pydantic-core (something like “Error: command ['maturin', 'pep517', 'build-wheel', ...] returned non-zero exit status 1” while trying to build pydantic_core.cpython-314-darwin.so). Xcode Command Line Tools are installed (xcode-select -p returns /Library/Developer/CommandLineTools), so I believe compilers are available.
Could you please let me know if there’s a known issue with the current pydantic / pydantic-core versions or Python version used by mcp-obsidian on macOS, and whether I should pin different versions in pyproject.toml or take some other approach? I’m not very comfortable doing deep Python toolchain debugging, so a concrete set of steps (e.g., specific versions to pin, or a command to install compatible wheels) would be really helpful. I’m happy to provide the full terminal output or additional environment details if that would help you diagnose the problem :)