Hi there,
I'm trying to add a resource like this in my MCP server.
But i got an error both Claude and with MCP Inspector when tried to get this resource
Request
{
"method": "resources/read",
"params": {
"uri": "wordpress://site/config"
}
}
Response
{
"error": "[\n {\n \"expected\": \"array\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"contents\"\n ],\n \"message\": \"Invalid input\"\n }\n]"
}
How can solve the problem ?
Hi there,
I'm trying to add a resource like this in my MCP server.
But i got an error both Claude and with MCP Inspector when tried to get this resource
Request
Response
How can solve the problem ?