Cover image
Try Now
2025-04-01

FalkordB MCP服务器

3 years

Works with Finder

3

Github Watches

2

Github Forks

6

Github Stars

FalkorDB MCP Server

A Model Context Protocol (MCP) server for FalkorDB, allowing AI models to query and interact with graph databases.

Overview

This project implements a server that follows the Model Context Protocol (MCP) specification to connect AI models with FalkorDB graph databases. The server translates and routes MCP requests to FalkorDB and formats the responses according to the MCP standard.

Prerequisites

  • Node.js (v16 or later)
  • npm or yarn
  • FalkorDB instance (can be run locally or remotely)

Installation

  1. Clone this repository:

    git clone https://github.com/falkordb/falkordb-mcpserver.git
    cd falkordb-mcpserver
    
  2. Install dependencies:

    npm install
    
  3. Copy the example environment file and configure it:

    cp .env.example .env
    

    Edit .env with your configuration details.

Configuration

Configuration is managed through environment variables in the .env file:

  • PORT: Server port (default: 3000)
  • NODE_ENV: Environment (development, production)
  • FALKORDB_HOST: FalkorDB host (default: localhost)
  • FALKORDB_PORT: FalkorDB port (default: 6379)
  • FALKORDB_USERNAME: Username for FalkorDB authentication (if required)
  • FALKORDB_PASSWORD: Password for FalkorDB authentication (if required)
  • MCP_API_KEY: API key for authenticating MCP requests

Usage

Development

Start the development server with hot-reloading:

npm run dev

Production

Build and start the server:

npm run build
npm start

API Endpoints

  • GET /api/mcp/metadata: Get metadata about the FalkorDB instance and available capabilities
  • POST /api/mcp/context: Execute queries against FalkorDB
  • GET /api/mcp/health: Check server health
  • GET /api/mcp/graphs: Returns the list of Graphs

MCP Configuration

To use this server with MCP clients, you can add it to your MCP configuration:

{
  "mcpServers": {
    "falkordb": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-p", "3000:3000",
        "--env-file", ".env",
        "falkordb-mcpserver",
        "falkordb://host.docker.internal:6379"
      ]
    }
  }
}

For client-side configuration:

{
  "defaultServer": "falkordb",
  "servers": {
    "falkordb": {
      "url": "http://localhost:3000/api/mcp",
      "apiKey": "your_api_key_here"
    }
  }
}

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • albert tan
  • Japanese education, creating tailored learning experiences.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

    Reviews

    3 (1)
    Avatar
    user_coYAT1Gc
    2025-04-16

    The CF-MCP-Server by turinhub is an exceptional product! It offers seamless integration and robust performance, making my MCP applications run flawlessly. Highly recommended for anyone seeking a reliable server solution. Discover more here: https://mcp.so/server/cf-mcp-server/turinhub