Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Behind corporate proxy getting error while sending message to learn.microsoft.com/api/mcp #5

@fperez2511

Description

@fperez2511

Greetings,

I am trying the new MicrosoftDocs mcp server in VS Code.

However, after installing it, am seeing this error message:

2025-06-13 11:44:16.283 [info] Starting server microsoft.docs.mcp
2025-06-13 11:44:16.285 [info] Connection state: Starting
2025-06-13 11:44:16.298 [info] Starting server from LocalProcess extension host
2025-06-13 11:44:16.341 [info] Connection state: Running
2025-06-13 11:44:17.876 [info] Connection state: Error Error sending message to https://learn.microsoft.com/api/mcp: TypeError: fetch failed
2025-06-13 11:44:17.877 [error] Server exited before responding to `initialize` request.

I am behind a corporate firewall. Regular GET to https://learn.microsoft.com/api/mcp gets a 405 error.
If I hit https://learn.microsoft.com/api I get 404 (API not handled).
For an empty POST, I see:

POST https://learn.microsoft.com/api/mcp
Error: read ECONNRESET
Request Headers
User-Agent: PostmanRuntime/7.44.0
Accept: */*
Cache-Control: no-cache
Postman-Token: {REDACTED}
Host: learn.microsoft.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions