Archestra Apps HackathonJoin now

Thread

N
nguyenduccanh15233:08 AMOpen in Slack
Hi everyone, I want to increase the timeout for the MCP port. Where do I need to adjust this? Thank you very much.

20 replies
IK
Innokentii Konstantinov (archestra team)9:38 AMOpen in Slack
Hi! Could you please give more details?
N
nguyenduccanh15239:46 AMOpen in Slack
When I connect the tool via the MCP port on my Archestra, the timeout expires after 60 seconds. I need to increase the timeout; how can I do that?
IK
Innokentii Konstantinov (archestra team)9:48 AMOpen in Slack
Just to clarify - tool call taking a long time to execute and timing out?
N
nguyenduccanh15239:49 AMOpen in Slack
yes
N
nguyenduccanh15239:50 AMOpen in Slack
How do I fix this problem?
IK
Innokentii Konstantinov (archestra team)9:50 AMOpen in Slack
I'm looking into it
IK
Innokentii Konstantinov (archestra team)9:54 AMOpen in Slack
is it self-hosted or remote mcp? If it's self-hosted, which transport it's using - stdio or streamable http?
N
nguyenduccanh15239:59 AMOpen in Slack
It is using HTTP
IK
Innokentii Konstantinov (archestra team)10:00 AMOpen in Slack
I see. There is no way to set this timeout today. We will provide this setting per server in a next release early next week, does it work for u?
N
nguyenduccanh152310:03 AMOpen in Slack
i think it will help me for work because i need increase time when i call tool from archestra to mcp gateway
N
nguyenduccanh15234:19 AMOpen in Slack
@user Have there been any results for this yet? I'm waiting for them.
IK
Innokentii Konstantinov (archestra team)7:53 AMOpen in Slack
Hi! it will be included in our release 1.3 which is scheduled for next Monday, sorry for the delay
IK
Innokentii Konstantinov (archestra team)9:46 AMOpen in Slack
Hi @user! In a version 1.3.1 we released a env var to tweak mcp timeout via ARCHESTRA_MCP_GATEWAY_TOOL_CALL_TIMEOUT_MS env var
N
nguyenduccanh15239:56 AMOpen in Slack
Is that option available on the user interface, or do I have to configure it in the terminal when installing a new version? @user
IK
Innokentii Konstantinov (archestra team)9:56 AMOpen in Slack
No, it's not in the UI, it's in the environment variable. How do you run archestra?
N
nguyenduccanh152310:00 AMOpen in Slack
services:
archestra:
image: archestra/platform:latest
container_name: archestra
ports:
- "9000:9000"
- "3000:3000"
environment:
ARCHESTRA_QUICKSTART: "true"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- archestra-postgres-data:/var/lib/postgresql/data
- archestra-app-data:/app/data
restart: unless-stopped
volumes:
archestra-postgres-data:
archestra-app-data:
i run this
IK
Innokentii Konstantinov (archestra team)10:00 AMOpen in Slack
are you using docker or helm chart?
N
nguyenduccanh152310:01 AMOpen in Slack
i using docker
IK
Innokentii Konstantinov (archestra team)10:03 AMOpen in Slack
Just add ARCHESTRA_MCP_GATEWAY_TOOL_CALL_TIMEOUT_MS=120000 to the environment, it will increase a timeout twice. Default one is 60000
Here is the doc reference - archestra.ai/docs/platform-deployment#…
Make sure you are running latest 1.3.1 version ( you can check it at the bottom of archestra UI)
IK
Innokentii Konstantinov (archestra team)12:20 PMOpen in Slack
Let me know if it helped!