PTY MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PTY MCP ServerSpawn a new terminal and run 'npm install'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PTY MCP Server
pty-mcp is a Model Context Protocol (MCP) server designed to manage pseudo-terminal (PTY) sessions. Built with TypeScript and the Effect ecosystem, it provides a robust and type-safe interface for spawning, controlling, and interacting with terminal processes programmatically.
Features
Spawn Sessions: Create new PTY sessions with custom commands, arguments, and environment variables.
Interactive Control: Write data to stdin and read from stdout/stderr in real-time.
Session Management: List active sessions, monitor status, and terminate processes.
Effect Ecosystem: Leverages the power of the Effect library for error handling, concurrency, and resource management.
MCP Integration: Seamlessly exposes PTY capabilities to MCP-compliant clients.
Related MCP server: MCP (Model Context Protocol) Server
Installation
pnpm installUsage
Build
pnpm run buildStart Server
pnpm startTesting
pnpm run testAuthor
Ali Almahdi Digital Innovation Architect & AI Enthusiast
Crafting the future of technology at the intersection of AI and human experience.
Website: ali.ac
GitHub: @almahdi
X (Twitter): @alialmahdi
License
This project is licensed under the AGPL-3.0 License. See the LICENSE file for details.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceA Model Context Protocol server that enables AI assistants to interact with iTerm2 terminals, allowing creation and management of terminal sessions, command execution, and reading terminal output.Last updated54214ISC
- -license-qualityDmaintenanceA TypeScript implementation of a Model Context Protocol server and client that enables interaction with language models (specifically Mistral running on Ollama).Last updated
- AlicenseCqualityCmaintenanceA Model Context Protocol server that enables clients to interact with a system terminal running in an Electron application, allowing for executing commands, managing terminal sessions, and retrieving output programmatically.Last updated55MIT
- -licenseAquality-maintenanceA comprehensive Node.js server implementing Model Context Protocol (MCP) that enables filesystem operations, process management, and terminal session handling with an enterprise-grade security approach.Last updated14373,161
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
A Model Context Protocol server for Wix AI tools
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/almahdi/mcp-terminal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server