anthropics / anthropics/claude-ai-mcp

Support custom headers for connectors.

Đang mở
#10 62 bình luận 102 reaction 0 người được giao Xem trên GitHub
auth enhancement
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
471
Fork
76
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Problem Statement

Claude.ai MCP connectors only support OAuth. For custom MCP servers, a low-tech basic auth solution would be very nice.

Claude Code and Desktop support custom headers. This enables the use of Bearer tokens, HTTP basic auth, or an ad-hoc approach to auth.

For example:
```
claude mcp add --transport http myCoolMCP https://example.com/mcp --header "Authorization: Basic ZXhhbXBsZTpodW50ZXIy"
```

### Proposed Solution

It would be great if claude.ai would support a custom header option like Claude Code and Desktop. Going full OAuth for a custom-built MCP server is often overkill when there is only a single user and a simple single password / token would be sufficient security for one's threat model.

### Alternatives Considered

_No response_

### Area

MCP Connector (adding/managing servers)

### Priority

Critical - Blocking my MCP server development

### Additional Context

_No response_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.