Files
floci-cli/plugin.json
T
Hector Ventura 5997910340 feat(skill): install and wire up the Floci MCP server (#97)
* feat(skill): install and wire up the Floci MCP server

The floci plugin now registers the Floci MCP server (the console's
adapters as agent tools) through skills/floci/scripts/floci-mcp.sh. The
launcher runs the floci/floci-mcp image under Docker or Podman, pointing
localhost endpoints at host.docker.internal, or runs npx @floci/mcp when
neither engine is up, and exits with a message when nothing can run it.

The skill gains an Agent tools section: look for floci_status under any
tool prefix, and ask before installing, since installing pulls an image
and changes the agent's configuration. scripts/ensure-mcp.sh registers
the server with claude mcp add at user scope, falls back to Podman, and
does nothing when the plugin already provides it. references/mcp.md
covers the other clients, non-default ports and namespaces, read-only
mode and troubleshooting.

SKILL.md is restructured: where to start first, a reason on each hard
rule, and lifecycle pitfalls moved out of the rules. evals/ holds three
cases for setting the server up and using it. The plugin version moves
to 1.1.0.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* fix(skill): reach loopback-bound emulators on Linux and register other instances

On native Linux, host.docker.internal is the bridge address, which does not reach ports published on 127.0.0.1, the way the compose templates publish them. The launcher and ensure-mcp.sh now run the image on the host network there, with FLOCI_EMULATOR_HOST=localhost, so the ports stay loopback-only. FLOCI_MCP_NETWORK=host or bridge overrides the choice.

ensure-mcp.sh now checks for an existing registration before it needs an engine, pulls an image or starts the server. The plugin's server only stops it from registering the default name, so --name floci-b still registers a second instance.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-12-03 21:04:29 -06:00

29 lines
929 B
JSON

{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "floci",
"version": "1.1.0",
"description": "Run, wire up and troubleshoot Floci, the free local emulators for AWS, GCP, Azure and OCI: floci-cli lifecycle, safe wiring of aws, gcloud, az, oci and the SDKs, docker run and Docker Compose files, several instances side by side, lookups in the published docs, and the Floci MCP server for agent tools.",
"author": {
"name": "Floci",
"url": "https://floci.io"
},
"homepage": "https://floci.io",
"repository": "https://github.com/floci-io/floci-cli",
"license": "MIT",
"keywords": [
"floci",
"local cloud emulator",
"aws emulator",
"gcp emulator",
"azure emulator",
"oci emulator",
"localstack alternative",
"azurite alternative",
"docker compose",
"local s3",
"local dynamodb",
"local pubsub",
"integration tests"
]
}