Merge pull request #99 from anthropics/feat/add-privacy-policies-to-manifest

feat: add privacy_policies field to manifest schema
This commit is contained in:
joan-anthropic 2025-09-12 13:11:21 -07:00 • committed by GitHub
commit b991c5fcfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# MCPB Manifest.json Spec
Current version: `0.1`
Last updated: 2025-06-17
Current version: `0.2`
Last updated: 2025-09-12
## Manifest Schema
@ -122,6 +122,7 @@ A full `manifest.json` with most of the optional fields looks like this:
"tools_generated": true,
"keywords": ["api", "automation", "productivity"],
"license": "MIT",
"privacy_policies": ["https://example.com/privacy"],
"compatibility": {
"claude_desktop": ">=1.0.0",
"platforms": ["darwin", "win32", "linux"],
@ -185,6 +186,7 @@ A full `manifest.json` with most of the optional fields looks like this:
- **prompts_generated**: Boolean indicating the server generates additional prompts at runtime (default: false)
- **keywords**: Search keywords
- **license**: License identifier
- **privacy_policies**: Array of URLs to privacy policies for external services that handle user data. Required when the extension connects to external services (first- or third-party) that process user data. Each URL should link to the respective service's privacy policy document
- **compatibility**: Compatibility requirements (client app version, platforms, and runtime versions)
- **user_config**: User-configurable options for the extension (see User Configuration section)

View file

@ -70,5 +70,6 @@
"platforms": ["darwin"]
},
"keywords": ["chrome", "browser", "remote"],
"license": "MIT"
"license": "MIT",
"privacy_policies": []
}

View file

@ -64,5 +64,6 @@
"runtimes": {
"python": ">=3.8.0 <4"
}
}
},
"privacy_policies": []
}

View file

@ -89,5 +89,6 @@
"required": true,
"default": []
}
}
},
"privacy_policies": []
}

View file

@ -103,5 +103,6 @@
"runtimes": {
"node": ">=16.0.0"
}
}
},
"privacy_policies": []
}

View file

@ -100,6 +100,7 @@ export const McpbManifestSchema = z
prompts_generated: z.boolean().optional(),
keywords: z.array(z.string()).optional(),
license: z.string().optional(),
privacy_policies: z.array(z.string()).optional(),
compatibility: McpbManifestCompatibilitySchema.optional(),
user_config: z
.record(z.string(), McpbUserConfigurationOptionSchema)