Skip to main content
Glama

visitproject

Convert legacy supply chain systems into standard MCP servers for AI agents. Turn closed databases and file-drop folders into a CLI-driven middleware that exposes them as @modelcontextprotocol/sdk-compliant tools and resources.

   visitproject - convert legacy supply chain systems into MCP servers
   ==============================================================
        DB-TO-MCP     FILE-TO-MCP    MCP-SERVER-OVER-STDIO
        (stage 2)     (stage 3)      (stage 4 + TUI gateway)

What is visitproject?

Most supply chain systems (WMS, OMS, TMS, BMS) are decades old: closed databases, CSV file drops from old ERPs, no public APIs. AI agents cannot talk to them without a custom integration for every system.

visitproject is the opposite: a single CLI that points at a database or folder and emits a standards-compliant Model Context Protocol server on stdio. Any modern AI agent (Claude Code, Cursor, custom LangGraph apps, madcop v0.5) can connect to it instantly.

Related MCP server: AutoMCP

Subcommands (stages 1โ€“4)

Stage

Command

Status

1

visitproject db --type <mysql|postgres|sqlite> --conn <str> --tables <a,b,c>

โœ… scaffold

2

visitproject db ... (full DB-to-MCP)

๐Ÿ”œ stage 2

3

visitproject watch --dir <path> --type <csv|xlsx>

๐Ÿ”œ stage 3

4

visitproject start --config <path> (stdio MCP server + TUI dashboard + safety gateway)

๐Ÿ”œ stage 4

Stage 1 ships the project skeleton, dependency pinning, strict TypeScript build, commander-driven CLI parser, and unit tests for the three subcommands. Stages 2-4 layer real functionality on top.

Architecture (planned, 4 layers)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  L4  TUI Dashboard + AI Safety Gateway     [stage 4]              โ”‚
โ”‚      (blessed dashboard, real-time MCP traffic, Y/N circuit-     โ”‚
โ”‚       breaker before any write tool fires)                       โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  L3  MCP Server on stdio                  [stage 4]              โ”‚
โ”‚      (@modelcontextprotocol/sdk Server + transport)              โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  L2  Resource Pipeline (File-to-MCP)      [stage 3]              โ”‚
โ”‚      (chokidar watcher โ†’ CSV/XLSX parse โ†’ MCP Resources)         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  L1  DB-to-MCP Adapter                    [stage 2]              โ”‚
โ”‚      (schema introspection โ†’ SQL parameterisation โ†’ MCP Tools)  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Quick start (stage 1)

git clone https://github.com/linmy666/visitproject
cd visitproject
npm install
npm run build
node dist/cli/index.js --version     # โ†’ 0.1.0
node dist/cli/index.js db --help

Tests

npm test

6 stage-1 tests cover: program construction, version flag, help exit, and flag parsing for all three subcommands.

Requirements

  • Node.js โ‰ฅ 18

  • TypeScript 5.6+ (build only)

  • npm 9+

Roadmap

  • โœ… Stage 1 (this release): scaffold, CLI skeleton, tests

  • ๐Ÿ”œ Stage 2: DB-to-MCP โ€” introspect tables, generate MCP Tool JSON, parameterise queries (no SQL injection), handle MySQL / PostgreSQL / SQLite

  • ๐Ÿ”œ Stage 3: File-to-MCP โ€” chokidar watcher + CSV/XLSX parser

  • ๐Ÿ”œ Stage 4: Stdio MCP server + blessed TUI dashboard + Y/N circuit-breaker for write tools

License

MIT. See LICENSE.

Contact

Lin Ruihan ยท chuiniu@me.com

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/linmy666/visitproject'

If you have feedback or need assistance with the MCP directory API, please join our Discord server