Skip to content

Commit 655ca17

Browse files
committed
Add doc on bearer authentication and Remote-MCP usage
1 parent cfc147d commit 655ca17

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,35 @@ YepCode MCP server can be integrated with AI platforms like [Cursor](https://cur
4040
}
4141
```
4242

43+
We also support authentication using a Bearer token in the HTTP `Authorization` header. This is the recommended and most secure way to authenticate with the YepCode MCP server when your AI platform supports it.
44+
45+
- **Direct Bearer Authentication:**
46+
- If your AI platform or MCP client supports setting the `Authorization` header directly, simply provide your YepCode MCP Server URL with the required Bearer token. See your platform's documentation for details. For example, in Cursor, refer to their [MCP authentication docs](https://docs.cursor.com/context/model-context-protocol#authentication).
47+
48+
- **Using Remote-MCP as a Proxy:**
49+
- Some AI platforms or MCP clients do **not** natively support setting the `Authorization` header. In these cases, you can use [Remote-MCP](https://github.com/ssut/Remote-MCP) as a proxy. Remote-MCP injects the `Authorization` header for you, allowing you to connect securely to YepCode MCP Server.
50+
51+
**Example configuration using Remote-MCP:**
52+
53+
```typescript
54+
{
55+
"mcpServers": {
56+
"remote-mcp": {
57+
"command": "npx",
58+
"args": ["-y", "@remote-mcp/client"],
59+
"env": {
60+
"REMOTE_MCP_URL": "https://cloud.yepcode.io/mcp/sse",
61+
"HTTP_HEADER_Authorization": "Bearer <sk-c2E....RD>"
62+
}
63+
}
64+
}
65+
}
66+
```
67+
68+
> **Note:**
69+
> - Use Remote-MCP only if your platform does not support Bearer authentication natively.
70+
> - For the most up-to-date information on authentication support, check your platform's documentation or the [Model Context Protocol docs](https://modelcontextprotocol.io/introduction).
71+
4372
### Local Approach
4473

4574
#### Required Environment Variables

0 commit comments

Comments
 (0)