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).
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?
- Install Python 3.12+ and uv package manager.
- Clone the repository and navigate into it.
- Create and activate a virtual environment using uv.
- Install dependencies using
uv pip install -e .
. - Configure the
.env
file with Qiniu access keys, region information, and bucket names. - Start the server using
uv --directory . run qiniu-mcp-server
(stdio mode) oruv --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)?
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?
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?
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?
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?
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.