Uten Agent Terminal MCP
An MCP server that gives an AI agent terminal-style capabilities through FastMCP. It exposes tools for running shell commands, executing Python code, reading and writing files, searching text, and creating or deleting folders.
Features
- Run shell commands through the
bashtool. - Execute inline Python code.
- Execute Python files.
- Find files with glob patterns.
- Search file content with
findstr. - Read and write files.
- Create and delete folders.
- Run over MCP
stdio, which makes it suitable for local MCP clients.
Requirements
- Python 3.12 or newer
fastmcp
The project currently uses Python 3.14 locally, as defined in
.python-version.
Installation
Clone the project and install the package in editable mode:
git clone <your-repository-url>
cd MCP_PYPI
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e .
If you use uv, you can install the locked dependencies with:
uv sync
Usage
Start the MCP server:
uten_agentic_terminal_mcp
The server runs with stdio transport, so it is intended to be launched by an
MCP-compatible client.
After installation, you can also run the module directly:
python -m agentic_terminal.main
Available Tools
| Tool | Description |
|---|---|
bash(command) |
Runs a shell command and returns stdout or stderr. |
python_code(code) |
Runs inline Python code and returns stdout or stderr. |
python_file(file) |
Runs a Python file and returns stdout or stderr. |
glob(pattern) |
Returns files matching a glob pattern. |
grep(pattern, file) |
Searches a file using Windows findstr. |
read_file(file) |
Reads a file and returns its contents. |
write_file(file, content) |
Writes content to a file. |
create_folder(folder) |
Creates a folder if it does not already exist. |
delete_folder(folder) |
Deletes a folder recursively. |
Project Structure
MCP_PYPI/
+-- src/
| +-- agentic_terminal/
| +-- __init__.py
| +-- main.py
| +-- tools.py
+-- dist/
+-- pyproject.toml
+-- uv.lock
+-- README.md
Build
To build the package:
python -m build
The generated wheel and source distribution will be placed in dist/.
Publish
After building, publish with Twine:
twine upload dist/*
For TestPyPI:
twine upload --repository testpypi dist/*
Security Notice
This MCP server exposes powerful local system tools. It can run shell commands, execute Python code, write files, and delete folders. Only use it with MCP clients and agents that you trust, and avoid running it with unnecessary system privileges.
License
Add a license before publishing this package publicly.
Release files for uten-agent-terminal-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uten_agent_terminal_mcp-0.1.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uten_agent_terminal_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / uten_agent_terminal_mcp-0.1.1.tar.gz
| Download URL | uten_agent_terminal_mcp-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f8110add60375401bcdf037c88d0e038cfb925777f1aaa90306515f32d0ffaa
|
|
BLAKE2b-256 checksum How to use checksums |
4da46934541ee08f1278755e2a285c4bdaf39798c7953e3b48e36ab9763e5075
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.0
|
Release files / uten_agent_terminal_mcp-0.1.1-py3-none-any.whl
| Download URL | uten_agent_terminal_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b345e381016d12eceb63f7bc3ecff45d4d715b14e9ec41733e164939acb2f06b
|
|
BLAKE2b-256 checksum How to use checksums |
de9f7e2989c0821f8c8d2e99b598c7b101bbc0a259c312b251bafd4870aa6cce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.0
|