Skip to content

Invalid access token when using cf mcps with oauth http instead of npx #241

@Kimeiga

Description

@Kimeiga

Client Information

  • LLM Client: Augment in VS Code
  • Client Config:
Image

Describe the bug
initially it was working but the next day all of the requests have failed like so:

Tool execution failed: Error POSTing to endpoint (HTTP 401): {"error":"invalid_token","error_description":"Invalid access token"}

Not sure how i can provide the API token?

I'm using Oauth, HTTP: https://observability.mcp.cloudflare.com/mcp

Image

should i use npx like so instead?

{
	"mcpServers": {
		"cloudflare": {
			"command": "npx",
			"args": ["mcp-remote", "https://observability.mcp.cloudflare.com/mcp"]
		}
	}
}

To Reproduce
Steps to reproduce the behavior:

  1. Add all of the cloudflare mcp servers as HTTP Oauth

Expected behavior
it would work without specifying api token?

Additional context
Add any other context about the problem here.

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