python-mcp

v2.0.109
com.files/python-mcp Checked 4 days ago Published 1 day ago

Local-only Python MCP server for the Files.com API.

Values you need

VariableWhat it is
FILES_COM_API_KEYrequired secret Files.com API key used by the local MCP server to authenticate API requests.
FILES_COM_CHECK_DOWNLOAD_MODIFICATION_TIMEoptional Check download modification times by default. Set false to disable timestamp checks; stronger version and byte checks remain enabled. Default: true
FILES_COM_LOCAL_ROOToptional Optional absolute path to an existing local directory. Restricts uploads and downloads to that directory and its children. Omit or leave empty to allow any local path accessible to the server.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add python-mcp -e 'FILES_COM_API_KEY=<FILES_COM_API_KEY>' -- uvx files-com-mcp==2.0.108
Add to claude_desktop_config.json
{
  "mcpServers": {
    "python-mcp": {
      "args": [
        "files-com-mcp==2.0.108"
      ],
      "command": "uvx",
      "env": {
        "FILES_COM_API_KEY": "<FILES_COM_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "python-mcp": {
      "args": [
        "files-com-mcp==2.0.108"
      ],
      "command": "uvx",
      "env": {
        "FILES_COM_API_KEY": "<FILES_COM_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "FILES_COM_API_KEY",
      "id": "files-com-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "python-mcp": {
      "args": [
        "files-com-mcp==2.0.108"
      ],
      "command": "uvx",
      "env": {
        "FILES_COM_API_KEY": "${input:files-com-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.python-mcp]
command = "uvx"
args = ["files-com-mcp==2.0.108"]
env = { "FILES_COM_API_KEY" = "<FILES_COM_API_KEY>" }

For AI agents

  1. Ask the user for: FILES_COM_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: Download_File_to_Local, Upload_File_from_Local, List_Bundle, Find_Bundle, Create_Bundle, Update_Bundle, Delete_Bundle, List_Bundle_Download, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json