Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions packages/mcp-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"private": true,
"type": "module",
"license": "FSL-1.1-ALv2",
"files": [
"./dist/*"
],
"files": ["./dist/*"],
"exports": {
".": {
"types": "./dist/index.ts",
Expand Down Expand Up @@ -45,8 +43,8 @@
"@modelcontextprotocol/sdk": "^1.11.0",
"@radix-ui/react-accordion": "^1.2.10",
"@radix-ui/react-slot": "^1.2.2",
"@sentry/cloudflare": "9.16.1",
"@sentry/react": "9.16.1",
"@sentry/cloudflare": "9.19.0",
"@sentry/react": "9.19.0",
"agents": "~0.0.79",
"better-sqlite3": "^11.9.1",
"class-variance-authority": "^0.7.1",
Expand Down
17 changes: 6 additions & 11 deletions packages/mcp-cloudflare/src/server/lib/mcp-transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,12 @@ import getSentryConfig from "../sentry.config";
// Context from the auth process, encrypted & stored in the auth token
// and provided to the DurableMCP as this.props
class SentryMCPBase extends McpAgent<Env, unknown, WorkerProps> {
server = new McpServer({
name: "Sentry MCP",
version: LIB_VERSION,
});
// Note: This does not work locally with miniflare so we are not using it
// server = wrapMcpServerWithSentry(
// new McpServer({
// name: "Sentry MCP",
// version: LIB_VERSION,
// }),
// );
server = Sentry.wrapMcpServerWithSentry(
new McpServer({
name: "Sentry MCP",
version: LIB_VERSION,
}),
);

// biome-ignore lint/complexity/noUselessConstructor: Need the constructor to match the durable object types.
constructor(state: DurableObjectState, env: Env) {
Expand Down
12 changes: 4 additions & 8 deletions packages/mcp-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
"author": "Sentry",
"description": "Sentry MCP Server",
"homepage": "https://github.com/getsentry/sentry-mcp",
"keywords": [
"sentry"
],
"keywords": ["sentry"],
"bugs": {
"url": "https://github.com/getsentry/sentry-mcp/issues"
},
Expand All @@ -26,9 +24,7 @@
"bin": {
"sentry-mcp": "./dist/index.js"
},
"files": [
"./dist/*"
],
"files": ["./dist/*"],
"exports": {
".": {
"types": "./dist/index.ts",
Expand Down Expand Up @@ -87,8 +83,8 @@
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.11.0",
"@sentry/core": "^9.16.1",
"@sentry/node": "^9.16.1",
"@sentry/core": "^9.19.0",
"@sentry/node": "^9.19.0",
"zod": "^3.24.4"
}
}
155 changes: 78 additions & 77 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading