Skip to content

bug: uri is not being checked for resources #17

@JosiahParry

Description

@JosiahParry

When using a resource with claude code mcpr is causing an error right here:

mcpr/R/methods.R

Lines 227 to 233 in b734565

if (is.null(params$name) || !is.character(params$name)) {
return(create_error(
JSONRPC_INVALID_PARAMS,
"Missing or invalid resource name",
id = id
))
}

claude only sends the URI and not the name

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