Skip to main content
Glama
masx200

Persistent Terminal MCP Server

by masx200
web-ui-server.d.ts826 B
import { TerminalManager } from "./terminal-manager.js"; /** * Web UI 服务器 * 提供静态文件服务、REST API 和 WebSocket 实时推送 */ export declare class WebUIServer { private app; private httpServer; private wss; private terminalManager; private clients; constructor(terminalManager: TerminalManager); /** * 设置中间件 */ private setupMiddleware; /** * 设置路由 */ private setupRoutes; /** * 设置 API 路由 */ private setupApiRoutes; /** * 设置 WebSocket */ private setupWebSocket; /** * 广播消息给所有客户端 */ private broadcast; /** * 启动服务器 */ start(port: number, host?: string): Promise<void>; /** * 停止服务器 */ stop(): Promise<void>; } //# sourceMappingURL=web-ui-server.d.ts.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/masx200/persistent-terminal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server