rxkk/app
最新稳定版本:v1.0.0
Composer 安装命令:
composer create-project rxkk/app
包简介
README 文档
README
This simple CLI project
How it's work:
- you install the project
composer create-project rxkk/app your-project-name
get start help
./x
get the list of commands
./x code
find command
./x code curl
run a specific command
./x Test::example someArg
MCP
Check list of MCP tools
echo '{"jsonrpc":"2.0", "id":1, "method":"tools/list","params":{}}' | ./x mcp | python3 -m json.tool
Call MySQL::query with pass SELECT VERSION() to sql argument
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"MySQL::query","arguments":{"sql":"SELECT VERSION()"}}}' | ./x mcp | python3 -m json.tool
How to use it in code.
/** * @MCP This is allow use this method in MCP + description it * And this is example of multiline description. * @MCP-CONFIRM # this is will force to ask before run this function * * @param int $someArg description for argument which will added to MCP info */ function someFunc($someArg) {}
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-23