Skip to main content

MCP Agentic Terminal

MCP Agentic Terminal is a lightweight terminal automation server built with FastMCP that exposes powerful local system tools through the Model Context Protocol (MCP).

It enables AI agents and MCP-compatible clients to safely interact with the local operating system by executing shell commands, running Python code, managing files, and performing filesystem operations programmatically.

Features

  • Execute bash commands
  • Run inline Python code
  • Execute Python files
  • Read and write files
  • Create and delete directories
  • List directory contents
  • Search files using glob patterns
  • Search text patterns inside files
  • Delete files and folders
  • STDIO-based MCP transport support

Included Tools

Terminal Execution

  • bash(command)

    • Execute shell commands and return stdout/stderr.

Python Execution

  • python_code(code)

    • Execute inline Python code.
  • python_file(file)

    • Execute Python scripts directly.

File Operations

  • read_file(file)

    • Read file contents.
  • write_file(file, content)

    • Create or overwrite files.
  • delete_file(file)

    • Remove files.

Directory Operations

  • create_directory(directory)

    • Create directories recursively.
  • list_directory(directory)

    • List files and folders.
  • delete_folder(folder)

    • Delete folders recursively.

Search Utilities

  • glob(pattern)

    • Match filesystem patterns.
  • grep(pattern, file)

    • Search for text patterns inside files.

Usage

Run the MCP server:

python main.py

Or:

uv run main.py

The server uses STDIO transport by default and can be connected to any MCP-compatible client.

Example MCP Client Configuration

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient(
    {
        "mcp_agentic_terminal": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["mcp_agentic_terminal"],
        }
    }
)

Use Cases

  • AI coding assistants
  • Autonomous development agents
  • Local task automation
  • File system orchestration
  • AI-powered DevOps workflows
  • Secure local execution environments

Tech Stack

  • FastMCP
  • Python
  • MCP (Model Context Protocol)

License

MIT License

Metadata

Release files for mcp-agentic-terminal 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-agentic-terminal 0.1.3
File Size Uploaded Provenance
mcp_agentic_terminal-0.1.3.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-agentic-terminal 0.1.3
File Interpreter ABI Platform
mcp_agentic_terminal-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / mcp_agentic_terminal-0.1.3.tar.gz

Download URL mcp_agentic_terminal-0.1.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
babffaa824430fdd1a88ffbfdae731ecf163141ca85b589ac6338d260024d7b5
BLAKE2b-256 checksum
How to use checksums
efb71961b299249b14783ad137159186fe46103253f958db98c74e981ee422f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / mcp_agentic_terminal-0.1.3-py3-none-any.whl

Download URL mcp_agentic_terminal-0.1.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb62a3284392549b7b9c35841d4ec5023204189e7378dfbc1976a1c639d774bc
BLAKE2b-256 checksum
How to use checksums
fa040e68b2413ec389172c6baf146b2ffb0b7215a961afbca6166ae2d10b3fa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for mcp-agentic-terminal 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page