-
Notifications
You must be signed in to change notification settings - Fork 11
feat: Rewrite the mcp server to include qstash & workflow, add support for the http transport & fix the docker #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
c1f65a1
to
6e81638
Compare
|
||
await testConnection(); | ||
function getClientIp(req: IncomingMessage): string | undefined { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this function? in context7 we use it to encrypt requests that we get from our own remote server deployment but it may not be needed here
|
||
config.apiKey = finalApiKey; | ||
config.email = finalEmail; | ||
// Store SSE transports by session ID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are going to deprecate sse in context7, i think we don't need to support it for the upstash mcp sever. it's a deprecated protocol
res.end("pong"); | ||
} else { | ||
res.writeHead(404); | ||
res.end("Not found"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we had a few issues related to returning non json responses in not found endpoints in claude code and updated our implementation in context7, maybe we can update it here as well to return JSON
No description provided.