py-gpt
Desktop AI Assistant powered by GPT-5, GPT-4, o1, o3, Gemini, Claude, Ollama, DeepSeek, Perplexity, Grok, Bielik, chat, vision, voice, RAG, image and video generation, agents, tools, MCP, plugins, speech synthesis and recognition, web search, memory, presets, assistants,and more. Linux, Windows, Mac
claude mcp add --transport stdio szczyglis-dev-py-gpt python -m pygpt_net \ --env OPENAI_API_KEY="Your OpenAI API key"
How to use
PyGPT is a feature-rich desktop AI assistant that can run locally on Linux, Windows, and Mac. It integrates with OpenAI models and other SDKs to provide multi-modal capabilities such as chat, document-assisted conversations, image and video generation, web searching, code execution, file I/O, and workflow automation. The MCP integration allows you to start and manage the PyGPT server from a consistent interface, offering access to its command-line and programmatic features through the configured server entry. Users can interact with PyGPT to perform tasks like drafting text, analyzing documents, running Python code, querying web results, and orchestrating plugins and tools for automated workflows. If you are leveraging MCP tooling, you can connect to the server named in the configuration and utilize its capabilities as part of larger automation pipelines or client-side tooling.
How to install
Prerequisites:
- Python 3.10 or newer (but less than 3.14 as per the release notes)
- Internet access for initial installation and model usage (API keys may be required for OpenAI or other services)
Option A: Install via Python package (recommended for development or flexible environments)
- Ensure Python and pip are installed and available in PATH
- Create a new virtual environment (optional but recommended) python -m venv pygpt-env source pygpt-env/bin/activate # Linux/macOS pygpt-env\Scripts\activate # Windows
- Install the PyGPT package from PyPI pip install pygpt-net
- Run PyGPT as a server (MCP-compatible entry) python -m pygpt_net
Option B: Use provided binaries / AppImage (recommended for end-users)
- Download the appropriate binary or AppImage from the official PyGPT download page
- Make sure the file is executable (for AppImage: chmod +x path/to/PyGPT-AppImage)
- Run the executable to start the application
Option C: Run via MCP configuration (example)
- Ensure Python is installed and accessible
- Create a minimal MCP config referencing the Python module as shown in mcp_config
- Start your MCP client to connect to the PyGPT server
Notes:
- If you plan to use OpenAI models, set your OPENAI_API_KEY environment variable or provide credentials via the application’s settings. The README notes that you must have your own API key for OpenAI models.
- The project also supports alternative deployment methods; choose the approach that aligns with your environment (development, user install, or distribution).
Additional notes
Tips and common issues:
- If using the Python module entry (pygpt_net), ensure the module is installed in the active environment and that all required dependencies are available.
- For OpenAI-based models, ensure your API key is configured either via the OPENAI_API_KEY environment variable or through the application's UI settings.
- When running via MCP, keep the environment variables (like API keys) in the env block to ensure the MCP client can access them.
- If you encounter library compatibility issues, adjust your Python version within the supported range (>=3.10, <3.14) and re-create the virtual environment.
- For macOS users without binaries, consider installing from PyPI and running via Python to mimic the same behavior as the desktop app.
Related MCP Servers
repomix
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.
ai-guide
程序员鱼皮的 AI 资源大全 + Vibe Coding 零基础教程,分享大模型选择指南(DeepSeek / GPT / Gemini / Claude)、最新 AI 资讯、Prompt 提示词大全、AI 知识百科(RAG / MCP / A2A)、AI 编程教程、AI 工具用法(Cursor / Claude Code / OpenClaw / TRAE / Lovable / Agent Skills)、AI 开发框架教程(Spring AI / LangChain)、AI 产品变现指南,帮你快速掌握 AI 技术,走在时代前沿。本项目为开源文档版本,已升级为鱼皮 AI 导航网站
deepchat
🐬DeepChat - A smart assistant that connects powerful AI to your personal world
archestra
Secure cloud-native MCP registry, gateway & orchestrator
papersgpt-for-zotero
A powerful Zotero AI and MCP plugin with ChatGPT, Gemini 3.1, Claude, Grok, DeepSeek, OpenRouter, Kimi 2.5, GLM 5, SiliconFlow, GPT-oss, Gemma 3, Qwen 3.5
better-chatbot
Just a Better Chatbot. Powered by Agent & MCP & Workflows.