[Client][Server] Ship extension classes for the two authorization extensions
Maintainer thường phản hồi trong vòng 1 ngày
@chr-hertel đang làm issue này rồi.
Từ ngày 10/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Currently neither side announces the authorization extensions from #669. The extension guides ask for that, the normative specs in modelcontextprotocol/ext-auth don't:
- client:
io.modelcontextprotocol/oauth-client-credentialsandio.modelcontextprotocol/enterprise-managed-authorizationinclientCapabilities.extensions("must" in the guides) - server:
io.modelcontextprotocol/oauth-client-credentialsin theserver/discovercapabilities (optional, "recommended for discoverability")
Nothing breaks without it - conformance doesn't check it, and the TypeScript and Python SDKs don't announce them either. Users can already do it with their own AbstractExtension, but since the prefix is reserved for official extensions, it's on us to ship the classes, like McpApps:
$client = Client::builder()
->enableExtension(new OAuthClientCredentials())
->build();
$server = Server::builder()
->enableExtension(new OAuthClientCredentials())
->build();
OAuth::forServiceAccount() can't enable it on its own, since core must not know concrete extensions - so it stays opt-in and gets documented next to forServiceAccount() and setCrossAppAccess(). Low priority, rather a follow up once the other SDKs move.
- Ngôn ngữ chính
- PHP
- Star
- 1.7k
- Fork
- 206
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 102
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của modelcontextprotocol/php-sdk
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
modelcontextprotocol/php-sdk#746 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Server] Handler type uses bare Closure, hard to decorate RegistryInterface under strict PHPStanĐang mởServer
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
modelcontextprotocol/php-sdk#468 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement P3
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
modelcontextprotocol/php-sdk#733 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Server] Handle notifications/cancelled on the handshake eraCó thể đã có người làm @ump45nose đã nhận 5 ngày trước. Đang mởhelp wanted improves spec compliance Server
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
modelcontextprotocol/php-sdk#732 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Client] Test cross-app access against a real identity providerCó thể đã có người làm @chr-hertel đã nhận 6 ngày trước. Đang mởauth Client
modelcontextprotocol/php-sdk#720 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modelcontextprotocol/php-sdk
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
pluginsGLPI/carbon#396 ·
-
[BUG] Bundle products lose their price in RSS feeds: getPrices() was removedCó thể đã có người làm @pcvelz đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
OpenMage/magento-lts#5869 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Map Info Window ButtonsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
OpenGIS/waymark-wp#82 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
claude
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
sprain/sprainocchio#39 ·
Maintainer thường phản hồi trong vòng 1 ngày