MCP for the Files.com API
Project description
Files.com Python MCP Server
Files.com MCP provides tools that are a subset of our APIs offering our most popular operations.
Important Information
Some LLMs struggle with too many tools in the context. LLM clients often offer a way to disable and enable specific tools for an MCP. If your LLM is having trouble picking the right tools, try disabling the tools you do not need in your LLM client.
Installing in Claude
To install into Claude you have to add JSON to the claude_desktop_config.json
An official tutorial can found here: https://modelcontextprotocol.io/quickstart/user#2-add-the-filesystem-mcp-server
To add our MCP, add the following JSON (be sure to change the path and FILESCOM_API_KEY value)
NOTE: This version assumes you are running from source. Once we have PyPi publishing this README will have them version as well.
uv Required
These examples requires uv which is a popular modern environment manager for running isolated python tools. Installation is out of scope of this README.
Claude Config - STDIO
{
"mcpServers": {
"files_com_mcp": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"/path/to/folder-containing-files_com_mcp",
"run",
"-m",
"files_com_mcp"
],
"env": {
"FILES_COM_API_KEY": "CHangeME"
}
}
}
}
Development
While our MCP works well out-of-the-box, some power users find value in modifying MCP code to suit their unique needs. For those power users, it is recommended to use STDIO mode. Upload and Download tools rely on the file system where the MCP is running.
To test LLM tools we recommend a popular command-line program called inspector. This will start a WebUI on a local port, the output of the command will give you the link to the inspector GUI.
Ex: http://127.0.0.1:6274
Develoment - STDIO
FILESCOM_API_KEY="dummyKey" npx @modelcontextprotocol/inspector uv run -m files_com_mcp
Development - SSE
FILESCOM_API_KEY="dummyKey" uv run -m files_com_mcp --mode server --port 12345
Launch the inspector
npx @modelcontextprotocol/inspector
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file files_com_mcp-1.0.tar.gz.
File metadata
- Download URL: files_com_mcp-1.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f834dfc3af58a9b897b47cb10d66c55680eeb7a9bf93341ade12aac19b9b4e3
|
|
| MD5 |
694a4628a6c10a184c9f25c1e0be2717
|
|
| BLAKE2b-256 |
88c85039b0517dd476abeb603105d9240d041064569235581b65e9f557c42d9e
|
File details
Details for the file files_com_mcp-1.0-py3-none-any.whl.
File metadata
- Download URL: files_com_mcp-1.0-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5f6afefbd360351a7129403a8c19fcaec9a854ea1bf17859dfefaa4a374cfba
|
|
| MD5 |
6f3c2b5996237b0e7826d433df486dd4
|
|
| BLAKE2b-256 |
804c252bd676a1cb4ef92dcf50d3b9e2d7fb4b6601db0c8f1f53954b2e071951
|