MCP.so
ログイン

MCP Server com SSE e Autenticação Bearer

@br-silvano

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

br-silvano

MCP Server com SSE e Autenticação Bearer について

MCP Server com SSE e Autenticação Bearer

MCP Server com SSE e Autenticação Bearer の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-sse-br-silvano": {
      "command": "node",
      "args": [
        "dist/index.js"
      ]
    }
  }
}

MCP Server com SSE e Autenticação Bearer のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server com SSE e Autenticação Bearer?

This is an MCP (Model Context Protocol) server implementation in TypeScript that uses Server-Sent Events (SSE) for remote message transport and Bearer token authentication. It enables secure, real-time communication between LLM hosts (e.g., Claude Desktop) and custom tools exposed via the MCP protocol.

How to use MCP Server com SSE e Autenticação Bearer?

Install Node.js 20+, clone the repository, run npm install, create a .env file with BEARER_TOKEN and PORT (default 3001). For development, execute npm run dev (uses ts-node). For production, run npm run build then node dist/index.js. Use npm run dev:inspect to start the MCP Inspector at http://127.0.0.1:6274 for testing tools.

Key features of MCP Server com SSE e Autenticação Bearer

  • Real‑time remote transport via Server‑Sent Events (SSE)
  • Bearer token authentication on all endpoints
  • Four example math tools (add, subtract, multiply, divide)
  • Modular architecture following SOLID and Clean Code principles
  • Development with ts‑node without pre‑compilation
  • Easy inspection via @modelcontextprotocol/inspector

Use cases of MCP Server com SSE e Autenticação Bearer

  • Exposing tools to LLM clients like Claude Desktop over a secure remote connection
  • Providing real‑time communication between a model host and custom backend services
  • Demonstrating how to implement MCP servers with SSE and authentication
  • Rapid prototyping and debugging of MCP tools using the built‑in inspector

よくある質問

1

What is the Model Context Protocol (MCP)?

MCP is a protocol that enables LLM hosts (e.g., Claude Desktop) to communicate with servers that expose tools and resources. This project implements an MCP server.

2

What are the runtime dependencies?

Node.js version 20 or higher, npm, TypeScript, and ts‑node (for development). No database or external services are required.

3

How is authentication handled?

Every

コメント

「その他」の他のコンテンツ