Axpol POCRunning a whole company with humans and AI working together in Claude DesktopPolski

Environment from scratch

How to set up the whole Axpol company on your own machine: five systems, simulator data, databases for MCP and servers in Claude Desktop. Everything is run with make from the root of the axpol-poc repository; make help shows the full list of targets.

Requirements

1. Code

The umbrella and the repositories in a fixed layout (MCP servers in repos/mcp/):

git clone https://github.com/piotrlinski/axpol-poc && cd axpol-poc
git clone https://github.com/piotrlinski/axpol-company      repos/axpol-company
for r in core mrp inventree dolibarr zammad shop; do
  git clone https://github.com/piotrlinski/axpol-mcp-$r repos/mcp/axpol-mcp-$r
done
git clone https://github.com/piotrlinski/axpol-sim          repos/axpol-sim
git clone https://github.com/piotrlinski/axpol-site         repos/axpol-site
git clone https://github.com/piotrlinski/axpol-onboarding   repos/axpol-onboarding
make clone        # sources of the open source platforms (read-only)
cp .env.example .env

2. Systems

make setup        # dependencies of all repositories
make start        # Postgres + Odoo + InvenTree + Zammad + Dolibarr + shop (in the background)
make status       # what is running

After startup:

System Area Address MCP server Status
Sklep i portal zamówień Offer and customer orders https://shop.axpol-poc.store axpol-shop (product onboarding; order date write after approval in the decision portal) ?
Odoo 18 CE + OCA Production planning and execution https://odoo.axpol-poc.store axpol-mrp (read, scenarios, proposals, write after approval) ?
InvenTree 1.7 Warehouse and purchasing https://inventree.axpol-poc.store axpol-inventree (read-only) ?
Dolibarr 24 Finance: invoices, payments, bank https://dolibarr.axpol-poc.store axpol-dolibarr (read-only) ?
Zammad 7.2 Customer complaints and machine failures https://zammad.axpol-poc.store axpol-zammad (read; ticket write after approval in the decision portal) ?
Portal decyzji Approving decisions that span several systems https://decyzje.axpol-poc.store axpol-decisions (prepares decisions; writes to systems after a human click) ?

On first visit Zammad shows a setup wizard.

3. Company data

make sim-all                 # world + 26 weeks of history + validation (data/sim)
make sim-reset sim-load      # WARNING: deletes simulator data in the systems and loads it again
make sim-verify              # compare system contents with the event log

4. Databases for MCP

Read-only roles, mcp.* views and the call log — in each database separately:

make mcp-db                  # Odoo (planning): roles + mcp schema migrations
make mcp-inventree-db
make mcp-dolibarr-db
make mcp-zammad-db
make mcp-deps                # uv sync in all MCP repositories
make mcp-test                # tests of all servers (integration tests use the running databases)

5. Claude Desktop

make claude-install          # server entries + skills in dist/*-skill.zip

Next: restart Claude Desktop and upload the skills — Installation in Claude Desktop.

Daily work

Command What it does
make start / make stop start / stop everything (data is kept)
make status what is running
make mcp-run-<system> manual start of an MCP server (mrp, inventree, dolibarr, zammad, shop)
make mcp-eval-<system> self-eval of a server via claude -p on scenarios from the server's repository
make company-site this site locally: http://localhost:8099

This site

The site is part of axpol-company: Markdown in docs/, the menu and system addresses in site.toml, the server in src/axpol_company/site.py (Python stdlib + markdown).

make company-site            # the site alone, locally, port 8099
make gateway-start           # everything in Docker (site in the company-site container): http://localhost:8000
make aws-deploy              # public (same Dockerfile on the EC2 server)

On a server you set the system addresses with AXPOL_URL_<SYSTEM> variables (e.g. AXPOL_URL_INVENTREE), the repositories' address with AXPOL_GITHUB, the path prefix with AXPOL_SITE_BASE.