Troubleshooting
Common issues and how to resolve them.
Server Issues
Server won't start
Symptom: Error when running uvx folios --path /path/to/docs
Possible causes:
-
Invalid path - The documents folder doesn't exist
Solution: Check the path exists and is accessible. -
Port already in use - Another process is using the MCP socket Solution: Check for other Folios instances or MCP servers running.
Documents not appearing
Symptom: browse_catalog returns empty list but documents exist in the folder.
Possible causes:
-
Wrong filename pattern - Files must match
{id}_v{version}.md -
Missing H1 title - Every document needs a
# Titleheading -
Server needs restart - Schema discovery only happens at startup Solution: Restart the server after adding new documents.
New documents not showing up
Symptom: Added a new document but it doesn't appear in browse_catalog.
Cause: Schema discovery happens once at startup.
Solution: Restart the Folios server to pick up new documents.
Tool Errors
NOT_FOUND error
Possible causes:
- Document ID doesn't exist
- Requested version doesn't exist (e.g., asking for v3 when only v1 and v2 exist)
Solution: Use browse_catalog to see available documents, then list_revisions to see available versions.
CHAPTER_NOT_FOUND error
Cause: The requested chapter title doesn't match any H2 heading in the document.
Solution: Use get_document_metadata first to see available chapters:
Tip
Chapter matching is case-insensitive, so "background" will match "Background".
INVALID_FORMAT error
Possible causes:
- No H1 heading - Document is missing the
# Titleline - Malformed YAML - Metadata block has syntax errors
Example of malformed YAML:
Solution: Check the document has a valid H1 title and properly formatted YAML metadata.
READ_ERROR
Cause: File system issue - permissions, file moved, encoding problems.
Solution: Check file permissions and ensure the file exists and is readable.
MCP Client Issues
Tools not showing in Claude Desktop
Symptom: Folios tools don't appear in Claude Desktop's tool list.
Possible causes:
-
Configuration error - Check
claude_desktop_config.json: -
uvx not found - Ensure
uvis installed and in your PATH -
Server crash - Check logs for errors:
Filter values not appearing
Symptom: The browse_catalog tool description doesn't show filter hints.
Cause: No documents with metadata, or all fields have >15 unique values.
Solution: Check that documents have YAML metadata blocks with fields like status, document_type, etc.
Performance Issues
Slow startup with many documents
Symptom: Server takes a long time to start.
Schema discovery is very fast (~70K docs/sec), so this is unlikely unless you have hundreds of thousands of documents.
Solution: Check for:
- Network drive latency
- Very large individual documents
- Disk I/O issues
High memory usage
Symptom: Server uses excessive memory.
Folios loads document content on-demand, not at startup. High memory usage suggests either:
- Very large documents being read repeatedly
- Many concurrent requests
Getting Help
If you're still stuck:
- Check the GitHub issues
- Enable debug logging to see detailed output
- Open a new issue with reproduction steps