MCP Server com SSE e Autenticação Bearer
@br-silvano
关于 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"
]
}
}
}工具
未检测到工具
工具是从 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
FAQ from MCP Server com SSE e Autenticação Bearer
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.
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.
How is authentication handled?
Every
其他 分类下的更多 MCP 服务器
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
评论