Download the PHP package hi/mcp-server without Composer

On this page you can find all versions of the php package hi/mcp-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mcp-server

PHP MCP Server

为 AI 助手(如 Claude Code)提供 PHP 代码库 API 文档的 Model Context Protocol (MCP) 服务器。

特性

安装

快速开始

1. 生成文档

2. 启动 MCP 服务器

3. Claude Code 集成

命令行选项

mcp-generate(文档生成器)

mcp-server(MCP 服务器)

生成的文档结构

可用的 MCP 工具

工具 描述
list_modules 列出所有模块
get_module 获取模块详细信息
list_classes 列出所有类(支持命名空间过滤)
list_interfaces 列出所有接口
list_attributes 列出所有 PHP 8+ Attributes
get_class 获取类/接口/Attribute 的完整文档
get_guide 获取使用指南文档
search 搜索类、方法、指南
get_statistics 获取框架统计信息

可用的 MCP 资源

资源 描述
hi://manifest 完整的框架清单(JSON)
hi://statistics 框架统计信息
hi://module/{name} 特定模块的文档

可用的 MCP 提示

提示 描述
explain_class 解释类的功能和用法
find_implementation 查找接口或抽象类的实现

Claude Code 使用示例

集成后,你可以这样使用:

系统要求

架构

两阶段工作流

核心组件

开发

许可证

MIT License

致谢

基于 Hi Framework 构建。


All versions of mcp-server with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-json Version *
ext-tokenizer Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hi/mcp-server contains the following files

Loading the files please wait ...