floci-ui

mcp
Security Audit
Fail
Health Pass
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 552 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in .github/workflows/release.yml
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Any Cloud. Locally. Web console and MCP server for the Floci emulators: AWS, Azure, GCP and OCI.

README.md

Floci UI Floci UI

Any Cloud. Locally.
The web console for Floci: browse and manage AWS, Azure, GCP and OCI resources on your machine.

Latest Release CI Status Docker Pulls Docker Image Size License: MIT

Quick Start · Features · MCP · Services · Architecture · Development · Troubleshooting

Floci UI console


What is Floci UI?

A Web UI for the Floci local emulators. It emulates nothing itself: the API turns the UI's requests into real cloud-SDK calls against the runtimes you already run, and the UI shows only what they return. No demo rows, no mock metrics, real empty states.

Emulator Cloud Port
floci AWS 4566
floci-az Azure 4577
floci-gcp GCP 4588
floci-oci OCI 4599

Quick Start

docker compose up                              # AWS only
docker compose --profile multicloud up         # AWS + Azure + GCP + OCI

Open http://localhost:4500.

Other ways to run it

From Floci itself. Floci starts the console on demand at http://localhost:4566/_floci/ui (needs the Docker socket mounted; see the Floci docs).

Podman. floci mounts the host container socket to start Lambda and Postgres containers, and rootless Podman has no /var/run/docker.sock. Point the mount at Podman's Docker-compatible socket in a .env file:

echo "FLOCI_CONTAINER_SOCKET=$XDG_RUNTIME_DIR/podman/podman.sock" >> .env
podman-compose up

Without it, up aborts with statfs /var/run/docker.sock: no such file or directory and no service starts.

Single image, UI and API on one port:

docker run -p 4500:4500 -e FLOCI_ENDPOINT=http://host.docker.internal:4566 floci/floci-ui

Features

  • One console, four clouds. Pick the cloud in Settings; the nav is built from what each runtime supports.
  • Generic Cloud Explorer. List, search, create, inspect (Plain Text, JSON and Table views) and delete, with multi-select and bulk delete. Every service renders from a schema.
  • Tools for AI agents. The same adapters as an MCP server, one Docker or npx command away.
  • Honest availability. A service without an adapter, or one the runtime cannot serve yet, is a disabled row with the reason in its tooltip.
  • Rich workspaces where a flat form is not enough:
Area What you get
Storage Object browser with prefixes, upload, download, copy, delete; Empty bucket for S3, including object versions and delete markers
Databases DynamoDB records with paged scans, key queries on the table or a secondary index, and a PartiQL editor; Cosmos DB, Azure SQL / PostgreSQL and Aurora DSQL data explorers with a query editor (DSQL signs in with an IAM token); RDS update and snapshots
Compute EC2 launch, power actions, AMIs, tags, console output; EKS nodegroups and Fargate profiles; Lambda invoke with tailed logs
Networking VPC wizard, subnets, security groups, gateways, route tables, Elastic IPs
Messaging SQS send, receive and purge
Workflows and logs Step Functions execution history; CloudWatch Logs streams, events and Logs Insights; GCP Cloud Logging entries with severity and time filters
Security Secrets (reveal on demand), KMS encrypt and decrypt, IAM users, roles and policies, Payment Cryptography keys and their public certificates
Email SES mailbox with HTML, text and raw MIME preview
Settings Light, dark or system theme; account and AWS region switchers

For SES raw messages, the mailbox decodes the captured MIME headers and bodies
for search and preview while preserving the original RawData. Explicit fields
returned by the runtime take precedence over MIME-derived values. Messages that
cannot be parsed remain available in the raw view.

MCP server for AI agents

The adapters behind the console are also an MCP server,
floci-mcp, so an agent (Claude Code, Cursor, Codex, Claude Desktop, Kiro, ...) can work with all four
emulators through one set of tools. Start the emulators you need first (floci aws start, or
docker compose up); the server finds them on their usual ports.

With the Floci agent plugin (Claude Code), the server comes with the plugin, nothing else to set up:

/plugin marketplace add floci-io/floci-cli
/plugin install floci@floci

With Docker, which every Floci setup already has:

claude mcp add floci -- docker run -i --rm --add-host=host.docker.internal:host-gateway floci/floci-mcp

With Podman, the same command with podman run.

With Node 20 or later:

claude mcp add floci -- npx -y @floci/mcp

With the console already running, it serves the same tools over HTTP, with nothing to install:

claude mcp add --transport http floci http://localhost:4500/api/mcp

Other clients take the same command in their MCP configuration. Cursor (.cursor/mcp.json), Claude
Desktop (claude_desktop_config.json), Windsurf and Kiro use this shape (or "command": "npx",
"args": ["-y", "@floci/mcp"]):

{
  "mcpServers": {
    "floci": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--add-host=host.docker.internal:host-gateway", "floci/floci-mcp"]
    }
  }
}

Codex (~/.codex/config.toml):

[mcp_servers.floci]
command = "docker"
args = ["run", "-i", "--rm", "--add-host=host.docker.internal:host-gateway", "floci/floci-mcp"]

To check it, ask the agent to call floci_status: it lists each cloud, its endpoint and whether the
emulator answers.

There are eleven tools, driven by each service's schema, so every service in the console is reachable with
no per-service tool:

Tool Does
floci_status Which emulators are offered and whether each answers
connection_info How code, tests and CLIs reach one emulator: endpoint, account, region or project, and the variables floci <cloud> env exports
list_services The services of one cloud
describe_service A service's create fields, filters, update fields and the run_action names it offers now
list_resources, get_resource Read resources
create_resource, update_resource, delete_resource, update_tags Change resources
run_action A service's own actions: invoke, sendMessage, receiveMessages, object.upload, object.download, item.query, encrypt, start, ...

The server reads the configuration variables. The ones that matter most here:

Variable Use
FLOCI_ENDPOINT, FLOCI_AZURE_ENDPOINT, FLOCI_GCP_ENDPOINT, FLOCI_OCI_ENDPOINT An emulator on another port, for example a second instance: docker run -i --rm --add-host=host.docker.internal:host-gateway -e FLOCI_ENDPOINT=http://host.docker.internal:4567 floci/floci-mcp
FLOCI_EMULATOR_HOST The host all four default endpoints name: localhost, and host.docker.internal in the image
FLOCI_CLOUD Offer one cloud only (aws, az, gcp or oci)
FLOCI_MCP_READ_ONLY true offers only the tools and actions that change nothing
FLOCI_CLIENT_HOST The host connection_info tells clients to use when the server reaches the emulators by another name, such as localhost when the endpoints name Docker Compose services. host.docker.internal is reported as localhost without it
FLOCI_MCP false turns off the console's /api/mcp route

floci-mcp --http [--port N] serves Streamable HTTP on /mcp instead of stdio (PORT, default
4502). The HTTP routes refuse browser requests from origins outside CORS_ALLOWED_ORIGINS. On Linux,
--add-host=host.docker.internal:host-gateway is what lets the container reach the emulators on the
host; Docker Desktop and Podman have the name already. From a checkout, bun run packages/api/src/mcp.ts runs the
server from source.

Supported Services

Generated from the service catalog and adapter registry, so it never drifts. After changing either, run cd packages/api && bun run scripts/service-matrix.ts.

Group Service AWS Azure GCP OCI
Compute Compute ✅ ✅ ✅ –
Compute k8s Engine (AWS: EKS, Azure: AKS, GCP: GKE, OCI: OKE) 👁 👁 ✅ ✅
Compute Serverless (OCI: Functions) ✅ ✅ ✅ ✅
Compute Containers (AWS: ECS, Azure: Container Apps, GCP: Cloud Run) ✅ ✅ ✅ –
Compute Container Registry (AWS: ECR) ✅ ✅ – –
Compute Machine Learning (AWS: SageMaker AI) ✅ – – –
Storage Storage ✅ ✅ ✅ ✅
Storage Storage Tables (Azure: Table Storage) – ✅ – –
Databases Database ✅ ✅ ✅ ✅
Databases Distributed SQL (AWS: Aurora DSQL) ✅ – – –
Databases Cache (AWS: ElastiCache, Azure: Azure Cache for Redis) ✅ ✅ – –
Databases NoSQL (AWS: DynamoDB, Azure: Cosmos DB NoSQL, GCP: Firestore) ✅ ✅ ✅ –
Databases Search (AWS: OpenSearch) ✅ – – –
Databases Analytics (AWS: Athena, GCP: BigQuery) ✅ – ✅ –
Networking Networking 👁 ✅ ✅ –
Networking Load Balancing (AWS: ELB) ✅ – – –
Networking CDN (AWS: CloudFront) ✅ – – –
Networking DNS (AWS: Route 53) ✅ – – –
Integration Messaging (AWS: SQS, GCP: Pub/Sub, OCI: Queue) ✅ ✅ ✅ ✅
Integration API Gateway (Azure: API Management) ✅ 👁 – –
Integration Notifications (AWS: SNS) ✅ – – –
Integration Storage Queues (Azure: Queue Storage) – ✅ – –
Integration Streams (AWS: Kinesis, Azure: Event Hubs, GCP: Managed Kafka, OCI: Streaming) ✅ ✅ ✅ ✅
Integration Events (AWS: EventBridge, Azure: Event Grid, GCP: Eventarc) ✅ ✅ ✅ –
Integration Event Buses (AWS: EventBridge V2) ✅ – – –
Integration Email (AWS: SES Mailbox) 👁 – – –
Integration Scheduler (AWS: EventBridge Scheduler, GCP: Cloud Scheduler) ✅ – ✅ –
Integration Workflows (AWS: Step Functions) ✅ – – –
Provisioning Infrastructure as Code (AWS: CloudFormation, Azure: ARM Deployments) ✅ 👁 – –
Provisioning Configuration (AWS: AppConfig, Azure: App Configuration) ✅ ✅ – –
Provisioning CI/CD (AWS: CodeBuild) ✅ – – –
Provisioning Organizations – – – 👁
Provisioning Governance Rules – – – 👁
Security Identity ✅ ✅ ✅ ✅
Security User Sign-in (AWS: Cognito, GCP: Identity Platform) ✅ – 👁 –
Security Secrets (AWS: Secrets Manager, Azure: Key Vault, GCP: Secret Manager, OCI: Vault Secrets) ✅ ✅ ✅ ✅
Security Key Management (AWS: KMS, Azure: Key Vault Keys, GCP: Cloud KMS, OCI: Vault) ✅ ✅ 👁 ✅
Security Certificates (AWS: ACM, Azure: Key Vault Certificates) ✅ ✅ – –
Security Payment Cryptography ✅ – – –
Security Parameters (AWS: Parameter Store) ✅ – – –
Observability Logs (AWS: CloudWatch Logs, GCP: Cloud Logging) ✅ – 👁 –
Observability Monitoring (AWS: CloudWatch, GCP: Cloud Monitoring) ✅ – ✅ –
Observability Tracing (AWS: X-Ray) 👁 – – –
Observability Operations (OCI: Work Requests) – – – 👁

✅ list, inspect, create, delete · 👁 read-only or partial · ⏳ adapter registered, runtime gap · – not available

AWS X-Ray lists the traces of the last hour, filtered by a search box, and inspects one trace's segments and services; it is read-only here, because traces are written by an instrumented app, an SDK or the X-Ray daemon. The window is fixed and there is no expression filter, because the shared view renders neither. Verified with SDK-mocked adapter tests and against a local Floci running with traces the CLI and the daemon wrote. It needs a Floci build that includes the X-Ray API from floci-io/floci#7733: against floci/floci:latest-compat, which does not serve it yet, the service is listed as coming soon with that reason, and a direct list call answers 501 operation_not_implemented instead of a not found error.

AWS EventBridge Scheduler list, inspect, create, and delete are verified with SDK-mocked adapter tests. Live Floci runtime integration has not been exercised.

AWS EventBridge V2 event buses and SQS subscribers: list, inspect, create, and delete are verified with SDK-mocked adapter tests. Live Floci runtime integration has not been exercised.

Known runtime gaps (the adapter is ready, the emulator is not):

  • RDS CreateDBSnapshot: Floci answers 501; listing works.
  • AKS clusters never leave Failed locally, so AKS stays read-only.

Adding a service is a catalog row, a schema and an adapter, with no frontend change. See AGENTS.md.

Azure console home with services grouped by category

Architecture

floci-unified-ui-architecture.png

Browser → /api/clouds/* → Cloud Adapter Registry → provider adapter → local runtime

The UI knows no cloud, the proxy knows no implementation, adapters translate, runtimes execute. Code lives in packages/api (Bun, Hono, AWS SDK v3) and packages/frontend (React, Vite).

Development

Requires Node 22.22+ or 24.15+, pnpm 9+, Bun, and a running Floci (docker compose up floci is enough).

pnpm install
cp .env.example packages/api/.env
pnpm dev                 # UI :4500 + API :4501

Before opening a PR:

pnpm lint && pnpm type-check && pnpm test && pnpm build

Frontend e2e tests use mocked /api/* and need no emulator: pnpm --filter @floci/frontend test:e2e.

Configuration

Set in packages/api/.env (defaults shown).

Variable Default
FLOCI_CLOUD unset: a standalone console that serves every cloud and opens on AWS. An emulator that starts the console sets its own cloud (aws, az, gcp or oci), and the console then serves that cloud alone
FLOCI_ENDPOINT http://localhost:4566. The endpoint of the emulator named by FLOCI_CLOUD, or the AWS endpoint when FLOCI_CLOUD is unset. A cloud's own variable below wins over it
AWS_ENDPOINT_URL unset; the AWS endpoint when FLOCI_ENDPOINT does not name it
FLOCI_AZURE_ENDPOINT http://localhost:4577
FLOCI_GCP_ENDPOINT http://localhost:4588
FLOCI_OCI_ENDPOINT http://localhost:4599
FLOCI_EMULATOR_HOST localhost. The host the four default endpoints above name; any endpoint variable wins over it
FLOCI_AZURE_ACCOUNT_NAME / _SUBSCRIPTION_ID / _RESOURCE_GROUP devstoreaccount1 / 00000000-0000-0000-0000-000000000000 / floci-local
FLOCI_AZURE_LOCATION eastus: the location new Azure resources default to
FLOCI_INFO_URL unset. The emulator's /_floci/info manifest; the console takes the defaults it declares (Azure storage account, subscription, location) for any variable left unset
FLOCI_GCP_PROJECT / _LOCATION floci-local / us-central1
FLOCI_OCI_REGION us-ashburn-1
FLOCI_OCI_TENANCY_ID Floci-OCI's built-in tenancy
FLOCI_OCI_NAMESPACE unset, discovered from the runtime
FLOCI_DEFAULT_ACCOUNT_ID 000000000000
AWS_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY us-east-1, test, test
PORT 4501
CORS_ALLOWED_ORIGINS http://localhost:4500

CORS_ALLOWED_ORIGINS is a comma separated allow-list. It gates Secrets Manager and KMS encrypt, decrypt, sign, verify, rotate, and cancel-deletion routes. The bodyless key mutation routes also reject untrusted browser origins on the request itself. The console reaches the API same-origin and does not need an allow-list entry.

Started by an emulator

An emulator can start the console as its sidecar (floci-az does, at /_floci/ui) under the Floci
Console Contract v2: it sets FLOCI_CLOUD, FLOCI_ENDPOINT and FLOCI_INFO_URL plus its cloud's own
variables, and polls GET /api/health until the console reports {"status": "ok"}. Scoped to a cloud,
ok means that emulator answered, even when its own health reports a service problem; a standalone
console always reports ok. The image declares the contract with io.floci.console.* labels.

Remote hosts and reverse proxies

For a standalone console behind a reverse proxy, give the console its own origin
and send all paths to the UI/API service (4500 for the single image). This includes
/assets/*, /api/*, and frontend routes such as /console/aws and /settings.
Sending frontend routes to Floci core (4566) can return S3 NoSuchBucket XML on
a page refresh instead of the console's HTML.

The standalone console uses root-relative assets, API URLs and frontend routes.
Proxying only /_floci/ui* while another service owns / does not add base-path
support; use a separate console hostname instead of a partial path mapping.

Set FLOCI_ENDPOINT on the service running the API, using an address reachable
from that service. For example, on a shared Compose network it is
http://floci:4566. In a container, http://localhost:4566 refers to that container,
not the host or the Floci service. FLOCI_CORE_URL and FLOCI_AWS_ENDPOINT are not
configuration variables used by this API.

The browser requests /api/clouds/aws/status; the API probes the runtime's
/_floci/health. A localhost:4566 address in a runtime error describes the API's
configured endpoint. Check /api/clouds/aws/status through the console origin
and refresh a frontend route when troubleshooting the proxy.

Troubleshooting

Symptom Fix
ECONNREFUSED on /api/* The API is down. Run pnpm dev:api, then curl localhost:4501/api/clouds.
EADDRINUSE on 4501 Another API is running. Stop it first.
Cloud shows Not connected Check the runtime on /_floci/health, which every cloud answers: curl localhost:4566/_floci/health (Azure :4577, GCP :4588, OCI :4599), then curl localhost:4501/api/clouds/<cloud>/status. Images older than floci-gcp 0.14.0 and floci-oci 0.7.0 answer only their legacy /_floci-gcp/health or /_floci-oci/health; the console falls back to it and its status carries a hint to upgrade.
One service is unavailable curl "localhost:4501/api/clouds/<cloud>/status?services=all". errorCode tells you why: operation_not_implemented (the runtime lacks it), runtime_unavailable (unreachable), operation_not_supported (no adapter).
AWS auth errors Keep AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as test, matching the runtime. With FLOCI_SERVICES_S3_ENFORCE_AUTH=true the default account signs with AWS_ACCESS_KEY_ID, which Floci accepts when it is test or registered in Floci IAM. Other accounts sign with their account id and need enforcement off.
An S3 bucket looks empty but will not delete (BucketNotEmpty) It still holds object versions or delete markers, which the object list does not show. Select it and use Empty bucket, then delete it. Empty bucket lists every version with ListObjectVersions before deleting any, deletes them by version ID with DeleteObjects (1,000 per request), then checks nothing is left. It holds only object keys and version IDs in memory, never object contents, and stops starting requests after 120 seconds, and a delete request that gets no answer within 25 seconds ends the run. Either reports runtime_unavailable even though the runtime is up; when the message says deletion had started, run Empty bucket again to continue. It is not atomic: a failure or timeout part way through can leave some versions deleted, and something writing to the bucket meanwhile makes it fail rather than report success. Uploads, deletes and copies the console still has running on that bucket refuse it with resource_conflict (409) before anything is deleted, and are themselves refused while it runs.

Contributing

Read CONTRIBUTING.md and AGENTS.md. Prefer the Cloud Explorer and generic SPI over new pages, keep placeholders explicit, and update this README when the visible surface changes.

Community

  • floci-dash is a community AWS dashboard on Cloudscape with an EC2 web terminal (AWS only).
  • Floci Studio is an unofficial community console for Floci with a marketplace of local Docker recipes (AWS only).
  • floci-mcp-unofficial is an unofficial MCP server that lets AI agents inspect and provision a local Floci runtime (AWS, Azure, GCP and OCI).

Built something for Floci? Open a PR to list it.

License

MIT, part of the Floci ecosystem.

Reviews (0)

No results found