@comunica/mcp-sparql-link-traversal-solid 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -160,6 +160,22 @@ possibly combined with a reverse proxy and/or OAuth layer.
|
|
|
160
160
|
$ comunica-mcp-sparql-link-traversal-solid --mode http --port 3123
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
+
## Query timeouts
|
|
164
|
+
|
|
165
|
+
SPARQL queries can take arbitrarily long, for example when they are executed over large or slow sources.
|
|
166
|
+
To make sure that an agent never waits indefinitely, queries are aborted after `--timeout` milliseconds
|
|
167
|
+
(60 seconds by default, `--timeout 0` disables this), after which the agent receives an error
|
|
168
|
+
that invites it to refine its query.
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
$ comunica-mcp-sparql-link-traversal-solid --mode http --port 3123 --timeout 300000
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Note that Comunica offers no way to abort a query that is already running,
|
|
175
|
+
so a timed out query keeps consuming CPU and memory until it terminates by itself.
|
|
176
|
+
Contrary to the other Comunica MCP servers, this server does not execute queries inside replaceable worker
|
|
177
|
+
processes, as every new worker would require the user to interactively log in again.
|
|
178
|
+
|
|
163
179
|
## Available Tools
|
|
164
180
|
|
|
165
181
|
This MCP server provides the following tools:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/mcp-sparql-link-traversal-solid",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "An MCP server for executing SPARQL queries with link traversal over Solid data pods with authentication support",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"funding": {
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"build:ts": "node \"../../node_modules/typescript/bin/tsc\""
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@comunica/mcp-sparql-solid": "^1.
|
|
53
|
+
"@comunica/mcp-sparql-solid": "^1.1.0",
|
|
54
54
|
"@comunica/query-sparql-link-traversal-solid": "^0.8.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "4d3c6e5233ec89ceeb45bd2a478652e7f74d5cd2"
|
|
57
57
|
}
|