rxkk/app

Maintainers

Package info

github.com/rxkk/app

Type:project

pkg:composer/rxkk/app

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2025-06-23 16:09 UTC

This package is auto-updated.

Last update: 2026-04-16 05:51:26 UTC


README

This simple CLI project

How it's work:

  1. 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) {}