Spring Boot AI Cloudflare R2 MCP Server

Spring Boot AI Cloudflare R2 MCP Server

spring-boot-ai-cloudflare-r2-mcp-server•bylskun

A Model Context Protocol server built with Spring Boot and Spring AI that integrates with Cloudflare R2 object storage.

License: MIT License•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Provides complete Cloudflare R2 object storage operation support through MCP tools.
  • •Supports bucket operations including listing, creating, and deleting buckets.
  • •Handles object operations such as upload, download, listing, metadata retrieval, and deletion.
  • •Handles multiple content formats including text, base64, and file path.

BEST FOR

  • •Developers who want to expose Cloudflare R2 storage operations to AI clients via MCP.
  • •Java teams using Spring AI that need R2 bucket and object management tools.

ABOUT SPRING-BOOT-AI-CLOUDFLARE-R2-MCP-SERVER

Spring Boot AI Cloudflare R2 MCP Server is cataloged as an MCP server attributed to lskun. A Model Context Protocol server built with Spring Boot and Spring AI that integrates with Cloudflare R2 object storage. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Spring Boot AI Cloudflare R2 MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What R2 operations does the server support?

It supports listing buckets, creating and deleting buckets, uploading and downloading objects, listing objects in a bucket, getting object metadata, and deleting objects.

What technologies is the server built on?

It is built on Spring Boot 3.4.4 and Spring AI 1.0.0-M6, with R2ServiceClient handling R2 operations and McpConfiguration defining MCP tools.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 24bc3cce8ad3 · 采集于 2026-11-13 11:00:19 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Spring Boot AI Cloudflare R2 MCP Server

English | 简体中文

Introduction

Spring Boot AI Cloudflare R2 MCP Server is a Model Context Protocol (MCP) server implementation based on Spring Boot and Spring AI, providing integration with Cloudflare R2 object storage service.

Project Structure

src/main/java/com/lskun/mcp/
├── SpringBootAiCloudflareR2McpServerApplication.java (Application entry)
├── config/
│   └── McpConfiguration.java (MCP configuration class)
└── service/
    └── R2ServiceClient.java (R2 service client)

Features

  • Complete Cloudflare R2 object storage operation support
  • Integration with Spring AI's MCP server
  • Support for various file types (text, binary, etc.)
  • Comprehensive test coverage
  • Easy configuration and deployment

Prerequisites

  • JDK 17 or above
  • Maven 3.6 or above
  • Cloudflare R2 account and credentials

Configuration

Create or modify application.properties with your R2 credentials:

r2.access-key-id=${R2_ACCESS_KEY_ID}
r2.secret-access-key=${R2_SECRET_ACCESS_KEY}
r2.endpoint=${R2_ENDPOINT}

Quick Start

  1. Clone the repository:
git clone https://github.com/lskun/spring-boot-ai-cloudflare-r2-mcp-server.git
  1. Set up environment variables:
export R2_ACCESS_KEY_ID=your_access_key_id
export R2_SECRET_ACCESS_KEY=your_secret_access_key
export R2_ENDPOINT=your_r2_endpoint
  1. Build the project:
mvn clean package
  1. Run integration tests:
# Run all tests in R2ServiceClientTest
mvn test -Dtest=R2ServiceClientTest

# Or run a specific test method
mvn test -Dtest=R2ServiceClientTest#testListBuckets

The test suite includes comprehensive tests for all R2 operations:

  • Bucket operations (list, create, delete)
  • Object operations (upload, download, list, delete)
  • Content format handling (text, base64, file path)
  • Object metadata management

API Reference

The service provides the following main functionalities:

  • List buckets
  • Create/Delete buckets
  • Upload/Download objects
  • List objects in bucket
  • Get object metadata
  • Delete objects

Development

The project uses Spring Boot 3.4.4 and Spring AI 1.0.0-M6. Main components include:

  • R2ServiceClient: Core service class for R2 operations
  • McpConfiguration: MCP tool configuration
  • Integration tests for all operations

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

License

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

Contact

If you have any questions or suggestions, please feel free to create an issue.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Spring Boot AI Cloudflare R2 MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/spring-boot-ai-cloudflare-r2-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage