fix: Correct MCP HTTP endpoint path from / to /mcp/
- Remove incorrect /status endpoint reference - Update logging to show correct MCP endpoint at /mcp/ - Align with FastMCP documentation standards 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
70c08e4c3e
commit
7a65f6729a
1 changed files with 3 additions and 4 deletions
|
|
@ -830,12 +830,11 @@ async def run_mcp_server():
|
||||||
)
|
)
|
||||||
logger.info('=' * 60)
|
logger.info('=' * 60)
|
||||||
logger.info('MCP Server Access Information:')
|
logger.info('MCP Server Access Information:')
|
||||||
logger.info(f' Server URL: http://{display_host}:{mcp.settings.port}/')
|
logger.info(f' Base URL: http://{display_host}:{mcp.settings.port}/')
|
||||||
logger.info(f' MCP Endpoint: POST http://{display_host}:{mcp.settings.port}/')
|
logger.info(f' MCP Endpoint: http://{display_host}:{mcp.settings.port}/mcp/')
|
||||||
logger.info(' Transport: HTTP (streamable)')
|
logger.info(' Transport: HTTP (streamable)')
|
||||||
logger.info(' Status endpoint: GET /status')
|
|
||||||
logger.info('=' * 60)
|
logger.info('=' * 60)
|
||||||
logger.info('For MCP clients, use the server URL above as the endpoint')
|
logger.info('For MCP clients, connect to the /mcp/ endpoint above')
|
||||||
await mcp.run_streamable_http_async()
|
await mcp.run_streamable_http_async()
|
||||||
else:
|
else:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue