inistate-mcp 1.6.0 → 1.6.1

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/build/tools.js CHANGED
@@ -751,7 +751,10 @@ const listQueryParams = {
751
751
  .describe("Listing (saved view) name to query, case-insensitive; 'archive' targets archived entries. Defaults to the unfiltered 'Everything' view, which is admin-only on modules with listings — non-admins must name an accessible listing (an access-denied response lists them)."),
752
752
  state: z.string().optional(),
753
753
  search: z.string().optional().describe("Free-text search across document ID, state, and text-like fields; supports * and ? wildcards on the entries Inistate stores. A module whose entries are kept in another connected system passes the text to that system as typed, where * and ? are not wildcards: search plain text there"),
754
- filters: z.record(z.unknown()).optional(),
754
+ filters: z
755
+ .record(z.unknown())
756
+ .optional()
757
+ .describe('Filter keys are field display names; see the tool description for the operators. To filter on a Table field\'s columns, name the table and put the conditions in `rows`: { "Result Details": { "rows": [ { "Out of Spec": { "yes": true } } ] } } returns the entries with at least one row meeting the conditions. A column is named bare (never "Table.Column" and never directly under the table: { "Result Details": { "Out of Spec": true } } only means "has rows"), takes the operators of its own type, and a Module column matches by display value ({ "Parameter": "Sodium (as Na)" }). Conditions in rows are AND-ed. { "Table": { "exists": true } } and { "Table": { "none": true } } test for rows. The entries come back with all their rows, not only the matching ones.'),
755
758
  };
756
759
  export function registerTools(server, backend) {
757
760
  const configureTools = [];
@@ -904,6 +904,18 @@
904
904
  "not": { "type": "string" },
905
905
  "includes": { "type": "string" }
906
906
  }
907
+ },
908
+ "_table": {
909
+ "type": "object",
910
+ "description": "Table field operators. Filter a Table's columns with `rows`: an array of conditions keyed by column display name (bare, never 'Table.Column'), each using the operators of that column's own type; a Module column matches by display value. Conditions are AND-ed. The entry matches when at least one row meets them. Example: {\"Result Details\": {\"rows\": [{\"Out of Spec\": {\"yes\": true}}, {\"Parameter\": \"Sodium (as Na)\"}]}}. Naming a column directly under the table ({\"Result Details\": {\"Out of Spec\": true}}) is not a column filter: it matches every entry that has rows. The entries are returned with all their rows, not only the matching ones.",
911
+ "properties": {
912
+ "rows": {
913
+ "type": "array",
914
+ "items": { "type": "object", "description": "One condition set, keyed by column display name" }
915
+ },
916
+ "exists": { "type": "boolean", "description": "The table has at least one row" },
917
+ "none": { "type": "boolean", "description": "The table has no rows" }
918
+ }
907
919
  }
908
920
  }
909
921
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "inistate-mcp",
3
3
  "mcpName": "io.github.Inistate/inistate-mcp",
4
- "version": "1.6.0",
4
+ "version": "1.6.1",
5
5
  "description": "MCP server for the Inistate platform — no-code apps creation powered by AI",
6
6
  "type": "module",
7
7
  "author": "Inistate",
package/server.json CHANGED
@@ -8,13 +8,13 @@
8
8
  "url": "https://github.com/inistate/inistate-mcp",
9
9
  "source": "github"
10
10
  },
11
- "version": "1.6.0",
11
+ "version": "1.6.1",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "registryBaseUrl": "https://registry.npmjs.org",
16
16
  "identifier": "inistate-mcp",
17
- "version": "1.6.0",
17
+ "version": "1.6.1",
18
18
  "transport": {
19
19
  "type": "stdio"
20
20
  },