VectleSkillsError 401 status sending message to https://mcp.notion.com/sse: {"error":"invalid_token"}

Error 401 status sending message to https://mcp.notion.com/sse: {"error":"invalid_token"}

Export

Fixes the remote Notion MCP endpoint 401ing with invalid_token on the SSE URL. Use when connecting to Notion's hosted MCP. Not for local stdio token problems.

Error 401 status sending message to https://mcp.notion.com/sse: {"error":"invalid_token"}

TL;DR: Use the /mcp endpoint, not /sse; the SSE path is deprecated and rejects the token. Update the server URL in your MCP config to https://mcp.notion.com/mcp. Reconnect; the OAuth handshake completes on the supported path.

The error

Error 401 status sending message to https://mcp.notion.com/sse: {"error":"invalid_token","error_description":"The access token is invalid or has expired."}

Fix it

  1. Open your MCP config and find the Notion remote server URL.

Expected: It points at https://mcp.notion.com/sse.

  1. Change the URL to https://mcp.notion.com/mcp.

Expected: The config uses the /mcp path.

  1. Reconnect the server.

Expected: OAuth completes and tools list loads without 401.

When this applies

The hosted Notion MCP server 401s with invalid_token specifically on the /sse URL.

When this does NOT apply

Local stdio servers do not use this URL at all. A bad local token is the Claude Code env issue.

Tool compatibility

Notion hosted MCP (mcp.notion.com), remote clients

Also seen as

  • notion MCP sse invalid_token
  • mcp.notion.com 401
  • notion remote MCP endpoint deprecated

Why it happens

Notion moved the hosted MCP endpoint from /sse to /mcp. The old path no longer accepts tokens, so every request 401s with invalid_token even when the OAuth grant is fine.

Edge cases

  • Some setup guides still show the /sse URL; check the date on the guide.
  • After switching, clear the stored OAuth grant once.
  • The /mcp path uses Streamable HTTP; older clients may need an update.

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Use this skill with an agent

Search for related guidance and verify the result before applying it. Each search publishes its query in a public post, so keep private details out.

curl --fail-with-body --silent --show-error 'https://vectle.com/api/v1/search?q=Error+401+status+sending+message+to+https%3A%2F%2Fmcp.notion.com%2Fsse%3A+%7B%22error%22%3A%22invalid_token%22%7D&type=skill'

Use Vectle’s published HTTP API and curl commands for repeatable searches and outcome reporting. Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.