mcp-transport-sse-setup

Solid

Configure HTTP/SSE transport for web-based MCP servers with proper endpoints, authentication, and CORS.

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# MCP Transport SSE Setup Configure HTTP/SSE transport for web-based MCP servers. ## Capabilities - Configure SSE transport for MCP servers - Set up HTTP endpoints for MCP communication - Implement authentication middleware - Configure CORS for browser clients - Set up health check endpoints - Implement connection management ## Usage Invoke this skill when you need to: - Set up web-based MCP server transport - Configure SSE for real-time communication - Implement authentication for MCP endpoints - Enable CORS for browser-based clients ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | language | string | Yes | Target language (typescript, python) | | framework | string | No | Web framework (express, fastify, fastapi) | | auth | object | No | Authentication configuration | | cors | object | No | CORS configuration | ## Generated Patterns ### TypeScript Express SSE Transport ```typescript import express from 'express'; import cors from 'cors'; import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { SSEServerTransport } from '@modelcontextprotocol/sdk/server/sse.js'; const app = express(); // CORS configuration app.use(cors({ origin: process.env.ALLOWED_ORIGINS?.split(',') || '*', credentials: true, })); app.use(express.json()); // Store active connections const connections = new Map<string, SSEServerTransport>(); // SSE endpoint app.get('/sse', async (req, res) => { const connectionId...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

mcp-transport-websocket-setup

Configure WebSocket transport for bidirectional MCP communication with connection management and reconnection handling.

1,160 Updated today
a5c-ai
AI & Automation Listed

mcp-transport-guide

Understand MCP transport mechanisms - stdio, SSE, HTTP streaming, and custom transports

335 Updated today
aiskillstore
API & Backend Listed

mcp-server-manager

Configure and manage MCP (Model Context Protocol) servers in Claude Code CLI. Use this skill when adding, removing, listing, or troubleshooting MCP servers, or when questions arise about MCP configuration, transport types, scopes, or authentication. Essential for connecting Claude Code to external tools, databases, and APIs.

33 Updated 2 days ago
tdimino
AI & Automation Listed

mcp-best-practices

Build production MCP servers with the TypeScript SDK. Covers spec 2025-11-25, SDK v1.29+/v2 alpha, transport selection, tool design, error handling, security, performance, known bugs with workarounds, MCP extensions, MCP Apps (interactive UIs), authorization extensions, and the MCP Registry. Use this skill whenever building MCP servers, designing MCP tools, choosing MCP transports, handling MCP errors, migrating to MCP v2, reviewing MCP security, optimizing MCP token usage, building MCP Apps, using MCP extensions, publishing to the MCP Registry, or working with registerTool, McpServer, streamable HTTP, outputSchema, structuredContent, tool annotations, ext-apps, or ext-auth.

29 Updated 6 days ago
tenequm
AI & Automation Solid

mcp-server-patterns

Build MCP servers with Node/TypeScript SDK — tools, resources, prompts, Zod validation, stdio vs Streamable HTTP. Use Context7 or official MCP docs for latest API.

148,923 Updated 1 months ago
affaan-m