UNPKG

@iflow-mcp/chess-mcp

Version:

A Model Context Protocol (MCP) server that provides an interactive chess game experience using MCP-UI. This server exposes chess game functionality through MCP tools and provides a web-based chessboard interface for playing games.

5 lines (4 loc) 420 B
import { type Request, type RequestHandler, type Response } from "express"; import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js"; export declare function Middleware(newServer: (req: Request, res: Response, transport: StreamableHTTPServerTransport) => Promise<McpServer> | McpServer): RequestHandler;