vscode-mcp-auth-sample

shiftrightlabs/vscode-mcp-auth-sample

3.2

If you are the rightful owner of vscode-mcp-auth-sample and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This project demonstrates how to build a secure Model Context Protocol (MCP) server with OAuth 2.1 authentication, specifically designed for integration with Visual Studio Code.

Tools

Functions exposed to the LLM to take actions

get-user-info

Returns authenticated user information from access token and Microsoft Graph API.

echo

Echoes a message back with authentication confirmation.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources