@falco do you accept PRs? While the discourse MCP has a tool to create new categories, there is no permissions argument.
I could submit the following PR:
Proposed Changes for Discourse
src/tools/builtin/create_category.ts
Update
zodschema to accept an optionalpermissionsfield.
Type:
z.record(z.string(), z.number()).optional().Description: Map of group names to permission levels.
Format:
{ "group_name": permission_type_int }Permission type values (from Discourse schema):
1: full (See, Reply, Create)
2: create_post (Reply only)
3: readonly (See only)Pass
permissionsin the payload toclient.post('/categories.json', payload).