Skip to content

Conversation

ytkimirti
Copy link
Contributor

No description provided.

Copy link

linear bot commented Sep 8, 2025


await testConnection();
function getClientIp(req: IncomingMessage): string | undefined {

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

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");
Copy link

@enesgules enesgules Sep 15, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants