@pdpp/mcp-server 0.15.4 → 0.16.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tools.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdpp/mcp-server",
3
- "version": "0.15.4",
3
+ "version": "0.16.0",
4
4
  "description": "Local stdio MCP adapter for grant-scoped PDPP reads and event-subscription management.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/tools.js CHANGED
@@ -2112,6 +2112,7 @@ function formatFieldCapabilityFlags(capabilities) {
2112
2112
  const schema = objectValue(capabilities.schema);
2113
2113
  const type = firstString(capabilities.type, schemaType(schema));
2114
2114
  if (type) flags.push(`t=${formatInlineValue(type)}`);
2115
+ if (typeof capabilities.role === 'string' && capabilities.role.length > 0) flags.push(`role=${formatInlineValue(capabilities.role)}`);
2115
2116
  if (capabilities.granted === false) {
2116
2117
  flags.push('g=false');
2117
2118
  }