refactor(api): remove MCP server integration and docs references
This commit is contained in:
parent
5dd8242985
commit
1d8a8eafb8
9 changed files with 9 additions and 1195 deletions
|
|
@ -7,11 +7,10 @@ Reverse proxy (existing) innercontext LXC (new, Debian 13)
|
|||
┌──────────────────────┐ ┌────────────────────────────────────┐
|
||||
│ reverse proxy │────────────▶│ nginx :80 │
|
||||
│ innercontext.lan → * │ │ /api/* → uvicorn :8000/* │
|
||||
└──────────────────────┘ │ /mcp/* → uvicorn :8000/mcp/* │
|
||||
│ /* → SvelteKit Node :3000 │
|
||||
└──────────────────────┘ │ /* → SvelteKit Node :3000 │
|
||||
└────────────────────────────────────┘
|
||||
│ │
|
||||
FastAPI + MCP SvelteKit Node
|
||||
FastAPI SvelteKit Node
|
||||
```
|
||||
|
||||
> **Frontend is never built on the server.** The `vite build` + `adapter-node`
|
||||
|
|
@ -321,7 +320,6 @@ This will:
|
|||
curl http://innercontext.lan/api/health-check # {"status":"ok"}
|
||||
curl http://innercontext.lan/api/products # []
|
||||
curl http://innercontext.lan/ # SvelteKit HTML shell
|
||||
curl -N http://innercontext.lan/mcp/mcp # MCP StreamableHTTP endpoint
|
||||
```
|
||||
|
||||
The web UI should be accessible at `http://innercontext.lan`.
|
||||
|
|
@ -357,16 +355,6 @@ journalctl -u innercontext-node -n 50
|
|||
# Verify /opt/innercontext/frontend/build/index.js exists (deploy.sh ran successfully)
|
||||
```
|
||||
|
||||
### MCP endpoint not responding
|
||||
|
||||
```bash
|
||||
# MCP uses SSE — disable buffering is already in nginx config
|
||||
# Verify the backend started successfully:
|
||||
curl http://127.0.0.1:8000/health-check
|
||||
# Check FastAPI logs:
|
||||
journalctl -u innercontext -n 50
|
||||
```
|
||||
|
||||
### Database connection refused
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue