MEGAINFRA-WEBAPP/docs/setup/remote-mcp-check-results.json

202 lines
5.1 KiB
JSON

{
"http": {
"checkedAt": "2026-10-05T00:15:47.847Z",
"timezone": "Africa/Johannesburg",
"envFile": ".env.local",
"localAuthMode": "pin",
"checks": [
{
"check": "MCP initialize",
"passed": true,
"server": {
"name": "mega-infrastructure",
"version": "1.1.0"
}
},
{
"check": "MCP tools/list",
"passed": true,
"toolCount": 35
},
{
"check": "MCP tools/call list_sites",
"passed": true,
"shape": "array",
"rowCount": 3
},
{
"check": "MCP tools/call list_employees",
"passed": true,
"shape": "object",
"keys": [
"scope",
"total",
"showing",
"permanent",
"casual",
"employees"
]
},
{
"check": "MCP tools/call list_purchase_orders",
"passed": true,
"shape": "object",
"keys": [
"scope",
"total",
"showing",
"purchaseOrders"
]
},
{
"check": "MCP tools/call get_pending_verification",
"passed": true,
"shape": "object",
"keys": [
"purchaseOrdersPending",
"deliveryNotesPending",
"purchaseOrders",
"deliveryNotes"
]
},
{
"check": "PocketBase health",
"passed": true,
"status": 200
},
{
"check": "PocketBase authenticated records GET",
"passed": true,
"status": 200
},
{
"check": "http://127.0.0.1:6017: Public app health",
"passed": true,
"route": "/api/health",
"status": 200,
"contentType": "application/json",
"keys": [
"status",
"uptime",
"timestamp"
]
},
{
"check": "http://127.0.0.1:6017: 200 means no login was required; 401 means login is required",
"passed": true,
"route": "/api/dashboard-attention",
"status": 200,
"contentType": "application/json",
"keys": [
"plant",
"financial",
"onSite"
]
},
{
"check": "http://127.0.0.1:6017: Missing ingest secret must be rejected",
"passed": true,
"route": "/api/purchase-orders/by-number/[poNumber]/items",
"status": 401,
"contentType": "application/json",
"keys": [
"error"
],
"error": "unauthorized"
},
{
"check": "http://127.0.0.1:6017: Authenticated read-only PO lookup",
"passed": true,
"route": "/api/purchase-orders/by-number/[poNumber]/items",
"status": 200,
"contentType": "application/json",
"keys": [
"po",
"items"
]
},
{
"check": "http://127.0.0.1:6017: Unauthenticated MCP probe; initialization is checked separately",
"passed": true,
"route": "/api/mcp",
"status": 401,
"contentType": "application/json",
"keys": [
"error"
],
"error": "unauthorized"
}
],
"summary": {
"passed": 13,
"failed": 0
}
},
"capabilities": {
"checkedAt": "2026-10-05T00:16:52.975Z",
"checks": [
{
"check": "reader discovery",
"passed": true,
"toolCount": 35,
"writeToolCount": 0
},
{
"check": "writer discovery",
"passed": true,
"toolCount": 53,
"writeToolCount": 18
},
{
"check": "invalid bearer",
"passed": true,
"status": 401
},
{
"check": "disallowed origin",
"passed": true,
"status": 403
},
{
"check": "unauthorized document",
"passed": true,
"status": 401
},
{
"check": "reader scheduler",
"passed": true,
"status": 403
}
]
},
"unitTests": {
"files": 248,
"passed": 2256,
"failed": 0
},
"scriptTests": {
"passed": 4,
"failed": 0
},
"typescript": "passed: npx tsc --noEmit --incremental false",
"relevantEslint": "passed: MCP, purchasing services and affected API routes",
"build": "passed: npm run build; Next.js 16 standalone production build",
"standaloneSmoke": {
"checkedAt": "2026-10-05T00:36:09Z",
"origin": "http://127.0.0.1:6005",
"httpChecks": { "passed": 13, "failed": 0 },
"readerCredential": { "tools": 35, "writeToolsDiscovered": 0, "readCallsPassed": 4 },
"writeCredential": { "tools": 53, "writeToolsDiscovered": 18, "mutationsInvoked": 0 },
"invalidBearerStatus": 401,
"untrustedOriginStatus": 403,
"unauthenticatedDocumentStatus": 401
},
"deployment": "not deployed",
"productionSchemaDryRun": {
"checkedOn": "2026-10-05",
"applied": false,
"missingCollections": ["mcp_operations", "mcp_jobs", "mcp_resource_locks"]
},
"stagingDatabase": "not configured; mutation/PDF/posting acceptance pending",
"dockerImage": "not built: Docker daemon unavailable at unix:///Volumes/KIOXIA/.docker/run/docker.sock"
}