Point the docs at the real API domain, mcp.nearle.ai.in

The deployment landed on mcp.nearle.ai.in, not the mcp.catalogue.nearle.ai.in
these references were written against. Only comments, README and .env.example
are affected - nothing reads the hostname at runtime - but a wrong host in the
connection snippet is a wrong host somebody pastes into an MCP client.

API_CORS_ORIGINS is unchanged: it takes the FRONTEND's origin
(catalogue.nearle.ai.in), not the API's, so moving the API does not affect it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Suriyakumarvijayanayagam
2026-08-13 13:29:34 +05:30
parent ad7bb9250b
commit 00216ae834
4 changed files with 4 additions and 4 deletions

View File

@@ -65,7 +65,7 @@
# credentials off if it sees one, so a wildcard silently breaks every call).
#
# Production - the React app is served from catalogue.nearle.ai.in and calls
# the API at mcp.catalogue.nearle.ai.in, so that frontend origin must be listed:
# the API at mcp.nearle.ai.in, so that frontend origin must be listed:
#
# API_CORS_ORIGINS=https://catalogue.nearle.ai.in
#

View File

@@ -92,7 +92,7 @@ long-running client has to refresh. Raise the TTL if that is a problem.
"mcpServers": {
"nearle-catalogue": {
"type": "http",
"url": "https://mcp.catalogue.nearle.ai.in/mcp",
"url": "https://mcp.nearle.ai.in/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}

View File

@@ -175,7 +175,7 @@ if _mcp_app is not None:
# Serve built frontend static files if dist exists (single-port unified
# deployment). Off in the normal setup: the React app is served by its own
# nginx on catalogue.nearle.ai.in and this API answers on
# mcp.catalogue.nearle.ai.in, so no dist/ is present here and the JSON root
# mcp.nearle.ai.in, so no dist/ is present here and the JSON root
# handler at the bottom of this file is what responds to /.
#
# The candidates cover both repo layouts - the sibling checkout is named

View File

@@ -2,7 +2,7 @@
MCP server exposing the catalog as tools for AI clients.
Mounted onto the FastAPI app at /mcp (see app/main.py), so it ships in the same
container and answers on the same host - mcp.catalogue.nearle.ai.in/mcp.
container and answers on the same host - mcp.nearle.ai.in/mcp.
Scope: reads only. Every tool here maps to a service function the REST API
already exposes through a GET. None of the write or compute endpoints - catalog