RI

ryft-io/iceberg-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

41 stars 5 forks 质量 63 趋势 0Apache-2.0

ryft-io/iceberg-mcp 是从 https://github.com/ryft-io/iceberg-mcp. 导入的 MCP 服务器候选。

概览

ryft-io/iceberg-mcp 是从 https://github.com/ryft-io/iceberg-mcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

AI原生湖屋集成

IcebergMCP 是一款模型上下文协议(MCP)服务器,允许你使用自然语言在 Claude、光标或其他 MCP 客户端中与 Apache Iceberg™ Lakehouse 交互。

目录

  • 安装
  • 先决条件
  • 克洛德
  • 光标
  • 配置
  • 可用工具
  • 示例
  • 局限性与安全考量
  • 贡献

安装

先决条件

  • Apache Iceberg™ 目录,由 AWS Glue 管理
  • 在机器上配置的AWS配置文件,可访问目录
  • uv 包管理器 - 通过 brew install uv 安装或参见官方安装指南

克劳德

  1. 在Claude里,进入开发者设置>>编辑配置 > claude_desktop_config.json

  2. 添加以下内容:

光标

  1. 在光标内,进入设置 -> 光标设置 -> MCP -> 添加新的全局 MCP 服务器

  2. 添加以下内容:

配置

可以使用环境变量来配置AWS连接:

  • ICEBERG_MCP_PROFILE - AWS 配置文件名称。该角色将被承担并用于连接目录和对象存储。如果未指定,将使用默认角色。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

IcebergMCP is a Model Context Protocol (MCP) server that lets you interact with your Apache Iceberg™ Lakehouse using natural language in Claude, Cursor, or any other MCP client.

Table of Contents

Installation

Prerequisites

  • Apache Iceberg™ catalog managed in AWS Glue
  • AWS profile configured on the machine, with access to the catalog
  • uv package manager - install via brew install uv or see official installation guide

Claude

  1. Inside Claude, go to Settings > Developer > Edit Config > claude_desktop_config.json

  2. Add the following:

{
  "mcpServers": {
    "iceberg-mcp": {
      "command": "uv", // If uv can't be found, replace with full absolute path to uv
      "args": [
        "run",
        "--with",
        "iceberg-mcp",
        "iceberg-mcp"
      ],
      "env": {
        "ICEBERG_MCP_PROFILE": ""
      }
    }
  }
}

Cursor

  1. Inside Cursor, go to Settings -> Cursor Settings -> MCP -> Add new global MCP server

  2. Add the following:

{
  "mcpServers": {
    "iceberg-mcp": {
      "command": "uv", // If uv can't be found, replace with full absolute path to uv
      "args": [
        "run",
        "--with",
        "iceberg-mcp",
        "iceberg-mcp"
      ],
      "env": {
        "ICEBERG_MCP_PROFILE": ""
      }
    }
  }
}

Configuration

Environment variables can be used to configure the AWS connection:

  • ICEBERG_MCP_PROFILE - The AWS profile name to use. This role will be assumed and used to connect to the catalog and the object storage. If not specified, the default role will be used.
  • ICEBERG_MCP_REGION - The AWS region to use. This is used to determine the catalog and object storage location. us-east-1 by default.

Available Tools

The server provides the following tools for interacting with your Apache Iceberg™ tables:

  • get_namespaces: Gets all namespaces in the Apache Iceberg™ catalog
  • get_iceberg_tables: Gets all tables for a given namespace
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "iceberg-mcp": { "command": "uv", // If uv can't be found, replace with full absolute path to uv "args": [ "run", "--with", "iceberg-mcp", "iceberg-mcp" ], "env": { "ICEBERG_MCP_PROFILE": "<aws-profile-name>" } } } }