MCP Server

by AleksanStark

1 249 downloads Not rated yet Apache-2.0
GitHub

About

# MCP Server ## 1. What is MCP (Model Context Protocol)? Model Context Protocol (MCP) is a standard for interaction between models, agents, and contextual data. It is developed and maintained by the community. More details can be found in the official repository: [MCP GitHub](https://github.com/modelcontextprotocol)…

Details

License
Apache-2.0

Explore

- Upload files to IPFS
- Retrieve files by Content Identifier (CID)
- Pin files to prevent garbage collection
- List directory contents by CID
- Unpin files by CID
- Integrates with Claude AI for natural language commands

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Installation will depend on whether you are using Claude Code or Claude Desktop

Claude Code

Run claude mcp add and follow the prompts with the following information:

Server Name: mcp-ipfs
Server Command: node
Command Arguments: node /ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-ipfs-server/build/index.js

Claude Desktop

Add the following config to claude_desktop_config.json

  {
  "mcpServers": {
    "ipfs-mcp": {
      "command": "node",
      "args": [
        "/Absolute/path/to/mcp-ipfs-server/build/index.js"
      ]
    }
  }
}

Use the following bash script to automate the server deployment:

```bash
#!/bin/bash

sudo apt update
sudo apt install -y wget tar git npm

wget https://github.com/ipfs/kubo/releases/download/v0.34.1/kubo_v0.34.1_linux-amd64.tar.gz

tar -xvzf kubo_v0.34.1_linux-amd64.tar.gz

cd kubo
sudo bash install.sh

ipfs init

sudo apt install ufw
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 4001/tcp
sudo ufw allow 8080/tcp
sudo ufw allow 22/tcp
sudo ufw allow 5001/tcp
sudo ufw enable
sudo ufw status

npm install
npm install @modelcontextprotocol/sdk zod
npm install -D @types/node typescript

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server": {
            "ipfs-mcp": {
                "command": "node",
                "args": [
                    "/Absolute/path/to/mcp-ipfs-server/build/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "ipfs-mcp": {
        "command": "node",
        "args": [
            "/Absolute/path/to/mcp-ipfs-server/build/index.js"
        ]
    }
}

1. What is MCP (Model Context Protocol)?

Model Context Protocol (MCP) is a standard for interaction between models, agents, and contextual data. It is developed and maintained by the community. More details can be found in the official repository: MCP GitHub.

2. What is IPFS?

InterPlanetary File System (IPFS) is a distributed file system that enables decentralized data storage and sharing. It is used in MCP for storing and interacting with data, ensuring reliability and fault tolerance.

3. MCP Server Architecture Overview

Components:

- MCP Node — the core server component that processes MCP requests.
- IPFS — a decentralized storage system for handling content.
- Client — interacts with the MCP server to send and receive data.
- Claude AI — used for processing and enhancing MCP interactions.

Component Interaction:

1. The client sends a request to the MCP node.
2. The MCP node processes the request and interacts with IPFS if necessary.
3. Claude AI assists in processing and optimizing responses.
4. The response is returned to the client.

4. Deploying the MCP Server

Requirements:

- Node.js (recommended version 18+)
- NPM or Yarn

Installation

Installation will depend on whether you are using Claude Code or Claude Desktop

Claude Code

Run claude mcp add and follow the prompts with the following information:

Server Name: mcp-ipfs
Server Command: node
Command Arguments: node /ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-ipfs-server/build/index.js

Claude Desktop

Add the following config to claude_desktop_config.json

  {
  "mcpServers": {
    "ipfs-mcp": {
      "command": "node",
      "args": [
        "/Absolute/path/to/mcp-ipfs-server/build/index.js"
      ]
    }
  }
}

Automated Installation And Deployment

Use the following bash script to automate the server deployment:

```bash
#!/bin/bash

sudo apt update
sudo apt install -y wget tar git npm

wget https://github.com/ipfs/kubo/releases/download/v0.34.1/kubo_v0.34.1_linux-amd64.tar.gz

tar -xvzf kubo_v0.34.1_linux-amd64.tar.gz

cd kubo
sudo bash install.sh

ipfs init

sudo apt install ufw
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 4001/tcp
sudo ufw allow 8080/tcp
sudo ufw allow 22/tcp
sudo ufw allow 5001/tcp
sudo ufw enable
sudo ufw status

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.