Skip to content

Commit 8a7abb7

Browse files
masnwilliamsclaude
andcommitted
Drop KERNEL_PROJECT_ID fallback
Projects is a brand new feature — KERNEL_PROJECT_ID was never in production, so there's no legacy to preserve. Only read KERNEL_PROJECT. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 6e6ab29 commit 8a7abb7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/app/[transport]/route.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ function createKernelClient(apiKey: string) {
2121
"X-Referral-Source": "mcp.onkernel.com",
2222
};
2323

24-
const projectId =
25-
process.env.KERNEL_PROJECT || process.env.KERNEL_PROJECT_ID;
24+
const projectId = process.env.KERNEL_PROJECT;
2625
if (projectId) {
2726
headers["X-Kernel-Project-Id"] = projectId;
2827
}

0 commit comments

Comments
 (0)