r/coolgithubprojects • • 2d ago

Meet bridge-anything: point your coding agent at legacy software, get a API/MCP/CLI bridge back

Post image

Half the software small businesses run on has no API. Practice management, dealer systems, tax apps, old ERPs, installed on a server in the back office. If your app needs that data, you're stuck. So I wrote down the method I use to get through.

bridge-anything is a skill for coding agents (Claude Code, Codex, Cursor). It uses REA, an open-source reverse-engineering MCP server, to find where a program keeps its data. Then it builds a small bridge next to it:

  1. Find the data. Inspect the installation: runtime, database engine, connection config, export folders. Knows what SQL Server, Firebird, Btrieve, Access, dBase, SQLite and others leave on disk.
  2. Map it with evidence. Every table and column in BRIDGE.md cites where it was proven. Whatever couldn't be proven goes into UNKNOWNS.md instead of being guessed.
  3. Pick the safest path. Vendor API, then interface files, then a read-only DB user, then UI automation.
  4. Build the bridge. Contract first, REST + MCP + CLI adapters, tests against an anonymised snapshot. It refuses to start if its DB user has more rights than declared.
  5. Connect your app. Your app talks to the bridge, never to the legacy database. A vendor update only breaks the bridge, not your app.

Read-only by default. Writes go through the program's own import function (usually CSV or an interface file). Direct table writes come last, and only after the agent has watched the program make the same write in a DB diff.

Your agent writes the code. bridge-anything makes it prove each mapping before it relies on it.

Caveats:

  • It's a method for an agent (a SKILL.md plus reference files), not a binary that does it all by itself.
  • It's new. The method comes from integrations I built by hand. The skill hasn't been run end to end on a real system yet, so expect rough edges.
  • REA's process capture only runs on Linux/macOS. On Windows, writes are confirmed by diffing the database around a single action instead.
  • It stops at licence checks, DRM and encrypted credentials. If the only way in is past an access control, it tells you to ask the vendor.
  • Run it on a copy of an installation you're licensed for, never on the live system.
npx rea-agents setup
npx skills add artesiana/bridge-anything

https://github.com/Artesiana/bridge-anything · MIT

Feedback and PRs welcome, especially from anyone with a test install of some crusty on-prem software. Which system would you point it at first?

52 Upvotes

1 comment sorted by