Skip to content

v1.2 - tg-invoke-mcp-tool results in a timeout #482

@keebeegee

Description

@keebeegee

See below: When trying to invoke a MCP tool I get an timeout:

(trustgraph) kh@lt:~/docker-kg-is$ tg-show-mcp-tools

+-------------+---------------------------+
| id          | get_control               |
| remote-name | get_control               |
| url         | http://localhost:9880/mcp |
+-------------+---------------------------+

+-------------+---------------------------+
| id          | list_all_controls         |
| remote-name | list_all_controls         |
| url         | http://localhost:9880/mcp |
+-------------+---------------------------+

+-------------+---------------------------+
| id          | list_control_ids          |
| remote-name | list_control_ids          |
| url         | http://localhost:9880/mcp |
+-------------+---------------------------+

+-------------+---------------------------+
| id          | search_controls           |
| remote-name | search_controls           |
| url         | http://localhost:9880/mcp |
+-------------+---------------------------+

(trustgraph) kh@lt:~/docker-kg-is$ tg-invoke-mcp-tool -n get_control -P '{"control_id": "5.7"}'
Exception: HTTPConnectionPool(host='localhost', port=8088): Read timed out. (read timeout=60)
(trustgraph) kh@lt:~/docker-kg-is$ netstat -ltnup | grep 8088
tcp6       0      0 :::8088                 :::*                    LISTEN      -
(trustgraph) kh@lt:~/docker-kg-is$ curl localhost:8088
404: Not Found(trustgraph) kh@lt:~/docker-kg-is$

MCP Server is up-and-running, http request using browser to http://localhost:9880/mcp returns:
{"jsonrpc":"2.0","id":"server-error","error":{"code":-32600,"message":"Not Acceptable: Client must accept text/event-stream"}}

As always - thanks for looking into this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions