home / mcp / 302ai file parser mcp server

302AI File Parser MCP Server

Parses files via MCP to support Claude Desktop workflows, using an npx-based stdio startup and an API key for access.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "302ai-302_file_parser_mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@302ai/file-parser-mcp"
      ],
      "env": {
        "302AI_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

You can run the 302AI File Parser MCP Server to enable Claude Desktop to parse files via MCP. It exposes a local MCP endpoint that you can connect to from your MCP client, with an easy npx-based startup and an API key requirement for access.

How to use

Connect your MCP client to the 302AI File Parser MCP Server by configuring the MCP connection to use the provided stdio entry. You will start the server locally using a runtime command and the MCP client will communicate with it through standard input/output.

How to install

Prerequisites you need before installing the MCP server are Node.js and npm. Ensure you have a working Node.js environment by checking the versions on your machine.

Step-by-step setup and run flow you should follow are:

1) Install dependencies locally

npm install

2) Build the server

npm run build

3) Run in development with auto-rebuild (optional)

npm run watch

4) Debugging MCP servers locally

npm run inspector

The Inspector provides a debugging URL you can open in your browser to troubleshoot your MCP connection.

Additional configuration and notes

Configure the MCP client to load the server using a local stdio entry. The provided configuration uses npx to run the MCP package and requires your API key.

A complete example configuration you can adapt is shown here. It tells your client to launch the MCP server via npx and passes the required API key at runtime.

{
  "mcpServers": {
    "302ai_file_parser": {
      "command": "npx",
      "args": ["-y", "@302ai/file-parser-mcp"],
      "env": {
        "302AI_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}