PHP通用MCP服务器

PHP通用MCP服务器

一个适用于任何托管或云提供商的PHP开发通用MCP服务器。

快速入门

  1. 安装
    • 通过NPM安装:npm install -g php-universal-mcp-server
    • 或克隆仓库:git clone https://github.com/Lucasdoreac/php-universal-mcp-server.git
  2. 配置
    • 设置提供商凭据:php-mcp-server configure
    • 或手动编辑配置文件:vi config/providers/hostinger.js
  3. 启动服务器
    • 执行命令:php-mcp-server start
  4. 连接到Claude Desktop
    • 在Claude Desktop中输入:conectar servidor mcp localhost:7654

基本用法

  • 创建新站点:criar site hostinger meusite.com
  • 列出所有站点:listar sites
  • 配置域名和SSL:configurar domínio site-123 meusite.comconfigurar ssl site-123
  • 添加产品:adicionar produto site-123 "Produto Teste" 99.90
  • 导出报告:exportar relatório vendas site-123 pdf últimos-30-dias