Files2.AI

v0.1.1
io.github.mattkir/files2ai Checked 1 day ago Published 2 days ago

Convert documents into Markdown and text locally or through the hosted PDF and Office API.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add files2ai -- npx -y --package=@files2ai/mcp-server@0.1.1 files2ai-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "files2ai": {
      "args": [
        "-y",
        "--package=@files2ai/mcp-server@0.1.1",
        "files2ai-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "files2ai": {
      "args": [
        "-y",
        "--package=@files2ai/mcp-server@0.1.1",
        "files2ai-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "files2ai": {
      "args": [
        "-y",
        "--package=@files2ai/mcp-server@0.1.1",
        "files2ai-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.files2ai]
command = "npx"
args = ["-y", "--package=@files2ai/mcp-server@0.1.1", "files2ai-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http files2ai https://files2.ai/api/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "files2ai": {
      "args": [
        "-y",
        "mcp-remote",
        "https://files2.ai/api/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "files2ai": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://files2.ai/api/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "files2ai": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://files2.ai/api/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.files2ai]
command = "npx"
args = ["-y", "mcp-remote", "https://files2.ai/api/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: convert_file, convert_text, list_supported_formats.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json