Akave MCP Server
Enables AI models to interact with Akave's S3-compatible storage by providing tools for managing storage buckets and objects through standardized Model Context Protocol (MCP).
README
Akave MCP Server
A Model Context Protocol (MCP) server that enables AI models to interact with Akave's S3-compatible storage. This server provides a set of tools for managing your Akave storage buckets and objects through AI models like Claude and local LLMs.
What is MCP?
The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). Think of MCP like a USB-C port for AI applications - it provides a standardized way to connect AI models to different data sources and tools.
Features
- List and manage buckets
- Upload, download, and manage objects
- Generate signed URLs for secure access
- Support for both Claude and local LLMs (via Ollama)
- Simple configuration through JSON
Prerequisites
- Node.js 16+
- Access to an Akave account with:
- Access Key ID
- Secret Access Key
- Endpoint URL
- For local LLM support:
- Go 1.23 or later
- Ollama installed
Quick Start
Create a configuration file (e.g., mcp.json):
{
"mcpServers": {
"akave": {
"command": "npx",
"args": [
"-y",
"akave-mcp-js"
],
"env": {
"AKAVE_ACCESS_KEY_ID": "your_access_key",
"AKAVE_SECRET_ACCESS_KEY": "your_secret_key",
"AKAVE_ENDPOINT_URL": "your_endpoint_url"
}
}
}
}
Usage with Claude Desktop
-
Download and install Claude for Desktop (macOS or Windows)
-
Open Claude Desktop Settings:
- Click on the Claude menu
- Select "Settings..."
- Click on "Developer" in the left-hand bar
- Click on "Edit Config"
-
This will create/update the configuration file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the Akave MCP server configuration to the file:
{
"mcpServers": {
"akave": {
"command": "npx",
"args": [
"-y",
"akave-mcp-js"
],
"env": {
"AKAVE_ACCESS_KEY_ID": "your_access_key",
"AKAVE_SECRET_ACCESS_KEY": "your_secret_key",
"AKAVE_ENDPOINT_URL": "your_endpoint_url"
}
}
}
}
-
Restart Claude Desktop
-
You should see a slider icon in the bottom left corner of the input box. Click it to see the available Akave tools.
Usage with Local LLMs (Ollama)
- Install MCPHost:
go install github.com/mark3labs/mcphost@latest
- Start MCPHost with your preferred model using the same configuration file:
# Using default config location
mcphost -m ollama:mistral
# Or specify a custom config file
mcphost -m ollama:mistral --config /path/to/your/mcp.json
# For debugging
mcphost --debug -m ollama:mistral --config /path/to/your/mcp.json
You can use any Ollama model, for example:
ollama:mistralollama:qwen2.5ollama:llama2
Available Tools
The server provides the following MCP tools:
list_buckets: List all buckets in your Akave storagelist_objects: List objects in a bucket with optional prefix filteringget_object: Read object contents from a bucketput_object: Write a new object to a bucketget_signed_url: Generate a signed URL for secure access to an objectupdate_object: Update an existing objectdelete_object: Delete an object from a bucketcopy_object: Copy an object to another locationcreate_bucket: Create a new bucketdelete_bucket: Delete a bucketget_bucket_location: Get the region/location of a bucketlist_object_versions: List all versions of objects (if versioning enabled)
Example Usage
Listing Buckets
# The AI model will automatically use the list_buckets tool
List all my buckets
Reading a File
# The AI model will use the get_object tool
Read the file 'example.md' from bucket 'my-bucket'
Uploading a File
# The AI model will use the put_object tool
Upload the content 'Hello World' to 'greeting.txt' in bucket 'my-bucket'
Troubleshooting
Common Issues
-
Connection Refused
- Ensure your Akave credentials are correct in the MCP configuration
- Check if the endpoint URL is accessible
- Verify your network connection
-
File Reading Issues
- For markdown files, ensure proper encoding
- For binary files, use appropriate tools
- Check file permissions
-
Local LLM Issues
- Ensure Ollama is running
- Verify model compatibility
- Check MCPHost configuration
- Use
--debugflag for detailed logs
-
Claude Desktop Issues
- Check logs at:
- macOS:
~/Library/Logs/Claude/mcp*.log - Windows:
%APPDATA%\Claude\logs\mcp*.log
- macOS:
- Ensure Node.js is installed globally
- Verify the configuration file syntax
- Try restarting Claude Desktop
- Check logs at:
Contributing
Contributions are welcome! Please feel free to submit an issue or a pull request.
Support
For issues and feature requests, please create an issue in the GitHub repository.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。