Skip to content

get_file_contents. failed to get raw repository content #1050

@TikyFirstggg

Description

@TikyFirstggg

why "get_file_contents" always return "failed to get raw repository content" when the file exsists?

{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "get_file_contents",
"arguments": {
"owner": "TikyFirstggg",
"repo": "mcp-github-evaluation_code_development_7",
"path": "src/tests/unit/utils.test.js",
"ref": "refs/heads/develop"
}
}
}
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"content": [
{
"type": "text",
"text": "failed to get raw repository content"
}
],
"isError": true
}
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions