Agentify
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agentify: make any legacy app agent-ready, safely
Vibe-a-thon track: Make a Legacy App Agent-Ready
Most Indian businesses still run on old back-office software: CGI URLs, cryptic parameter names, pipe-delimited replies, amounts in paise, DD/MM/YY dates, ERR 42 errors and cookie sessions. AI agents can't use these apps safely. Rewriting them is expensive and risky.
Agentify adds an agent-ready layer on top of the legacy app without changing a single line of it. You describe the app in one YAML manifest, and Agentify serves it as an MCP server with typed tools that are clean and safe to use. Claude, Cursor or any MCP client can then call them.
flowchart LR
A[LLM agent<br/>Claude / Cursor / any MCP client] -- MCP stdio --> B[Agentify runtime]
B --> V[Schema validation]
B --> P[Preview + pre-checks]
B --> T[HMAC confirm token<br/>bound to exact args]
B --> H[Human approval<br/>for destructive ops]
B --> L[Audit log + rate limit<br/>+ PII redaction]
B -- "CGI / forms / cookies" --> C[(Legacy app<br/>unchanged)]
S[agentify scan] -. drafts .-> M[manifest.yaml]
M --> BWhat makes it different
Problem with legacy apps | What Agentify does |
Cryptic endpoints ( | Named, documented tools with JSON Schema ( |
| Typed JSON: |
Paise, | Rupees, ISO dates, |
|
|
Agents writing blindly | Two-phase writes: the first call returns a preview and pre-checks; the second call needs an HMAC |
An agent could delete or cancel data on its own | Destructive tools need a human to run |
Retries create duplicate orders | Idempotency key is derived from the token and passed to the legacy app's |
Session expiry mid-task | Logs in again and retries once, so the agent never sees a session error |
Phone numbers leaking into prompts | Redacted at the boundary ( |
"What did the AI do?" | Every call goes to |
Onboarding takes weeks |
|
Related MCP server: safe-oas2mcp
Quick start
pip install -r requirements.txt
# 1. run the sample legacy app (ShopKeeper 2009, a 2-wheeler spare-parts distributor)
python legacy_app/app.py # http://127.0.0.1:5009
# 2. let Agentify draft a manifest from it
python -m agentify scan http://127.0.0.1:5009 --user admin --password admin123 -o draft.yaml
# 3. serve the reviewed manifest as an MCP server
python -m agentify serve manifests/shopkeeper.yaml
# 4. full end-to-end demo over real MCP (starts everything itself)
python demo/agent_demo.pyUse with Claude Desktop / Claude Code
{
"mcpServers": {
"shopkeeper": {
"command": "python",
"args": ["-m", "agentify", "serve", "manifests/shopkeeper.yaml"],
"cwd": "/path/to/agentify",
"env": {"SK_URL": "http://127.0.0.1:5009"}
}
}
}Then ask: "Verma Puncture needs brake pads; restock what's low and cancel Gill's pending order." The agent reads the stock, gets a pre-check refusal for 10 pads (only 4 left), previews 4 pads and asks you, places the order, and stops at the cancel step until a manager approves it. See demo/demo_output.txt and the 2-minute video demo/agentify_demo.mp4.
The manifest (the only thing you write)
- name: create_order
risk: write # read | write | destructive
input:
customer_id: {type: string}
sku: {type: string}
qty: {type: integer, minimum: 1}
preview:
lookups:
item: {tool: get_item, args: {sku: "{sku}"}}
customer: {tool: get_customer, args: {customer_id: "{customer_id}"}}
compute: {amount_inr: "qty * item.price_inr"}
checks:
- {expr: "qty <= item.qty_on_hand", message: "Only {item.qty_on_hand} in stock."}
- {expr: "amount_inr <= customer.credit_headroom_inr", message: "Needs Rs {amount_inr} but headroom is Rs {customer.credit_headroom_inr}."}
summary: "Order {qty} x {item.name} for {customer.name}: Rs {amount_inr}"
request: {method: POST, path: /cgi/ord.asp, form: {act: NEW, c_id: "{customer_id}", sku: "{sku}", q: "{qty}", ref: "{_idempotency_key}"}}
response: {format: pipe_row, fields: [ok, order_id:int, flag]}Expressions run in a tiny sandboxed evaluator (arithmetic, comparisons, dotted names; no calls, no imports, tested).
Project layout
agentify/core.py runtime: transport, parsing, validation, previews, tokens, approvals, audit
agentify/server.py MCP server (stdio) with read-only/destructive tool annotations
agentify/scan.py legacy-app crawler that drafts a manifest
agentify/__main__.py CLI: serve | scan | approve | audit | call
legacy_app/app.py ShopKeeper 2009 sample legacy app (Flask + SQLite)
manifests/ reviewed manifest + scanner draft
demo/agent_demo.py end-to-end MCP demo
tests/ 12 pytest testsTests
python -m pytest -q tests # 12 passedThese cover format translation, redaction, error mapping, argument validation, preview, confirm and single-use tokens, tokens bound to the exact arguments, pre-check blocking, human approval, session-expiry recovery, the audit log, the scanner and sandbox escapes.
Roadmap
More adapters: SOAP/WSDL, desktop apps via UI automation, Tally / ERP exports, SQL views
Approval through WhatsApp or Slack instead of the CLI
Learn manifests from recorded HTTP traffic (HAR files)
MIT licensed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed MCP gateway for business apps: roles, previews, approvals and one audit log.
Statically audits MCP tool surfaces for token cost, schema quality, and design issues.
Plan apps and systems from plain words: blueprints, build packs, SQL and Build Doctor fixes.
Build and publish full-stack apps from your coding agent: models, rules, pages, auth, per-app MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables users to define and run MCP tools using declarative YAML configs with built-in trust enforcement, credential brokering, and tamper-evident audit logging.14MIT
- FlicenseNot gradedqualityDmaintenanceA safe gateway to convert OpenAPI specs into MCP tools with secure defaults, risk inspection, and confirmation gates.-
- FlicenseNot gradedqualityDmaintenanceTurns OpenAPI specs into MCP tools with secure defaults, risk inspection, confirmation gates, response limits, audit logging, and secret redaction.-
- AlicenseNot gradedqualityCmaintenanceEnables exposing any REST or GraphQL API as MCP tools from a single JSON spec, with writes requiring explicit confirmation before being sent.MIT