mcp-pypi
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., "@mcp-pypilist all .txt files in the current folder"
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.
mcp-pypi
What this project is
This project is an MCP server built with FastMCP. It exposes tools that give an MCP client or agent basic terminal abilities, such as running commands, running Python, and working with files and folders. The server uses the MCP stdio transport, so it communicates over standard input and output and is meant to be started by an MCP client.
Related MCP server: My Awesome MCP
What it does
Starts an MCP server over stdio.
Registers a set of tools that act on the local machine.
MCP tools
The server provides these tools:
Tool | Purpose | Notes |
| Run a shell command. | Uses the system shell. Returns stderr on error. On success, it does not return a value in the current implementation. |
| Run Python code. | Executes |
| Run a Python file. | Executes |
| Find files by pattern. | Returns a list of matching paths. |
| Search for a pattern in a file. | Uses |
| Read a file. | Returns file content or error text. |
| Write a file. | Overwrites if the file exists and returns a success message or error text. |
| Create a folder. | Returns a message if it was created or already exists. |
| Delete a folder. | Recursively removes the folder if it exists and returns a message. |
Install
Python 3.10 or later is required.
From the repository root:
python -m pip install .Run as an MCP server
Start the server with the stdio transport:
mcp_pypiOr:
python -m mcp_pypi.mainThen configure your MCP client to launch it with stdio. Example:
{
"mcpServers": {
"mcp-pypi": {
"command": "mcp_pypi",
"args": []
}
}
}Project layout
src/mcp_pypi/tools.pydefines the MCP tools.src/mcp_pypi/main.pystarts the MCP server over stdio.test.pystarts the server directly for quick local runs.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/UjjwalKo/mcp-pypi-terminal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server