hubleto / mcp-server
MCP Server for Hubleto
Requires
- mcp/sdk: 0.4.0
This package is not auto-updated.
Last update: 2026-02-26 18:52:20 UTC
README
MCP Server for Hubleto.
Installation
composer require hubleto/mcp-server
How to use
- Create your Hubleto project
composer create-project hubleto/erp-project . - Add Hubleto MCP server to your project
composer require hubleto/mcp-server - Run the server
php mcp-server.php
How to test
Option 1: npx @modelcontextprotocol/inspector
In this test, you will connect to the Hubleto MCP server using an inspector, which will allow you to run any tool provided by the server. This is an analogy to unit testing.
- Run
npx @modelcontextprotocol/inspector php mcp-server.phpin your project folder. - Click
Connectin the web browser (the browser should start automatically). - Check the list of tools.
- Run a specific tool.
Note: There are some tools already available in Hubleto's community apps. Search for getMcpTools() method in the https://github.com/hubleto/erp for more details.
Option 2: mcp-cli
Testing with mcp-cli provides you an option to use LLMs like Claude or ChatGPT to test the Hubleto MCP server using natural language queries. This is an analogy to integration tests.
- Install mcp-cli with
pip install mcp-cli - Run
mcp-cli chat --server hubleto-mcp-serverin your project folder.
Note: The mcp-cli uses the server_config.json file in your project folder. Take a look on it.
You might need to configure your LLM provider's API key (e.g., ANTHROPIC_API_KEY or OPENAI_API_KEY) in your environment variables.
There are some other modes of operation for the mcp-cli, e.g. interaction or command modes. For more information refer to mcp-cli's documentation.