ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
[ERROR] Error: COOKIE_SECRET is not defined. A secret key is required for signing cookies. - - Cloudflare Developers
CD
Cloudflare Developers
โข
12mo ago
โข
1 reply
Alexander
[ERROR] Error: COOKIE_SECRET is not defined. A secret key is required for signing cookies. -
Hey
!
I am following the guide on setting up Remote MCP with oauth and I run into 2 issues
(let me know if this is a wrong thread
- couldn
't find a better one
)
.
Link
:
https://developers.cloudflare.com/agents/guides/remote-mcp-server/#connect-your-remote-mcp-server-to-claude-and-other-mcp-clients-via-a-local-proxy
1
.
(minor
)
- guide assumes the localhost is available at 8787 but default worker port after cloning the repo is 8788
. Maybe my env impacted this not sure
2
.
(major
)
- after I created an GitHub OAuth app and added local secrets but I ran into COOKIE
_SECRET unset
I couldn
't find any docs
/ help on this
- would be much appreciated
Cloudflare Docs
Build a Remote MCP server ยท Cloudflare Agents docs
This guide will walk you through how to deploy an example MCP server to your Cloudflare account
. You will then customize this example to suit your needs
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
87,353
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Service bindings not working: Error - env is not defined
CD
Cloudflare Developers / workers-and-pages-help
2y ago
Secret "MY_SECRET" not found
CD
Cloudflare Developers / workers-and-pages-help
8mo ago