cocoindex-io / cocoindex-io/cocoindex-code
cline mcp安装完成之后出现的报错,但是索引功能没问题就是不能用mcp的search工具,怎么解决,ubuntu 24.04.3
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 217
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 4
Description
Code Search
Unexpected token '', "[2m2026-0"... is not valid JSON Unexpected token 'E', "Error call"... is not valid JSON Unexpected token '+', " + Exceptio"... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | awai"... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | asyn"... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | rais"... is not valid JSON Unexpected token '|', " | Exceptio"... is not valid JSON Unexpected token '+', " +-+-------"... is not valid JSON Unexpected token '|', " | Tracebac"... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | embe"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | resu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | resu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | resu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | mode"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | self"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | modu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | modu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | conf"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | find"... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | adap"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | file"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | raise e" is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | hf_h"... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | _get"... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | meta"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | resp"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | resp"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | resp"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | retu"... is not valid JSON Unexpected token '|', " | "... is not valid JSON Unexpected token '|', " | File ""... is not valid JSON Unexpected token '|', " | rais"... is not valid JSON Unexpected token '|', " | RuntimeE"... is not valid JSON Unexpected token '+', " +---------"... is not valid JSON Unexpected end of JSON input
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the MCP search failure on Ubuntu 24.04.3 and inspect the output exchanged by the search tool. Trace why ANSI-formatted logs and the reported exception are being treated as JSON; done means MCP search returns valid JSON and the existing indexing function still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100