My Telegram bot was working find previously, but after the Telegram group has no activity for 6 hours, it unable to reply using mcporter tool
Solution
If you want stateful sessions (often nicer for chatty clients), add:
-
--stateful --sessionTimeout 600000
--stateful --sessionTimeout 600000
(example: 10 minutes)
2) Test each HTTP MCP endpoint with mcporter
Because these are
http://
http://
URLs (not https), mcporter needs
--allow-http
--allow-http
:
mcporter list --http-url http://127.0.0.1:8101/mcp --allow-httpmcporter list --http-url http://127.0.0.1:8102/mcp --allow-httpmcporter list --http-url http://127.0.0.1:8103/mcp --allow-http
mcporter list --http-url http://127.0.0.1:8101/mcp --allow-httpmcporter list --http-url http://127.0.0.1:8102/mcp --allow-httpmcporter list --http-url http://127.0.0.1:8103/mcp --allow-http
3) Persist them as named servers in mcporter config