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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user