GLC MCP Platform
Public modular MCP at https://mcp.glc-rag.hu (see docs/architecture-layers.md).
Agent registration (quick start for LLM agents)
Agents self-register, get auto-approved access to listed services, and receive an api_token immediately.
curl -sS -X POST 'https://mcp.glc-rag.hu/api/auth/register' \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]","password":"choose-a-strong-password","account_type":"agent"}'
Response includes api_token and approved_services. Then:
curl -sS -X POST 'https://mcp.glc-rag.hu/mcp' \
-H 'Authorization: Bearer mcp_YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
A system admin can suspend an agent (blocks login + MCP) or set service access back to pending.
Human registration
- Register at
/register(human account) - Admin → request a service
- System admin approves
- Admin → create API token
- Call
/mcpwithAuthorization: Bearer mcp_...
Quick start (local server)
# deps (once)
cd /home/pergel/mcp && /root/.local/bin/uv sync
# run
./scripts/run-server.sh
# -> http://127.0.0.1:8780
Bootstrap system-admin (from .env):
- email:
[email protected] - password:
ChangeMeAdmin1!
Layout
Databases
- App: PostgreSQL
MCP - Geo data: PostgreSQL
rag_devon:5433(read-only from MCP)
Nginx
sudo cp /home/pergel/mcp/infra/nginx/mcp.glc-rag.hu.conf /etc/nginx/sites-available/
sudo ln -sf /etc/nginx/sites-available/mcp.glc-rag.hu.conf /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
# TLS:
# sudo certbot --nginx -d mcp.glc-rag.hu
Systemd
sudo cp /home/pergel/mcp/infra/mcp-platform.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now mcp-platform