Skip to content

Commit 8c4cebb

Browse files
authored
feat/sentry mcp
1 parent e172618 commit 8c4cebb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/nestjs-libraries/src/mcp/mcp.settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { socialIntegrationList } from '@gitroom/nestjs-libraries/integrations/in
55
export class McpSettings {
66
private _server: McpServer;
77
createServer(organization: string, service: MainMcp) {
8-
this._server = new McpServer(
8+
this._server = Sentry.wrapMcpServerWithSentry(new McpServer(
99
{
1010
name: 'Postiz',
1111
version: '2.0.0',
@@ -17,7 +17,7 @@ export class McpSettings {
1717
', '
1818
)} to schedule you need to have the providerId (you can get it from POSTIZ_PROVIDERS_LIST), user need to specify the schedule date (or now), text, you also can send base64 images and text for the comments. When you get POSTIZ_PROVIDERS_LIST, always display all the options to the user`,
1919
}
20-
);
20+
));
2121

2222
for (const usePrompt of Reflect.getMetadata(
2323
'MCP_PROMPT',

0 commit comments

Comments
 (0)