AI assistant can't find my files? Check your MCP file connection first

When an AI assistant says it can't find a file or can't open a local document, the cause is most often a problem with the MCP connection, the file path, or permissions. This article gives you a way to diagnose the issue and step-by-step troubleshooting to get your files reconnected.

Key points of this article

  • When the assistant reports "file not found," first determine whether the cause is a connection problem, an incorrect path, or insufficient permissions, since each requires a different fix.
  • When giving the assistant a file path, try to write the full absolute path, and double-check the spelling of the file name and its extension.
  • After changing MCP settings, restart the assistant or the related service; otherwise the new configuration usually won't take effect.
  • If the file is being used by another program, is located in a restricted directory, or is a scanned PDF, reading may fail.
  • Keeping files to be processed in a fixed working folder can reduce repeated occurrences of the same errors in the future.

When you tell your AI assistant "translate that contract on my desktop," and it replies "file not found," or even makes up a path that doesn't exist, this happens often when local files are handed to an AI assistant. After OmniDoc is connected to the assistant as an MCP server, the assistant can create and edit Word, PDF, PPT, and Excel files, and can also translate documents, but only if the service is actually connected and has been given the correct file location.

This article is for people who have already configured MCP but whose file operations keep failing. After reading it, you should be able to tell at which layer the problem lies: the connection was never established, the path is written incorrectly, permissions or file locks prevent reading, or the file's format is unsuitable for processing. Each category comes with a corresponding checking method, so you won't need to reinstall everything from scratch.

Assistant can't find the file — should I reinstall first? One-line conclusion

Don't reinstall just yet. In most "file not found" cases, simply checking the connection status, changing the path to a full absolute path, and then restarting the service will fix it. Only if the connection still can't be established should you go back and check the installation and configuration.

Your situationRecommended PracticesCause
The assistant did not call the OmniDoc tool at all.First confirm that the MCP service is registered in the assistant and in a connected stateThe service isn't connected, so the assistant has no way to access any files.
The assistant says the file doesn't exist, but are you sure the path is correct?Resend using the full absolute path.Relative paths depend on the assistant's working directory, so they can easily point to the wrong location.
The file exists, but it says it cannot be opened or read.Check account permissions and confirm the file is not being used by another program.Insufficient permissions or a locked file will both prevent it from being read.
Still failing after modifying the configurationRestart the assistant or related service, then try again.New configuration is usually only loaded when the service starts.
Scanned PDF processing returns empty or abnormal resultsFirst confirm whether the text can be selected, then decide whether to translate it directly or run OCR first.The scanned document has no selectable text layer, so it needs to be handled differently.

First, determine which type of problem it is

Start with the symptoms, then match them to the right cause, and you can avoid a lot of detours.

SymptomsCommon causesHow do I confirm?
The assistant doesn't mention OmniDoc at all, and doesn't call any tools.Service not registered or not connectedCheck whether OmniDoc shows as connected in the assistant's list of tools or services
The prompt file doesn't exist, but the path looks correct.Used a relative path, misspelled something, or used the wrong file extensionCopy the full path from File Explorer and compare it character by character
Prompt: no permission or unable to readThe file or its containing folder has restricted permissions, or it is located in a system-protected directoryOpen the file manually using the same account and check whether it can be read normally.
The prompt file is in use.The file is opened and locked by programs such as Word and PDF readersClose the related programs and try again
Able to find the file, but the output is empty or the content is garbled.Scanned documents, encrypted files, or unsupported formatsYou can't select text in the PDF, and it's most likely a scanned document.

Item-by-item troubleshooting and fixing

Investigate in the following order, from easy to hard. After each step, run a test so you can quickly pinpoint the problem.

  1. Confirm the service connection. Open the assistant's tool list and check whether OmniDoc is online. If it isn't, check whether the service address or startup command in the MCP settings matches the one used during installation. Correct it and save.
  2. Run a small test. Have the assistant translate a one-page test document. If it succeeds, the connection is working and the problem is most likely with the original file or its path. If it fails, go back to step 1.
  3. Switch to the full absolute path. Replace "Contract.pdf on the desktop" with the full path copied from the file manager. Keep any spaces in the path as they are, and do not add extra quotation marks or escape characters.
  4. Check the file name and extension. Look for mixed full-width and half-width brackets or Chinese and English punctuation, check for trailing spaces at the end of the file name, and confirm the extension is really .docx or .pdf. Windows may hide extensions by default, in which case the actual file name differs from what you see.
  5. Check permissions. Make sure the current logged-in account has read and write access to the file and its folder. Copy the file to a regular folder under your own user directory and try again. If that works, the original location has restricted permissions.
  6. Close programs that are using the file. If the file is open for editing, save it and close the program first so the file isn't locked.
  7. Restart the service. After changing the configuration or updating the client, restart the assistant and, if necessary, reconnect the MCP service so the new settings take effect.
  8. Check the file type. Scanned PDFs can usually be passed directly to the translation feature. If the output is abnormal, first try selecting text. If text can't be selected, run OCR in the PDF editor of the OmniDoc desktop client, then hand the file to the assistant. Whether you use machine translation or OCR, verify all important numbers, dates, and proper nouns item by item.

How to Avoid This Happening Again

  • Set up one fixed working folder. Use it exclusively for files waiting to be processed. Each time, put the files you need the assistant to handle into this folder. A fixed path makes it less likely the assistant will pick up the wrong file.
  • Write the full path and goal clearly in your instructions. "Please translate the file in a certain directory into a bilingual side-by-side version" is less error-prone than "process that file."
  • Close programs you are editing before processing. This ensures the file is saved and avoids reading an outdated version or hitting a file lock.
  • Run a small test after updating the assistant or client. Use the same test document to verify the connection. The earlier you catch a problem, the smaller its impact.
  • Use English letters, numbers, and underscores in file names where possible. This reduces path problems caused by full-width symbols, spaces, and special characters.
  • Test important files on a small sample first. Confirm the output meets your expectations before processing the entire file, and keep a copy of the original.

❓ Frequently Asked Questions (FAQ)

1. Why does the assistant say the file doesn't exist when I can see it on my computer?

The assistant may be accessing a different path, a different account, or a different working directory. Describe files using their full absolute paths, and confirm that the assistant is running under the same account you are currently logged in with.

2. How does MCP connect to a large model? Why do you still need to test after a successful connection?

Generally, you add the OmniDoc service in the settings of an MCP-enabled AI assistant, then confirm that it shows as connected. A successful connection only means the service is reachable; file reading and writing still need to be verified through an actual operation, such as translating a short document.

3. Where is the AI Document Assistant opened?

OmniDoc connects to AI assistants that support MCP, such as Claude and Cursor. You simply give instructions in the assistant's chat interface; there is no need to open a separate file page. If you cannot see OmniDoc-related tools in the assistant's interface, the connection has not been successfully set up yet.

4. What should I do if the assistant broke my file?

Before processing, keep a copy of the original file, and have the assistant save the results as a new file so you can compare them against the original. For important documents, run a small sample first, confirm the results are satisfactory, and only then process the full text.

📝 Summary

The AI assistant can't find a file. This usually comes down to one of four areas: connection, path, permissions, or file occupation. Checking them one by one in order is more effective than retrying repeatedly. Writing out the full path, confirming the service is online, and closing programs that are holding the file will resolve most problems, and fixing a working folder will make later operations run more smoothly.

Open OmniDoc and connect the document tools to your AI assistant

Updated 2026-11-29