Error Handling And Logging

MCP Server Error Model

The local MCP server returns structured JSON-RPC errors when:

Common Failure Cases

Invalid Content Path

Only these targets are writable through the MCP server:

index.md
about.md
projects.md
blog/index.md
_projects/*.md
_posts/YYYY-MM-DD-slug.md

Missing Build Dependencies

If bundle exec jekyll build fails because Bundler is unavailable, install Ruby, Bundler, and the project gems first.

Invalid Post Filename

Post filenames must begin with YYYY-MM-DD- and end with .md.

Logging Approach