MCP ExplorerExplorer

Mcp Transport Auth

@daikwon a year ago
3 MIT
FreeCommunity
AI Systems
A simple MCP server with basic auth transport using SSE.

Overview

What is Mcp Transport Auth

mcp-transport-auth is a simple MCP server that implements basic authentication for transport using Server-Sent Events (SSE).

Use cases

Use cases include implementing secure real-time updates in web applications, such as chat applications, live notifications, or any scenario where authenticated data streaming is required.

How to use

To use mcp-transport-auth, start the server with the command ‘USERNAME=admin PASSWORD=pass uv run mcp-transport-auth --port 8000’ for basic auth, or ‘uv run mcp-transport-auth -w’ for no auth. The client can be started with ‘USERNAME=admin PASSWORD=pass uv run mcp-transport-auth-client’.

Key features

Key features include support for basic authentication, SSE transport, and the ability to run both server and client easily.

Where to use

mcp-transport-auth can be used in web applications that require secure data transport with authentication, such as real-time data feeds or notifications.

Content

mcp-transport-auth

A simple MCP server with basic auth transport.

Usage

Start the server and client, using SSE transport with basic auth:

# MCP Server
## Using SSE transport with basic auth
USERNAME=admin PASSWORD=pass uv run mcp-transport-auth --port 8000

## Using SSE transport without basic auth
uv run mcp-transport-auth -w

# MCP Client
USERNAME=admin PASSWORD=pass uv run mcp-transport-auth-client

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers