modelcontextprotocol / modelcontextprotocol/servers
File server tool not finding files.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 90.5k
- Forks
- 11.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 5
Description
My apologies for not having had time to write a 'proper' bug report', however does anyone know off-hand the reason for the behavior below ?
I installed the basic MCP filesystem server tool on 3/25/2025, and asked Claude Desktop (in Windows) to find all files matching "statement". It found none, thought there are several there. The response it gave me:
{
`path`: `C:\\Users\\breat\\Downloads`,
`pattern`: `*statement*`
}
No matches found
When I asked it to to find a specific filename, it worked. The prompt was:
search for any file named "statement (7).pdf"
(Note I had to use Claude 3.5 Haiku, due to current server limitations.)
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
Reproduce the basic MCP filesystem server behavior on Windows using the reported Downloads path and the *statement* pattern, then compare it with the exact filename search that succeeds. Trace the file-search entry point and identify why wildcard matching misses existing files; done means matching returns the expected files without breaking exact-name searches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100