一个使用 Go 语言编写的查询数据库信息的mcp项目,目前支持 MySQL 和 SQLite 数据库。
因为他能编译成单一的二进制文件,方便部署。
go run scripts/init_testdb.go -db=sqlite
go run scripts/init_testdb.go -db=mysql -dsn="user:pass@tcp(host:port)/dbname?parseTime=true"
懒得写了