Skip to main content
Glama
FalkorDB

FalkorDB MCP Server

Official
by FalkorDB

FalkorDB MCP 服务器

FalkorDB 的模型上下文协议 (MCP) 服务器,允许 AI 模型查询和与图形数据库交互。

概述

该项目实现了一个遵循模型上下文协议 (MCP) 规范的服务器,用于将 AI 模型与 FalkorDB 图形数据库连接起来。该服务器负责转换 MCP 请求并将其路由到 FalkorDB,并根据 MCP 标准格式化响应。

Related MCP server: W3 MCP FalkorDB Server

先决条件

  • Node.js(v16 或更高版本)

  • npm 或 yarn

  • FalkorDB实例(可以在本地或远程运行)

安装

  1. 克隆此存储库:

    git clone https://github.com/falkordb/falkordb-mcpserver.git
    cd falkordb-mcpserver
  2. 安装依赖项:

    npm install
  3. 复制示例环境文件并进行配置:

    cp .env.example .env

    使用您的配置详细信息编辑.env

配置

配置通过.env文件中的环境变量进行管理:

  • PORT :服务器端口(默认值:3000)

  • NODE_ENV :环境(开发、生产)

  • FALKORDB_HOST :FalkorDB 主机(默认值:localhost)

  • FALKORDB_PORT :FalkorDB 端口(默认值:6379)

  • FALKORDB_USERNAME :FalkorDB 身份验证的用户名(如果需要)

  • FALKORDB_PASSWORD :FalkorDB 身份验证的密码(如果需要)

  • MCP_API_KEY :用于验证 MCP 请求的 API 密钥

用法

发展

使用热重载启动开发服务器:

npm run dev

生产

构建并启动服务器:

npm run build
npm start

API 端点

  • GET /api/mcp/metadata :获取有关 FalkorDB 实例和可用功能的元数据

  • POST /api/mcp/context :针对 FalkorDB 执行查询

  • GET /api/mcp/health :检查服务器健康状况

  • GET /api/mcp/graphs :返回图表列表

MCP 配置

要将此服务器与 MCP 客户端一起使用,您可以将其添加到您的 MCP 配置中:

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

对于客户端配置:

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

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
3wRelease cycle
7Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to interact with an embedded graph database (GrafeoDB) via the Model Context Protocol, providing tools for graph CRUD, GQL queries, full-text and vector search, and graph algorithms.
    23
    4
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Model Context Protocol (MCP) server for TigerGraph that lets AI agents interact with TigerGraph through the MCP standard using pyTigerGraph's async APIs.
    3
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • A Model Context Protocol server for Wix AI tools

  • Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FalkorDB/FalkorDB-MCPServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server