floci-mcp
floci-mcp
AIエージェントがローカルの Floci インスタンス上でAWS形式のリソースをデプロイおよび管理できるようにするMCPサーバーです。「これらのパラメータでEC2インスタンスを起動して」「S3バケットとDynamoDBテーブルを作成して」などといった指示に対応します。
機能
Floci は http://localhost:4566 上で76のAWSサービスをエミュレートします。floci-mcp はそのエンドポイントを、MCP互換の任意のクライアントに3つのツールとして公開します:
aws_call(service, action, params)— Floci に対して任意のAWS API操作(任意のサービス、任意のアクション)を呼び出します。これはコアツールです。AWS APIへの薄いパススルーであるため、操作ごとに手作りのツールを用意することなく、76すべてのサービスをカバーします。floci_status()— Floci に到達可能かどうかを確認します。floci_inventory()— S3、DynamoDB、Lambda、EC2、SQS、SNS、ECS、RDS に現在デプロイされているものを1回の呼び出しで要約します。
Related MCP server: AWS MCP Server
前提条件
Python 3.10+
実行中の Floci インスタンス — Floci README で
floci startまたは Docker セットアップを参照してください。
インストール
クローンから(まだ PyPI に公開されていません):
git clone https://github.com/Awilliv/floci-mcp.git
cd floci-mcp
pip install -e .PyPI に公開されたら:
pip install floci-mcp設定
環境変数(すべてオプション):
Variable | Default | Purpose |
|
| Floci の HTTP エンドポイント |
|
| すべての boto3 クライアントに渡されるリージョン |
|
| 認証情報。12桁の値で Floci アカウントを選択します(マルチアカウント分離) |
|
| 認証情報(空でない値なら Floci に対して機能します) |
使用例
MCP クライアントに登録したら、エージェントに次のようなことを依頼します:
「t3.micro インスタンスタイプで ami-00000000 を使用して EC2 インスタンスを起動して」
「
reportsという S3 バケットと、パーティションキーidを持つusersという DynamoDB テーブルを作成して」
エージェントはこれらを aws_call を通じて実行します。エージェントは AWS API のパラメータ形状をすでに知っているため、動作するためにサービスごとのツールは必要ありません。
MCP クライアントへの登録
Claude Code
ここで AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY を明示的に設定することで(起動シェルの環境に依存するのではなく)、他の場所で実際の AWS 認証情報をエクスポートしている場合に、誤ってリクエストに署名してしまうことを防ぎます。
claude mcp add floci -- floci-mcpまたは .mcp.json に追加:
{
"mcpServers": {
"floci": {
"command": "floci-mcp",
"env": {
"FLOCI_ENDPOINT_URL": "http://localhost:4566",
"AWS_ACCESS_KEY_ID": "test",
"AWS_SECRET_ACCESS_KEY": "test"
}
}
}
}Claude Desktop
claude_desktop_config.json に追加:
{
"mcpServers": {
"floci": {
"command": "floci-mcp",
"env": {
"FLOCI_ENDPOINT_URL": "http://localhost:4566",
"AWS_ACCESS_KEY_ID": "test",
"AWS_SECRET_ACCESS_KEY": "test"
}
}
}
}Open WebUI (via mcpo)
Open WebUI は MCP を直接話すのではなく、OpenAPI/ツール呼び出しを話します。floci-mcp を mcpo で前面に配置して、OpenAPI サーバーとして公開します:
pip install mcpo
mcpo --port 8000 -- floci-mcp次に Open WebUI で、Settings → Tools → Add a Tool Server に移動し、http://localhost:8000 を追加します。mcpo は起動する floci-mcp プロセスに環境変数を渡すので、mcpo を実行するシェルで FLOCI_ENDPOINT_URL などを事前に設定してください。
開発
pip install -e ".[test]"
pytesttests/test_integration.py の統合テストは、実行中の Floci インスタンスを必要とし、到達できない場合は自動的にスキップされます。
ライセンス
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI agents to deploy applications to AWS with DevOps capabilities by automatically inferring infrastructure needs from code and generating inspectable Infrastructure as Code specifications.1515Apache 2.0
- AlicenseBqualityDmaintenanceEnables management and provisioning of AWS resources like EC2, S3, and RDS using natural language prompts through the Model Context Protocol. It allows users to automate complex infrastructure tasks, such as setting up VPCs and security groups, via a chat interface.54927MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with AWS services (EC2, S3, Lambda, DynamoDB, etc.) through the Model Context Protocol, allowing natural language management of cloud resources.2
- AlicenseNot gradedqualityFmaintenanceProvides conversational access to LocalStack AWS services (S3, DynamoDB, Lambda, SQS) through natural language, enabling local cloud infrastructure management without real AWS costs.MIT
Related MCP Connectors
Compare, estimate, and deploy cloud infrastructure across AWS, GCP, and Azure for AI agents.
Designs, prices, and deploys AWS/GCP cloud infrastructure from plain-English requirements.
Create and manage AI agents that collaborate and solve problems through natural language interacti…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Awilliv/floci-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server