Hdfs MCP Server

HDFS MCP Server is a controller based on MCP (Model Context Protocol) that provides access to HDFS clusters through the MCP protocol. The server

Local serverstdioPython

What is the Hdfs MCP MCP server?

HDFS MCP Server is a controller based on MCP (Model Context Protocol) that provides access to HDFS clusters through the MCP protocol. The server supports basic HDFS operations such as file upload, download, move, copy, and provides. The hdfs mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

  • List directory contents
  • Read file contents
  • Create directories
  • Delete files/directories
  • Upload files to HDFS
  • Download files from HDFS

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Configuration

You will need 2 environment variables: HDFS_NAMENODE, NAMENODE_PORT. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.11 or higher - Hadoop client installed and configured - uv package manager

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the hdfs mcp mcp server does with a few real requests.

When to reach for it

Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by will-sh; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Hdfs MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the Hdfs MCP MCP server

### MCP Configuration

```json
{
  "mcpServers": {
    "hdfs-controller": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/your/hdfsmcp",
        "run",
        "hdfs.py"
      ],
      "env": {
        "HDFS_NAMENODE": "your_namenode_hostname",
        "NAMENODE_PORT": "your_namenode_port"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.11 or higher - Hadoop client installed and configured - uv package manager
VariableDescriptionRequired
HDFS_NAMENODEConfiguration value read at startup.Optional
NAMENODE_PORTConfiguration value read at startup.Optional

Frequently asked questions

It connects Hdfs MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Hdfs MCP directly.