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

评论

其他 分类下的更多 MCP 服务器