Repository navigation
Rustybin 0.2.0: the AI-assisted mocking service
Rustybin 0.2.0 turns an instance into a mocking and testing service a team runs: set up by describing what you need, explored by the people who test against it, managed from the console, a CLI, an AI agent or a rustybin.yaml in git, and locked with a password on day one.
Changed default: the console and the control plane ask for a user name and password (rustybin / rustybin until changed; RUSTYBIN_CONSOLE_PASSWORD, or Management, Sign-in). Instances that relied on an open control plane set RUSTYBIN_CONTROL_AUTH=open. Everything else is additive; a 0.1 rustybin.yaml still loads.
What is new
- Bring your own AI: Anthropic, OpenAI, Gemini or any OpenAI-compatible endpoint with your key; an assist bar in every console view; keys sealed at rest and never shown again.
- Build mocks with AI: a spec from a description (to the OpenAPI version you pick), example payloads for every operation that lacks one with an alert when a spec has none, edits by instruction shown as a diff.
- MCP inspector for any MCP server over every transport and auth mode (bearer, API key, basic, headers, OAuth 2.1), a relay for servers the browser cannot reach, fourteen checks as JSON or JUnit, saved connections.
- Mock MCP registry in the registry API's shape with failure scenarios, and browsing of real registries.
- Dev portal at
/portalwith only what was published: mock APIs with Try it and downloads, the mock MCP servers with connect snippets, the mock LLM, agents and tools. - AI agents: who talks to the instance over the management MCP server, with ceilings, tool allow and deny lists, revocation and a live feed.
- The whole instance as code: export, diff and apply a version 2
rustybin.yaml(settings, secrets as references, mocks, registry, portal, agents, harness, health); source control with commit, push, pull, resolve, a deploy key and startup from the repository. - The
rustybincommand line for remote instances:rustybin login, then every noun of the control plane. - Management MCP parity: a tool for every control route, prompts for the common jobs (
build_instance,publish_portal,backup_to_git,test_mcp_server,onboard_agent),rustybin mcp-stdio --url --profile. - Foundations: one state directory, a settings store with secrets sealed under ChaCha20-Poly1305, one outbound allowlist with pinned addresses and an audit of every decision.
The full list, step by step, is in the changelog.
The image
ghcr.io/coldbathcode/rustybin:0.2.0
ghcr.io/coldbathcode/rustybin@sha256:002c7f164c78c06153b90dd5d8cb75b85ac8a72bb6696e038474a43fee42740e
Multi-arch (linux/amd64, linux/arm64), signed with cosign (keyless, the publishing workflow's GitHub identity). Verify before you run or deploy it, and pin deployments to the digest:
cosign verify ghcr.io/coldbathcode/rustybin@sha256:002c7f164c78c06153b90dd5d8cb75b85ac8a72bb6696e038474a43fee42740e \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp '^https://github.com/coldbathcode/rustybin/'A platform that verifies images before a pod starts (an admission policy or a pod-image-verify step) uses the same two values: the issuer above and the identity regexp, against the digest-pinned reference.
Upgrading from 0.1.0
- Set
RUSTYBIN_CONSOLE_PASSWORD(or change the password under Management, Sign-in on first start), or setRUSTYBIN_CONTROL_AUTH=opento keep an open control plane. A public instance refuses to start with the default password. - Set
RUSTYBIN_STATE_DIRto keep settings, secrets, mocks and the git working copy across restarts (RUSTYBIN_MOCKS_STATE_DIRandRUSTYBIN_HARNESS_STATE_DIRkeep working as overrides). - Outbound calls (A2A push notifications, the leads webhook, the key registry URL) now go through the egress policy; their variables are unchanged, but link-local and cloud metadata addresses are refused even with
RUSTYBIN_A2A_PUSH_ALLOW_ALL.