Qiniu MCP Server logo

Qiniu MCP Server

by qiniu

Qiniu MCP Server allows AI large language model clients to access Qiniu Cloud storage and intelligent multimedia services within their context. It's built on Qiniu Cloud products and supports the Model Context Protocol (MCP).

View on GitHub

Last updated: N/A

What is Qiniu MCP Server?

Qiniu MCP Server is a Model Context Protocol (MCP) server built on Qiniu Cloud products. It enables AI large language model clients to access Qiniu Cloud storage and intelligent multimedia services within the context of the client.

How to use Qiniu MCP Server?

  1. Install Python 3.12+ and uv package manager.
  2. Clone the repository and navigate into it.
  3. Create and activate a virtual environment using uv.
  4. Install dependencies using uv pip install -e ..
  5. Configure the .env file with Qiniu access keys, region information, and bucket names.
  6. Start the server using uv --directory . run qiniu-mcp-server (stdio mode) or uv --directory . run qiniu-mcp-server --transport sse --port 8000 (SSE mode).

Key features of Qiniu MCP Server

  • Access to Qiniu Cloud Storage

  • Access to Qiniu Intelligent Multimedia Services

  • Support for Model Context Protocol (MCP)

  • Configurable bucket access

  • SSE mode for Web applications

Use cases of Qiniu MCP Server

  • Listing Qiniu resources

  • Listing all Buckets

  • Listing files in a specific Bucket

  • Reading file content from a Bucket

  • Performing image processing operations (e.g., cropping, rounding corners)

  • Refreshing CDN links

FAQ from Qiniu MCP Server

What is the Model Context Protocol (MCP)?

MCP allows AI models to access external resources and services within the context of a user's request.

What are the prerequisites for installing Qiniu MCP Server?

Python 3.12 or higher and the uv package manager are required.

How do I configure the Qiniu MCP Server?

You need to configure the .env file with your Qiniu access key, secret key, region name, endpoint URL, and bucket names.

How do I start the server?

You can start the server in stdio mode using uv --directory . run qiniu-mcp-server or in SSE mode using uv --directory . run qiniu-mcp-server --transport sse --port 8000.

How can I test the Qiniu MCP Server?

It is recommended to use the Model Control Protocol Inspector for testing. Alternatively, you can use the Cline plugin in VS Code.