You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This removes all tool schemes except for "code mode" tools. Specifically, this removes "all tools" and "dynamic tools" schemes. Additionally, this removes support for resource filtering, tags, jq filtering, and compatibility controls in MCP servers, as they are no longer necessary when using code mode.
# Migration
To migrate, simply modify the command used to invoke the MCP server. Currently, the only supported tool scheme is code mode. Now, starting the server with just `node /path/to/mcp/server` or `npx package-name` will invoke code tools: changing your command to one of these is likely all you will need to do.
Specifically, you must remove all flags including things like --resources, --tags, --client, --tools=dynamic, etc from your invocation command. The only supported flags are now `--port`, `--transport`, `--socket`, and `--tools=docs` (specifically for "docs"). These are also the only options available for http servers.
migration-effort: small
The following tools are available in this MCP server.
243
-
244
-
### Resource `stations`:
245
-
246
-
-`retrieve_stations` (`read`): Get a QueryResult object containing one station object specified by its id.
247
-
-`list_stations` (`read`): Get a QueryResult object containing station objects from the database applying to the parameters described below.
248
-
249
-
QueryResult is a container providing the following information about the query result.
250
-
251
-
1. the total number of hits
252
-
2. the maximum number of hits to be returned in that QueryResult object
253
-
3. the offset of the first hit returned in that QueryResult object with respect to all hits returned by the query
254
-
4. the result objects
255
-
256
-
The parameters described below work as filters to reduce the number of hits returned. Some of these parameters must be used only once, others are allowed to be used multiple times. Valid parameters that are allowed to be used only once are _offset_, _limit_ and _logicaloperator_.
257
-
258
-
All other parameters described below may be used multiple times.
259
-
260
-
If a parameter is given more than once, the result will contain all hits that match all given parameter values.
261
-
262
-
E.g. _federalstate=berlin&federalstate=saarland_ returns all stations in Berlin and Saarland.
263
-
264
-
If more than one filter criterion is used at the same time, the different filter criteria are interpreted as if they are combined by a logical AND operator, unless the parameter _logicaloperator_ is set to _or_.
265
-
266
-
E.g. _category=1-2&federalstate=hamburg_ returns all stations in Hamburg having category 1 or 2.
267
-
268
-
_category=1-2&federalstate=hamburg&federalsate=hessen_ returns all stations in Hamburg and Hessen having category 1 or 2, while
269
-
270
-
_searchstring=berlin\*&federalstate=hamburg&federalsate=hessen&logicaloperator=or_ will return all stations with a name starting with 'berlin' as well as all stations in Hamburg and Hessen.
271
-
272
-
If no 'limit' parameter is given, the number of hits (stations) is set to its maximum value of 10000.
273
-
274
-
To specify parameter values containing German umlauts, the following encoding has to be used
275
-
276
-
- ä => %C3%A4
277
-
- ö => %C3%B6
278
-
- ü => %C3%BC
279
-
- Ä => %C3%84
280
-
- Ö => %C3%96
281
-
- Ü => %C3%9C
282
-
- ß => %C3%9F
283
-
284
-
### Resource `szentralen`:
285
-
286
-
-`retrieve_szentralen` (`read`): Get a QueryResult object containing one SZentralen object specified by its id.
287
-
-`list_szentralen` (`read`): Get a QueryResult object containing SZentralen objects from the database applying to the parameters described below.
288
-
QueryResult is a container providing the following information about the query result.
289
-
1. the total number of hits
290
-
2. the maximum number of hits to be returned in that QueryResult object
291
-
3. the offset of the first hit returned in that QueryResult object with respect to all hits returned by the query
0 commit comments