sacloud-mcp
An MCP server for Sakura Cloud that enables interaction with cloud resources and object storage. It allows users to manage Sakura Cloud infrastructure through natural language interfaces using the Model Context Protocol.
README
sacloud/sacloud-mcp
概要
sacloud/sacloud-mcpはさくらのクラウド向けMCPサーバです。
開発環境の構築
必要ツール
プロジェクトのクローン
git clone https://github.com/sacloud/sacloud-mcp.git
uvのインストール
より詳細なインストール方法・使用方法については、uvのドキュメントを参照してください。
curl -LsSf https://astral.sh/uv/install.sh | sh
環境構築同期
uv sync
LLMへMCPをインストール
任意のLLMへMCPをインストールする。 一例としてclaude desktopでの設定を示す。
claude desktopの設定ファイルに以下を追記する。 なお、設定ファイルの位置はOS毎に以下の通りである。
- macOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"sacloud": {
"command": "${HOME}/.local/bin/uv",
"args": [
"--directory",
"<<MCPサーバーのルートディレクトリ>>/src",
"run",
"main.py"
],
"env": {
"<<環境変数1>>": "<<値をコピーしてここへ貼り付ける>>",
"<<環境変数2>>": "<<値をコピーしてここへ貼り付ける>>"
}
}
}
}
<<>>で示された要素について、以下を参考に適宜置き換える。
- MCPサーバーのルートディレクトリ
- 例:
/Users/user/Source/sacloud-mcp
- 例:
- 環境変数
- 使用する機能に応じて環境変数を設定。
- さくらのクラウドのリソースにアクセスする場合、さくらのクラウドのAPIキーを参照して置き換える。
"ACCESS_TOKEN": "<<値をコピーしてここへ貼り付ける>>""ACCESS_TOKEN_SECRET": "<<値をコピーしてここへ貼り付ける>>"
- さくらのオブジェクトストレージにアクセスする場合、さくらのオブジェクトストレージのAPIキーを参照して置き換える。
"OBJECTSTORAGE_ACCESS_KEY_ID": "<<値をコピーしてここへ貼り付ける>>""OBJECTSTORAGE_SECRET_ACCESS_KEY": "<<値をコピーしてここへ貼り付ける>>"
- さくらのクラウドのリソースにアクセスする場合、さくらのクラウドのAPIキーを参照して置き換える。
- 使用する機能に応じて環境変数を設定。
テスト
構成について
tests/conftest.pyには、全テストファイルで利用可能なfixtureが定義されており、
すべてのテストファイルから明示的なimport不要で利用できる。
準備
環境変数から認証情報を取得するため、テスト実行前にACCESS_TOKENとACCESS_TOKEN_SECRET設定する
export ACCESS_TOKEN=xxxxxxxxxxxxxxxxxxxx
export ACCESS_TOKEN_SECRET=xxxxxxxxxxxxxxxxxxxx
export OBJECTSTORAGE_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxx
export OBJECTSTORAGE_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxx
テスト実行
uv run pytest
License
sacloud-mcp Copyright (C) 2025- The sacloud/sacloud-mcp authors.
This project is published under Apache 2.0 License.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.