├── .distignore ├── .editorconfig ├── .github ├── ISSUE_TEMPLATE ├── PULL_REQUEST_TEMPLATE └── workflows │ ├── code-quality.yml │ └── testing.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── ai-command.php ├── behat.yml ├── composer.json ├── features ├── ai.feature └── mcp-server.feature ├── phpcs.xml.dist ├── phpstan.neon.dist ├── phpunit.xml.dist ├── settings └── route-additions.php ├── src ├── AI │ └── AiClient.php ├── AiCommand.php ├── MCP │ ├── Client.php │ ├── HttpTransport.php │ ├── InMemorySession.php │ ├── InMemoryTransport.php │ ├── ProxySession.php │ └── Servers │ │ └── WP_CLI │ │ ├── Tools │ │ └── CliCommands.php │ │ └── WP_CLI.php ├── McpCommand.php ├── McpServerCommand.php └── Utils │ ├── CliLogger.php │ └── McpConfig.php ├── tests ├── phpstan │ └── bootstrap.php └── phpunit │ └── tests │ └── MCP │ └── Client │ └── ClientTest.php └── wp-cli.yml /.distignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/.distignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/.github/ISSUE_TEMPLATE -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/.github/PULL_REQUEST_TEMPLATE -------------------------------------------------------------------------------- /.github/workflows/code-quality.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/.github/workflows/code-quality.yml -------------------------------------------------------------------------------- /.github/workflows/testing.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/.github/workflows/testing.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/README.md -------------------------------------------------------------------------------- /ai-command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/ai-command.php -------------------------------------------------------------------------------- /behat.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/behat.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/composer.json -------------------------------------------------------------------------------- /features/ai.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/features/ai.feature -------------------------------------------------------------------------------- /features/mcp-server.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/features/mcp-server.feature -------------------------------------------------------------------------------- /phpcs.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/phpcs.xml.dist -------------------------------------------------------------------------------- /phpstan.neon.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/phpstan.neon.dist -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /settings/route-additions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/settings/route-additions.php -------------------------------------------------------------------------------- /src/AI/AiClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/AI/AiClient.php -------------------------------------------------------------------------------- /src/AiCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/AiCommand.php -------------------------------------------------------------------------------- /src/MCP/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/MCP/Client.php -------------------------------------------------------------------------------- /src/MCP/HttpTransport.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/MCP/HttpTransport.php -------------------------------------------------------------------------------- /src/MCP/InMemorySession.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/MCP/InMemorySession.php -------------------------------------------------------------------------------- /src/MCP/InMemoryTransport.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/MCP/InMemoryTransport.php -------------------------------------------------------------------------------- /src/MCP/ProxySession.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/MCP/ProxySession.php -------------------------------------------------------------------------------- /src/MCP/Servers/WP_CLI/Tools/CliCommands.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/MCP/Servers/WP_CLI/Tools/CliCommands.php -------------------------------------------------------------------------------- /src/MCP/Servers/WP_CLI/WP_CLI.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/MCP/Servers/WP_CLI/WP_CLI.php -------------------------------------------------------------------------------- /src/McpCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/McpCommand.php -------------------------------------------------------------------------------- /src/McpServerCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/McpServerCommand.php -------------------------------------------------------------------------------- /src/Utils/CliLogger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/Utils/CliLogger.php -------------------------------------------------------------------------------- /src/Utils/McpConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mcp-wp/ai-command/HEAD/src/Utils/McpConfig.php -------------------------------------------------------------------------------- /tests/phpstan/bootstrap.php: -------------------------------------------------------------------------------- 1 |