
A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A sample Spring Boot application that demonstrates securing an MCP server with OAuth2, including client credentials and authorization code flows.
OAuth2-secured MCP server sample is cataloged as an MCP server attributed to akshay12390. A sample Spring Boot application that demonstrates securing an MCP server with OAuth2, including client credentials and authorization code flows. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for OAuth2-secured MCP server sample are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The sample shows the client credentials grant through the token endpoint and an authorization code flow with PKCE for the browser.
The README states that the token is valid for 15 minutes.
README.md · a8096ad6dfe1 · Fetched 2026-11-13 13:56:30 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This sample demonstrates how to secure an MCP server using OAuth2, as per the MCP specification.
Run the project with:
./mvnw spring-boot:run
Obtain a token by calling the /oauth2/token endpoint:
curl -XPOST "http://localhost:8080/oauth2/token" \
--data grant_type=client_credentials \
--user "mcp-client:secret"
# And copy-paste the access token
# Or use JQ:
curl -XPOST "http://localhost:8080/oauth2/token" \
--data grant_type=client_credentials \
--user "mcp-client:secret" | jq -r ".access_token"
Obtain a auth code by first calling authorize endpoint
python3 pkce_generator.py
and then fetch access token by calling the /oauth2/token endpoint
python3 token_request.py
Store the generated token in previous step, and then boot up the MCP inspector:
npx @modelcontextprotocol/inspector@0.6.0
In the MCP inspector, paste your token. Click connect, and voilà!
Note that the token is valid for 15 minutes
In Spring, OAuth2 Support for MCP server means adding:
Note that Spring Auth Server does not support the reactive stack, so issuing tokens only works in Servlet.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for OAuth2-secured MCP server sample from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-weather-starter-webmvc-oauth2-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.