Authplane Java SDK
OAuth 2.1 JWT validation and token operations for Java resource servers, with first-class adapters for Model Context Protocol (MCP) servers and Spring applications.
Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
OAuth 2.1 JWT validation and token operations for Java resource servers, with first-class adapters for Model Context Protocol (MCP) servers and Spring applications.
Java SDK for protecting MCP servers and OAuth 2.1 resource servers with tokens issued by the Authplane authorization server. Includes framework adapters (e.g. MCP, Spring Security).
Requires Java 21+.
Tested against authserver 0.2.0. Introspection-based revocation (useBuiltinRevocationChecker()) requires authserver 0.1.2 or later, which only answers the token's issuing client or a runtime-client of the resource — see the user guides.
Using the authplane-mcp adapter for the MCP Java SDK's servlet transport:
AuthplaneMcpSetup setup = AuthplaneMcpSetup.builder()
.issuer("https://auth.company.com")
.resource("https://mcp.company.com/mcp")
.scopes(List.of("tools/query"))
.build()
.get();
HttpServletStreamableServerTransportProvider transport =
HttpServletStreamableServerTransportProvider.builder()
.mcpEndpoint(setup.mcpPath())
.securityValidator(setup.adapter())
.contextExtractor(setup.adapter())
.build();
McpServer.sync(transport)
.serverInfo(Implementation.builder("My Server", "1.0.0").build())
.tools(/* ... */)
.build();
setup.registerServlets(servletContext, transport);
That wires RFC 8414 metadata discovery, JWKS caching, RFC 9068 token validation, and RFC 9728 Protected Resource Metadata in one builder. Call setup.client().close() on shutdown to clear the token cache. For Spring applications, see authplane-spring.
exp / nbf / iat, and typ (at+jwt) validation; required claims enforced (sub, client_id, exp, iat, jti)RS256 and ES256 (asymmetric) are accepted; none, HS256, HS384, HS512 are always rejected at constructionissuer must match the configured issuer exactly; required endpoints must be presentkid misscnf.jkt), replay protection, htm / htu / ath checksexpires_in is missingauthplane-mcpauthplane-spring (Path A)authplane-spring (Path B)java.util.logging structured logs across JWKS refresh, metadata discovery, circuit-breaker transitions, token verification, and DPoP binding outcomesVerifiedClaims) safe to pass between threadsauthplane-sdk — README · User Guideauthplane-mcp — README · User Guideauthplane-spring — README · User GuideApache 2.0 — see LICENSE.
Java SDK for protecting MCP servers and OAuth 2.1 resource servers with tokens issued by the Authplane authorization server. Includes framework adapters (e.g. MCP, Spring Security).
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
Java Sdk ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-11-05 Java SDK for protecting MCP servers and OAuth 2.1 resource servers with tokens issued by the Authplane authorization server. Includes framework adapters (e.g. MCP, Spring Security).