Command Palette

Search for a command to run...

Home / Servers

pyobfus

Updated today

by zhurong2020

pyobfus β€” the Python obfuscator

pyobfus Logo

pyobfus (pronounced as "Python obfuscator") is a modern, AST-based python-obfuscator / code-obfuscator with framework-aware presets, reverse stack-trace mapping for AI-assisted debugging, and a machine-readable JSON CLI designed for Claude Code, Cursor, Codex, and MCP agents. A transparent, open-source alternative to PyArmor.

PyPI version PyPI downloads Documentation Status License Python OpenSSF Best Practices DOI pyobfus MCP server Code style: black

A Python code obfuscator built with AST-based transformations. Supports Python 3.9 through 3.14. Provides reliable name mangling, string encoding, control-flow flattening, AES-256 string encryption, and β€” unique to pyobfus β€” a reverse-mapping workflow that lets you (or your AI coding assistant) debug obfuscated stack traces without giving up the protection.

πŸ”’ Pro Edition available β€” 6 patent-targeted protection mechanisms (Selective Opacity, forensic watermarking, Runtime String Vault, and more) layered on top of the free AST obfuscator, $45 one-time, no subscription. See Pro Edition below.

πŸ”§ What's new in v0.5.11 β€” --anti-debug now checks three more signals beyond the original sys.gettrace(): TracerPid (Linux native debuggers), WinAPI IsDebuggerPresent() (Windows), and a timing-skew check that catches single-stepping on any platform. v0.5.10 added --embed-data <path> (AES-256-GCM resource-file embedding) and, separately, pyobfus-mcp 0.3.4 added PII-shape detection to its risk scan. v0.5.9 added --requires-os / --requires-python-min / --requires-arch platform restrictions. Full details in the CHANGELOG; see Pro Edition below.

πŸ”Œ Companion MCP server: pyobfus-mcp

This repository ships two installable packages:

PackageWhat it isInstall
pyobfusThe Python obfuscator (CLI + library).pip install pyobfus
pyobfus-mcpA Model Context Protocol (MCP) server that exposes pyobfus's tools to AI coding agents.uvx pyobfus-mcp (zero-install) or pip install pyobfus-mcp

The MCP server lives in pyobfus_mcp/ and is built on the official Model Context Protocol Python SDK (FastMCP). It registers eight MCP tools so Claude Desktop, Claude Code, Cursor, Windsurf, Zed, and Codex can call pyobfus directly from agent conversations β€” no shelling out:

Related servers

n8n

Updated today

by n8n-io

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

β˜… 204,501

mcp-server-fetch

OfficialUpdated 14d ago

by modelcontextprotocol

A Model Context Protocol server providing tools to fetch and convert web content for usage by LLMs

β˜… 90,371

@modelcontextprotocol/server-everything

OfficialUpdated 14d ago

by modelcontextprotocol

MCP server that exercises all the features of the MCP protocol

β˜… 90,371

mcp-server-git

OfficialUpdated 14d ago

by modelcontextprotocol

A Model Context Protocol server providing tools to read, search, and manipulate Git repositories programmatically via LLMs

β˜… 90,371