Skip to content

MCP error -32602: Absolute paths are not allowed #136

@christopherquenneville

Description

@christopherquenneville

Hi! Would there be any way to make this work? It's easier for the AI to access the file and the user to point to it if the user can simply copy paste the file direct link.

{
"sources": [
{
"path": "C:\Users\SANDBOX\Desktop\sample-2.pdf"
}
],
"include_full_text": true,
"include_metadata": true,
"include_page_count": true
}
{
"results": [
{
"source": "C:\Users\SANDBOX\Desktop\sample-2.pdf",
"success": false,
"error": "MCP error -32600: Failed to prepare PDF source C:\Users\SANDBOX\Desktop\sample-2.pdf. Reason: MCP error -32602: Absolute paths are not allowed."
}
]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions