cloudflare / cloudflare/agents-starter

Authenticated Remote MCP

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
283
PR merge metrics
No merged PRs in 30d

Description

Hi all,

First off—thanks for this great starter! I'm using it for a proof of concept and running into an issue while trying to integrate the official Atlassian MCP using their SSE endpoint:
https://mcp.atlassian.com/v1/sse

I followed the example that includes a comment about adding MCPs, but I'm seeing the following error when calling mcp.connect:
`No authProvider provided in the transport options. This client will only support unauthenticated remote MCP Servers`

And on the server side:
`SseError: SSE error: Non-200 status code (401)`
It seems like authentication is required, but I’m unsure how to properly provide the authProvider in this context.

Am I missing a configuration step or is additional setup required to connect to Atlassian's MCP?
Any guidance or examples would be greatly appreciated!

Thanks in advance!

edit -
I'm sure I am missing the DurableObjectOAuthClientProvider configuration, but I wonder how it is working out of the box, without any configuration here - https://playground.ai.cloudflare.com/

Contributor guide

Open the contributing guide

Research direction

Start by comparing the MCP connection example with the setup used by https://playground.ai.cloudflare.com/. Investigate how mcp.connect receives an authProvider and how DurableObjectOAuthClientProvider is configured, then reproduce the Atlassian SSE connection and verify that authentication prevents the server-side 401 response.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.