Skip to main content
Glama
JainamDosi

mcp-server

by JainamDosi

mcp-server

FastMCP server with pluggable multi-provider authentication (Google OAuth + custom JWT).

Setup

cd mcp-server
uv venv
# Windows:
.venv\Scripts\activate
# Linux/macOS:
source .venv/bin/activate

uv add fastmcp authlib pyjwt python-dotenv google-auth fastapi uvicorn

Copy .env and fill in your credentials:

GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
JWT_SECRET=...
JWT_ALGORITHM=HS256

Related MCP server: SENTRA MCP

Run

uv run src/server.py

Tools

Tool

Description

echo(text)

Returns the text as-is

add(a, b)

Returns a + b

get_server_time()

Returns current UTC time

Auth

Pass a Authorization: Bearer <token> header. The server tries all registered providers in order:

  1. Google — verifies Google ID tokens via google-auth

  2. JWT — verifies JWTs signed with JWT_SECRET

Extending

Add a new provider:

  1. Implement AuthProvider in src/auth/your_provider.py

  2. Register it in server.py: registry.register("name", YourProvider())

No other changes needed.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JainamDosi/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server