Cyb MCP Server

Cyb MCP Server

An MCP server that enables AI agents to interact with the Cyber decentralized knowledge graph, allowing them to create cyberlinks between content and retrieve information from IPFS through the Cyber network.

Category
Visit Server

README

Cyb MCP Server

A Model Context Protocol (MCP) server for integrating with the Cyber. This server enables AI agents to interact with the decentralized knowledge graph, create cyberlinks, and retrieve content from IPFS through the Cyber network.

This project is a contribution to the Great Web Foundation, supporting the development of a decentralized, censorship-resistant web.

Cyb MCP Demo 1

Cyb MCP Demo 2

Features

  • sendCyberlink: Create cyberlinks between IPFS CIDs on the Cyber network using CIDs or plain texts
  • searchQuery: Search the Cyber knowledge graph and retrieve content from IPFS
  • getCyberlink: Retrieve content from IPFS by CID

Setup

  1. Install dependencies:

    npm install
    
  2. Build the project:

    npm run build
    
  3. Configure environment variables:

    # Required for all operations
    export CYBER_RPC_URL="https://rpc.bostrom.cybernode.ai"
    export CYBER_GATEWAY="https://gateway.ipfs.cybernode.ai"
    
    # Optional - only needed for sendCyberlink tool
    export CYBER_MNEMONIC="your twelve word mnemonic phrase here"
    
  4. Run the server:

    npm start
    

Usage with Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "cyb": {
      "command": "node",
      "args": ["/path/to/cyb-mcp/dist/index.js"],
      "env": {
        "CYBER_RPC_URL": "https://rpc.bostrom.cybernode.ai",
        "CYBER_GATEWAY": "https://gateway.ipfs.cybernode.ai"
      }
    }
  }
}

For sendCyberlink functionality, add mnemonic:

{
  "mcpServers": {
    "cyb": {
      "command": "node",
      "args": ["/path/to/cyb-mcp/dist/index.js"],
      "env": {
        "CYBER_MNEMONIC": "your twelve word mnemonic phrase here",
        "CYBER_RPC_URL": "https://rpc.bostrom.cybernode.ai",
        "CYBER_GATEWAY": "https://gateway.ipfs.cybernode.ai"
      }
    }
  }
}

Tools

sendCyberlink

Creates a cyberlink between two pieces of content. Requires mnemonic to be configured.

Parameters:

  • from: Source CID or text content
  • to: Target CID or text content
  • fee: Optional transaction fee object

Note: This tool will return an error if no mnemonic is provided in the configuration.

searchQuery

Searches the Cyber knowledge graph. No mnemonic required.

Parameters:

  • query: Search query (CID or text)
  • page: Page number for pagination (default: 0)
  • retrieveContent: Whether to fetch content from IPFS (default: false)
  • limit: Max results to retrieve content for (default: 5)

Returns:

  • Array of content items in the response
  • Each search result as a separate item
  • Supports both text and image content when retrieveContent is true
  • Images are automatically detected and returned as base64-encoded data

getCyberlink

Retrieves content from IPFS by CID through the Cyber gateway. No mnemonic required.

Parameters:

  • cid: IPFS CID to retrieve content for

Features:

  • Automatic image detection based on MIME type and content headers
  • Returns images as base64-encoded data with proper MCP image content type
  • Returns text content as formatted text
  • Supports PNG, JPEG, GIF, WebP, and SVG images

Usage Modes

The MCP server supports two usage modes:

Read-Only Mode (No Mnemonic)

  • Available tools: searchQuery, getCyberlink
  • Perfect for exploring and retrieving content from the Cyber network
  • No wallet or signing capabilities

Full Mode (With Mnemonic)

  • Available tools: sendCyberlink, searchQuery, getCyberlink
  • Includes wallet for creating cyberlinks and signing transactions
  • Requires mnemonic phrase for wallet access

Security

The mnemonic is stored in environment variables. Keep your mnemonic secure and never commit it to version control.

Links

  • Main Project: cyb.ai - The superintelligence for the decentralized web
  • Documentation: cyber.page - Philosophy of Great Web

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured