1. Conduid
  2. Cloud
  3. Spring Boot AI Cloudflare R2 MCP Server
MCP server · Cloud

Spring Boot AI Cloudflare R2 MCP Server

Spring Boot AI Cloudflare R2 MCP Server - 一个基于Spring Boot和Spring AI的Cloudflare R2对象存储MCP服务器实现

Unclaimed cloud
34Low

Scored 6 months ago · breakdown

About Spring Boot AI Cloudflare R2 MCP Server

Spring Boot AI Cloudflare R2 MCP Server is an MCP server in the Cloud category: spring Boot AI Cloudflare R2 MCP Server - 一个基于Spring Boot和Spring AI的Cloudflare R2对象存储MCP服务器实现.

Install

From source
git clone https://github.com/lskun/spring-boot-ai-cloudflare-r2-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Spring Boot AI Cloudflare R2 MCP Server

Powered by Claude · Grounded in docs

I know everything about Spring Boot AI Cloudflare R2 MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

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.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Spring Boot AI Cloudflare R2 MCP Server

How do I install Spring Boot AI Cloudflare R2 MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Spring Boot AI Cloudflare R2 MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Spring Boot AI Cloudflare R2 MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.