プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

MedRecPro Drug Label Server

作者:chriserikbarnesバージョン 1.0.3i★ –iクラウドで動く
レジストリ名com.medrecpro/drug-label-server

インストール

概要

作者による説明(英語の原文)

Search and export FDA drug labels by brand name, generic ingredient, or UNII code.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: クラウドで動く
  • トランスポート: Streamable HTTP
  • カテゴリ: クリニック・健康

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • 作者のサーバーで動きます。あなたが頼んだ内容は、作者のサーバーを通ります。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

ウェブ、デスクトップ、モバイルのClaudeで使えます:

  1. Settings → Connectors を開く
  2. Add custom connector を押す
  3. 下のアドレスを貼り付けて Add を押す
  4. サインインを求められたら、作者のサービスにサインインする
SettingsConnectors1+ Add2https://…3
https://www.medrecpro.com/mcp

ターミナルでこれを実行します

claude mcp add --transport http drug-label https://www.medrecpro.com/mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "drug-label": {
      "url": "https://www.medrecpro.com/mcp"
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "drug-label": {
      "type": "http",
      "url": "https://www.medrecpro.com/mcp"
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

ChatGPTがつなげるのは、インターネット上のサーバーだけです:

  1. ウェブ版のChatGPTを開き → Settings → Connectors (Apps)
  2. Create または Add を押す(プランによっては、先に Advanced で Developer mode をオンにする必要があります)
  3. 下のアドレスを貼り付け、名前を付けて保存する
  4. サインインを求められたら、作者のサービスにサインインする
SettingsConnectors1+ Create2https://…3
https://www.medrecpro.com/mcp

メニューの名前は、プランや時期によって少し違うことがあります。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

このサーバーのツール一覧はまだ読み取っていません。エンドポイントは順番にチェックしています。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名はドメイン medrecpro.com で確認済みです(レジストリがドメインの所有を確認しています)

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    エンドポイントが応答する

    まだチェックしていません。エンドポイントは順番にチェックしています

  • … 未チェック

    OAuthでサインイン

    まだチェックしていません。エンドポイントは順番にチェックしています

  • … 未チェック

    ツールの説明に隠れた指示がない

    まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります

クリニック・健康のほかのサーバーとの比較i

  • このカテゴリのほかの1022件のうち0%よりスターが多い
  • このカテゴリのほかの1022件のうち2%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1022件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MedRecPro Drug Label Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.3)がレジストリに届いたのは8 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。

代わりに使えるものは?

同じカテゴリには:Mirobody, FHIR MCP Server, Google Health MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Mirobody

作者:thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

パソコンで動く★ 1,408Apache-2.0今日更新
インストール

FHIR MCP Server

作者:wso2

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

パソコンで動く★ 137Apache-2.09 日前更新
インストール

Google Health MCP

作者:davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

パソコンで動く★ 79MIT4 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

MedRecPro MCP Server

MCP (Model Context Protocol) server for the MedRecPro application. Acts as an OAuth 2.1 gateway between MCP clients (Claude, etc.) and the MedRecPro Web API.

Version: 1.0.0 Runtime: ASP.NET Core 8.0 Production URL: https://www.medrecpro.com/mcp

Architecture

                             Azure App Service: "MedRecPro" (Windows, IIS)

+--------------------------------------------------+ | | +------------------+ | / site\wwwroot MedRecProStatic | | Claude / MCP | HTTPS | /api site\wwwroot\api MedRecPro API | | Client |------->| /mcp site\wwwroot\mcp MedRecProMCP | +------------------+ | | | +--------------------------------------------------+ v | +------------------+ v | Cloudflare | +------------------+ | (CDN/WAF/DNS) | | Azure Key Vault | +------------------+ | (medrecprovault)| +------------------+

The MCP server runs as an IIS virtual application at /mcp on the same Azure App Service as the main MedRecPro UI and API. IIS handles path-based routing to three separate ASP.NET Core processes:

Virtual PathPhysical PathProjectPurpose
/site\wwwrootMedRecProStaticUI / Static content
/apisite\wwwroot\apiMedRecProWeb API
/mcpsite\wwwroot\mcpMedRecProMCPMCP Server (this project)

Endpoints

All endpoints are externally prefixed with /mcp by the IIS virtual application.

External URLMethodDescription
/mcpPOSTMCP Streamable HTTP transport (JSON-RPC)
/mcp/healthGETHealth check (returns JSON status)
/mcp/docsGETHTML technical documentation page
/mcp/getting-startedGETHTML getting-started page (user-facing, for directory listing)
/mcp/docs/images/{filename}GETServes embedded screenshot images (PNG)
/mcp/.well-known/oauth-protected-resourceGETProtected Resource Metadata (RFC 9728)
/mcp/.well-known/oauth-authorization-serverGETAuthorization Server Metadata (RFC 8414)
/mcp/oauth/authorizeGETOAuth authorization endpoint
/mcp/oauth/tokenPOSTToken exchange endpoint
/mcp/oauth/registerPOSTDynamic Client Registration (RFC 7591)
/mcp/oauth/callback/googleGETGoogle OAuth callback
/mcp/oauth/callback/microsoftGETMicrosoft OAuth callback

Note: GET /mcp returns HTTP 405 (Method Not Allowed). This is correct behavior. The MCP transport only accepts POST requests. For browser-accessible pages, use /mcp/docs (technical documentation) or /mcp/getting-started (user-facing guide).

Authentication Flow

1. Claude sends POST to /mcp (unauthenticated)
  1. Server returns 401 with WWW-Authenticate header pointing to PRM
  2. Claude fetches /mcp/.well-known/oauth-protected-resource
  3. Claude fetches /mcp/.well-known/oauth-authorization-server
  4. Claude registers via /mcp/oauth/register (Dynamic Client Registration)
  5. Claude redirects user to /mcp/oauth/authorize?provider=google
  6. User authenticates with Google/Microsoft
  7. Provider redirects to /mcp/oauth/callback/{provider}
  8. MCP server resolves upstream IdP email to numeric DB user ID via POST /api/users/resolve-mcp (auto-provisions user if they don't exist in the database)
  9. MCP server issues authorization code with numeric sub claim (standard JWT name), redirects to Claude
  10. Claude exchanges code for tokens via /mcp/oauth/token
  11. Claude sends authenticated POST to /mcp with Bearer MCP JWT
  12. MCP server forwards MCP JWT to MedRecPro API for each tool call (McpBearer auth scheme)

User Resolution and Auto-Provisioning

During the OAuth callback (step 9), the MCP server must map the upstream identity provider's identifier (Google sub / Microsoft GUID) to a numeric MedRecPro database user ID. The API's getEncryptedIdFromClaim() method expects a numeric NameIdentifier claim — without this resolution, all API calls would fail with 401.

How it works:

  1. OAuthEndpoints.cs extracts email, display name, and provider from upstream IdP claims
  2. UserResolutionService generates a temporary MCP JWT and calls POST /api/users/resolve-mcp
  3. The API's UsersController.ResolveMcpUser() looks up the user by email:
  • User exists: Returns their encrypted database user ID
  • User doesn't exist: Auto-provisions a new user record (matching AuthController.createUserForExternalLogin() defaults: EmailConfirmed=true, Timezone="UTC", Locale="en-US", no password), then returns the encrypted ID
  1. UserResolutionService decrypts the encrypted ID using the shared Security:DB:PKSecret via StringCipher
  2. OAuthEndpoints.cs replaces the upstream NameIdentifier claim with the numeric database user ID
  3. McpTokenService.normalizeClaimType() converts ClaimTypes.NameIdentifier to the standard JWT sub claim during token creation, and OutboundClaimTypeMap is cleared to prevent double-mapping
  4. The MCP JWT is issued with the numeric user ID as the sub claim, enabling all API calls to succeed

Key architecture:

  • TokenForwardingHandler forwards the MCP JWT directly to the API (not the upstream Google/Microsoft token). The API's McpBearer authentication scheme validates these MCP-signed JWTs.
  • Both the MCP server and API share Security:DB:PKSecret from Azure Key Vault for StringCipher encryption/decryption of user IDs.
  • UserResolutionService uses a dedicated "MedRecProApiDirect" named HttpClient (without TokenForwardingHandler) to avoid circular token forwarding during resolution.
  • Claim normalization: McpTokenService normalizes .NET ClaimTypes URIs to standard JWT short names (sub, name, email, given_name, family_name) before token creation. Both JWT handlers set MapInboundClaims = false so claims retain their short names when read back. The API's ClaimHelper resolves user IDs from both ClaimTypes.NameIdentifier (cookie auth) and "sub" (MCP JWT auth).

Compiler Directives (#if DEBUG)

Route paths use compiler directives to handle IIS virtual application path stripping. This follows the same pattern as ApiControllerBase in the MedRecPro API project.

Problem: IIS strips the /mcp prefix from requests before forwarding to the app. A request to www.medrecpro.com/mcp/oauth/authorize arrives at Kestrel as /oauth/authorize. Routes must account for this.

ComponentDEBUG (local dev)RELEASE (Azure/IIS)
MCP transportMapMcp("/mcp")MapMcp("/")
Health checkGET /GET /health
DocumentationGET /mcp/docsGET /docs
Getting startedGET /mcp/getting-startedGET /getting-started
Image servingGET /mcp/docs/images/{filename}GET /docs/images/{filename}
OAuth group/mcp/oauth/oauth
Well-known metadata/mcp/.well-known/*/.well-known/*
PRM redirect/mcp/.well-known/oauth-protected-resource redirects to SDK pathNot needed (IIS handles)

Files with compiler directives:

  • Program.cs - MCP transport, health check, docs, getting-started, image serving, PRM redirect
  • Endpoints/OAuthEndpoints.cs - OAuth route group prefix
  • Endpoints/OAuthMetadataEndpoints.cs - Well-known metadata paths

Config-driven (no directives needed):

  • OAuth callback URLs - Built from McpServer:ServerUrl at runtime
  • OAuth metadata document contents - Built from McpServer:ServerUrl at runtime
  • Protected Resource Metadata - Built from McpServer:ServerUrl at runtime

Setup Guide

Prerequisites
  • .NET 8.0 SDK
  • Azure subscription with:
  • App Service (Windows, IIS) - shared with MedRecPro
  • Key Vault (medrecprovault)
  • Application Insights (optional)
  • Cloudflare account with medrecpro.com domain
  • Google Cloud Console project with OAuth 2.0 credentials
  • Microsoft Entra ID app registration
1. Local Development Setup
Clone and restore
git clone <repo-url>

cd MedRecProMCP dotnet restore

Configure user secrets
dotnet user-secrets init

dotnet user-secrets set "McpServer:JwtSigningKey" " " dotnet user-secrets set "Jwt:Key" " " dotnet user-secrets set "Jwt:Issuer" "http://localhost:5233/mcp" dotnet user-secrets set "Jwt:Audience" "http://localhost:5233/mcp" dotnet user-secrets set "Jwt:ExpirationMinutes" "60" dotnet user-secrets set "Jwt:UpstreamTokenEncryptionKey" "<32-char-aes-key>" dotnet user-secrets set "Authentication:Google:ClientId" " " dotnet user-secrets set "Authentication:Google:ClientSecret" " " dotnet user-secrets set "Authentication:Microsoft:ClientId" " " dotnet user-secrets set "Authentication:Microsoft:ClientSecret:Dev" " " dotnet user-secrets set "Authentication:Microsoft:TenantId" " " dotnet user-secrets set "Security:DB:PKSecret" " "

Run locally
dotnet run

The server runs at http://localhost:5233. In DEBUG mode, endpoints include the /mcp prefix:

  • Health check: http://localhost:5233/
  • MCP transport: http://localhost:5233/mcp (POST only)
  • Documentation: http://localhost:5233/mcp/docs
  • Getting started: http://localhost:5233/mcp/getting-started
  • Screenshot images: http://localhost:5233/mcp/docs/images/{filename}
  • OAuth metadata: http://localhost:5233/mcp/.well-known/oauth-authorization-server
2. Azure App Service Setup
Add virtual application

In Azure Portal:

  1. Navigate to App Service "MedRecPro" > Configuration > Path mappings
  2. Click "+ Add virtual application or directory"
  3. Configure:
  • Virtual path: /mcp
  • Physical path: site\wwwroot\mcp
  • Type: Check Application
  1. Click Save
Key Vault secrets

Ensure the following secrets exist in Azure Key Vault (medrecprovault). These are shared with the MedRecPro API since both apps use the same Key Vault:

Secret NameDescription
McpServer--JwtSigningKeyJWT signing key for MCP tokens (min 32 chars)
Jwt--KeyJWT signing key
Jwt--IssuerJWT issuer claim
Jwt--AudienceJWT audience claim
Jwt--ExpirationMinutesToken expiration (e.g., 60)
Jwt--UpstreamTokenEncryptionKeyAES encryption key for upstream tokens
Authentication--Google--ClientIdGoogle OAuth Client ID
Authentication--Google--ClientSecretGoogle OAuth Client Secret
Authentication--Microsoft--ClientIdMicrosoft Entra App ID
Authentication--Microsoft--ClientSecret--ProdMicrosoft client secret (production)
Authentication--Microsoft--TenantIdAzure AD Tenant ID
Security--DB--PKSecretShared encryption key for user ID encryption/decryption (must match API)

Note: Key Vault uses -- as separator. ASP.NET Core maps these to : in configuration (e.g., Jwt--Key becomes Jwt:Key).

Managed identity

The App Service must have a system-assigned managed identity with Get and List permissions on Key Vault secrets. Since the MCP virtual application shares the same App Service as the API, the existing managed identity should already have access.

3. OAuth Provider Configuration
Google Cloud Console
  1. Go to Google Cloud Console > APIs & Services > Credentials
  2. Edit your OAuth 2.0 Client ID
  3. Add authorized redirect URIs:
  • https://www.medrecpro.com/mcp/oauth/callback/google (production)
  • http://localhost:5233/mcp/oauth/callback/google

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く