refactor: rebrand project to HartOMat

This commit is contained in:
2026-04-06 12:45:47 +02:00
parent fa7093307a
commit b795f0e6d6
95 changed files with 608 additions and 497 deletions
+16 -16
View File
@@ -1,6 +1,6 @@
# Schaeffler Automat MCP Server
# HartOMat MCP Server
An MCP (Model Context Protocol) server that gives Claude Code direct access to the Schaeffler Automat render pipeline, product library, and database.
An MCP (Model Context Protocol) server that gives Claude Code direct access to the HartOMat render pipeline, product library, and database.
## Quick Start
@@ -17,9 +17,9 @@ The project includes `.mcp.json` which automatically registers the MCP server wh
### Setup (manual)
```bash
claude mcp add schaeffler -- uv run \
claude mcp add hartomat -- uv run \
--with "mcp[cli]" --with psycopg2-binary --with httpx \
python schaeffler_mcp_server.py
python hartomat_mcp_server.py
```
### Verify
@@ -29,7 +29,7 @@ Inside Claude Code, run:
/mcp
```
You should see `schaeffler` listed with status "connected".
You should see `hartomat` listed with status "connected".
## Available Tools
@@ -61,8 +61,8 @@ You should see `schaeffler` listed with status "connected".
| Resource URI | Description |
|---|---|
| `schaeffler://schema` | Full database schema (tables + columns) |
| `schaeffler://output-types` | All configured output types |
| `hartomat://schema` | Full database schema (tables + columns) |
| `hartomat://output-types` | All configured output types |
## Usage Examples
@@ -98,9 +98,9 @@ The server connects to your local Docker services by default. Override via envir
| Variable | Default | Description |
|---|---|---|
| `DATABASE_URL` | `postgresql://schaeffler:schaeffler@localhost:5432/schaeffler` | PostgreSQL connection string |
| `DATABASE_URL` | `postgresql://hartomat:hartomat@localhost:5432/hartomat` | PostgreSQL connection string |
| `API_URL` | `http://localhost:8888` | Backend API base URL |
| `API_EMAIL` | `admin@schaeffler.com` | API login email |
| `API_EMAIL` | `admin@hartomat.com` | API login email |
| `API_PASSWORD` | `Admin1234!` | API login password |
### Custom configuration
@@ -108,11 +108,11 @@ The server connects to your local Docker services by default. Override via envir
Edit `.mcp.json` in the project root to change defaults, or use `claude mcp add` with `--env` flags:
```bash
claude mcp add schaeffler \
claude mcp add hartomat \
--env DATABASE_URL=postgresql://user:pass@host/db \
--env API_URL=https://staging.example.com \
-- uv run --with "mcp[cli]" --with psycopg2-binary --with httpx \
python schaeffler_mcp_server.py
python hartomat_mcp_server.py
```
## Security Notes
@@ -127,7 +127,7 @@ claude mcp add schaeffler \
### Server not connecting
1. Check Docker services are running: `docker compose ps`
2. Check PostgreSQL is accessible: `psql postgresql://schaeffler:schaeffler@localhost:5432/schaeffler -c "SELECT 1"`
2. Check PostgreSQL is accessible: `psql postgresql://hartomat:hartomat@localhost:5432/hartomat -c "SELECT 1"`
3. Check backend API is up: `curl http://localhost:8888/api/auth/login`
### Dependencies missing
@@ -141,14 +141,14 @@ uv pip install "mcp[cli]" psycopg2-binary httpx
```bash
# Run manually to see errors
uv run --with "mcp[cli]" --with psycopg2-binary --with httpx \
python schaeffler_mcp_server.py
python hartomat_mcp_server.py
```
### Reset MCP connection
```bash
claude mcp remove schaeffler
claude mcp add schaeffler -- uv run \
claude mcp remove hartomat
claude mcp add hartomat -- uv run \
--with "mcp[cli]" --with psycopg2-binary --with httpx \
python schaeffler_mcp_server.py
python hartomat_mcp_server.py
```