semvec/pypi-packages huggingface dataset:
descope-mcp 0.1.0
MCP SDK for Descope authentication
Requires Python: >=3.10
Keywords: authentication, descope, mcp, sdk

# MCP Descope SDK

Multi-language SDK for integrating Descope authentication with MCP (Model Context Protocol) servers.

Descope serves as the **Authorization Server (AS)** for your MCP Servers, providing:
- [Full authorization and scoping](https://docs.descope.com/agentic-identity-hub/mcp-servers) - Token validation, scope enforcement, and audience validation
- [External token storage](https://docs.descope.com/agentic-identity-hub/connections) - Secure storage and retrieval of OAuth tokens for third-party services (Google Calendar, Slack, etc.)
- [Policy enforcement](https://docs.descope.com/agentic-identity-hub/policies) - Real-time authorization decisions based on user identity, roles, and scopes

## Languages

- [Python SDK](./python/README.md) - Python SDK for MCP Descope integration
- TypeScript SDK - Coming soon

## Quick Links

- [Python Documentation](./python/README.md)
- [Python Examples](./python/examples/)
- [Contributing](./CONTRIBUTING.md) (coming soon)

## Repository Structure

```
.
├── python/          # Python SDK
│   ├── src/        # Source code
│   ├── tests/      # Tests
│   ├── examples/   # Example code
│   └── README.md   # Python SDK documentation
└── typescript/     # TypeScript SDK (coming soon)
```
iflow-mcp_ksankaran_mcp-b2c-oauth 0.1.1
Add your description here
Requires Python: >=3.13.3

# MCP B2C OAuth

A project for implementing Google OAuth2 client app B2C authentication for the MCP platform.

## Overview

This project provides integration with Google OAuth2 for authentication and authorization within the MCP (Model Context Protocol) platform. It enables secure user authentication through Google's identity platform.

## Features

- Google OAuth2 integration
- OAuth 2.0 authentication flow
- Token management
- User profile retrieval
- Role-based access control

## Installation

```bash
uv sync
```

## Configuration

Modify `.env` file in the root directory with the following variables:

```
MCP_CLIENT_ID=<YOUR_GOOGLE_CLIENT_ID>
MCP_CLIENT_SECRET=<YOUR_GOOGLE_CLIENT_SECRET>

```

## Usage

Start the development server:

```bash
uv run .
```

## Authentication Flow

1. User is redirected to Google OAuth2 login page
2. After successful authentication, Google redirects to the callback URL
3. Application validates the received token
4. User session is established

## API Reference

### Authentication Endpoints

- `GET /callback` - Handles the OAuth callback
- `GET /.well-known/oauth-authorization-server` - Auth Server Details
- - `GET /authorize` - Used by MCP Clients to authorize with the server
- - `GET /token` - Used by MCP Clients to get token from code
- - `GET /register` - Used by MCP Clients to register themselves to server

## Development

### Prerequisites

- Python 3.13+
- Google Cloud Platform account with OAuth 2.0 client credentials

## Contributing

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Contact

Name - kv.coder@gmail.com

Project Link: [https://github.com/ksankaran/mcp-b2c-oauth](https://github.com/ksankaran/mcp-b2c-oauth)