mirror of
https://github.com/bknd-io/bknd.git
synced 2026-10-25 19:58:31 +00:00
added additional permissions, implemented mcp authentication
This commit is contained in:
16 files changed
+144
-74
No files matched your search
@@ -273,6 +273,11 @@ export class ModuleManager {
|
||||
: new EntityManager([], this.connection, [], [], this.emgr);
|
||||
this.guard = new Guard();
|
||||
this.mcp = new McpServer(undefined as any, {
|
||||
app: new Proxy(this, {
|
||||
get: () => {
|
||||
throw new Error("app is not available in mcp context");
|
||||
},
|
||||
}) as any,
|
||||
ctx: () => this.ctx(),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user