Skip to main content
Glama
masx200

Persistent Terminal MCP Server

by masx200
mcp-server.d.ts1.15 kB
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { TerminalManager } from "./terminal-manager.js"; import { WebUIManager } from "./web-ui-manager.js"; /** * MCP 服务器实现 * 将终端管理功能暴露为 MCP 工具和资源 */ export declare class PersistentTerminalMcpServer { private server; private terminalManager; private webUiManager; constructor(); /** * 创建终端并返回统一格式的结果 */ private createTerminalResponse; /** * 使用 Codex 修复 Bug */ private fixBugWithCodex; /** * 设置 MCP 工具 */ private setupTools; /** * 设置 MCP 资源 */ private setupResources; /** * 设置 MCP 提示 */ private setupPrompts; /** * 设置事件处理器 */ private setupEventHandlers; /** * 获取 MCP 服务器实例 */ getServer(): McpServer; /** * 获取终端管理器实例 */ getTerminalManager(): TerminalManager; /** * 获取 Web UI 管理器实例 */ getWebUiManager(): WebUIManager; /** * 关闭服务器 */ shutdown(): Promise<void>; } //# sourceMappingURL=mcp-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