{"id":38677615,"url":"https://github.com/axelmierczuk/tenrec","last_synced_at":"2026-01-17T10:04:20.972Z","repository":{"id":314671877,"uuid":"1056364791","full_name":"axelmierczuk/tenrec","owner":"axelmierczuk","description":"A headless, extendable, multi-session, IDA Pro MCP framework.","archived":false,"fork":false,"pushed_at":"2026-01-14T01:30:01.000Z","size":33488,"stargazers_count":118,"open_issues_count":2,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T04:56:46.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/axelmierczuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-13T23:46:56.000Z","updated_at":"2026-01-14T02:39:54.000Z","dependencies_parsed_at":"2025-09-14T01:31:51.041Z","dependency_job_id":null,"html_url":"https://github.com/axelmierczuk/tenrec","commit_stats":null,"previous_names":["axelmierczuk/tenrec"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/axelmierczuk/tenrec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelmierczuk%2Ftenrec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelmierczuk%2Ftenrec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelmierczuk%2Ftenrec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelmierczuk%2Ftenrec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axelmierczuk","download_url":"https://codeload.github.com/axelmierczuk/tenrec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelmierczuk%2Ftenrec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T10:04:20.906Z","updated_at":"2026-01-17T10:04:20.959Z","avatar_url":"https://github.com/axelmierczuk.png","language":"Python","funding_links":[],"categories":["AI"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"logo\" src=\"https://raw.githubusercontent.com/axelmierczuk/tenrec/refs/heads/main/tenrec/documentation/static/_media/icon.svg\" width=\"30%\" height=\"30%\"\u003e\n\u003c/p\u003e\n\n# Tenrec\n\n[![PyPI](https://img.shields.io/pypi/v/tenrec)](https://pypi.org/project/tenrec/)\n[![Python Version](https://img.shields.io/pypi/pyversions/tenrec)](https://pypi.org/project/tenrec/)\n[![License](https://img.shields.io/pypi/l/tenrec)](https://img.shields.io/pypi/l/tenrec)\n\nA headless, extendable, multi-session MCP framework for IDA Pro, built with [ida-domain](https://ida-domain.docs.hex-rays.com/) and FastMCP.\n\n## Features\n\n- **Headless**: No GUI required, powered by ida-domain\n- **Multi-session**: Analyze multiple binaries simultaneously\n- **Extensible**: Custom plugin support via entry points\n- **Auto-docs**: Generate documentation from plugins\n\n### Built-in Plugins\n\n| Plugin | Description |\n|--------|-------------|\n| Functions | Analyze functions, boundaries, pseudocode |\n| Xrefs | Data and code cross-references |\n| Names | Symbol naming and demangling |\n| Comments | Code comments (regular, repeatable) |\n| Strings | String literal search/analysis |\n| Segments | Memory segment queries |\n| Bytes | Binary data read/patch |\n| Types | Type information and structures |\n| Entries | Entry points and exports |\n\nFor complete plugin documentation, see [tenrec docs](https://axelmierczuk.github.io/tenrec/#/).\n\n\u003e [!NOTE]\n\u003e Community plugins: [tenrec-plugins](https://github.com/axelmierczuk/tenrec-plugins)\n\n## Demo\n\nSolving Flare-On 9 Challenge 4 (darn mice) with a single prompt using tenrec and Claude Code:\n\n\u003e Use tenrec to open a session and reverse the binary. Focus on getting a high-level understanding by finding entry points and tracing execution flow. Rename variables and functions as you work. The xref plugin can help. Look for a flag in email format.\n\nhttps://github.com/user-attachments/assets/3eb442dd-9b7a-44a6-836b-b73f99f4c2f3\n\nChallenge write-up: [04-darn-mice.pdf](https://services.google.com/fh/files/misc/04-darn-mice.pdf) | Binary: [fareedfauzi/Flare-On-Challenges](https://github.com/fareedfauzi/Flare-On-Challenges)\n\n## Installation\n\n### Prerequisites\n\n- Python 3.10+\n- IDA Pro 9.1+\n\n### Install\n\n```bash\nuv tool install tenrec\n```\n\nVerify installation:\n\n```bash\nuv tool list    # Should show tenrec\nwhich tenrec    # Should show path to executable\n```\n\n### Set IDA Directory\n\n```bash\n# macOS\nexport IDADIR=\"/Applications/IDA Professional 9.1.app/Contents/MacOS\"\n\n# Linux\nexport IDADIR=\"/opt/idapro\"\n\n# Windows (PowerShell, as Administrator)\nsetx IDADIR \"C:\\Program Files\\IDA Pro\" /M\n```\n\n## Quick Start\n\n### 1. Install MCP Client\n\n```bash\ntenrec install\n```\n\nSelect your MCP client from the list (Claude Code, Cursor, Windsurf, etc.).\n\n### 2. Run Server\n\n```bash\ntenrec run\n```\n\nThe server runs with stdio transport by default. Use `--transport sse` for SSE.\n\n### 3. Plugin Management\n\n```bash\n# Add plugin\ntenrec plugins add --plugin \"package-name\"\ntenrec plugins add --plugin \"/path/to/plugin\"\ntenrec plugins add --plugin \"git+https://github.com/user/repo\"\n\n# List plugins\ntenrec plugins list\n\n# Remove plugin\ntenrec plugins remove --dist plugin_name\n```\n\n### 4. Generate Documentation\n\n```bash\ntenrec docs -p tenrec/plugins/plugins\n```\n\n## Documentation\n\n| Guide | Description |\n|-------|-------------|\n| [Plugin Development](agent_docs/plugin-development.md) | Creating custom plugins |\n| [CLI Reference](agent_docs/cli-reference.md) | Complete command reference |\n| [Architecture](agent_docs/architecture.md) | System design |\n| [Testing](agent_docs/testing.md) | Testing patterns |\n| [Integrations](agent_docs/integrations.md) | MCP client setup (including Codex) |\n| [Contributing](agent_docs/contributing.md) | Development setup and guidelines |\n| [Roadmap](agent_docs/roadmap.md) | Future plans |\n\n## Creating Plugins\n\n```python\nfrom tenrec.plugins.models import PluginBase, Instructions, operation\n\nclass MyPlugin(PluginBase):\n    \"\"\"Plugin description.\"\"\"\n\n    name = \"my_plugin\"  # Must be snake_case\n    version = \"1.0.0\"   # Must be semver\n\n    instructions = Instructions(\n        purpose=\"What this plugin does\",\n        interaction_style=[\"How to use effectively\"],\n        examples=[\"my_plugin_operation()\"],\n        anti_examples=[\"What NOT to do\"],\n    )\n\n    @operation()\n    def my_operation(self) -\u003e dict:\n        \"\"\"Operation docstring for LLM guidance.\"\"\"\n        # Access IDA via self.database\n        return {\"result\": \"value\"}\n```\n\nPackage with entry point in `pyproject.toml`:\n\n```toml\n[project.entry-points.\"tenrec.plugins\"]\nmy_plugin = \"my_package:MyPlugin\"\n```\n\nSee [Plugin Development Guide](agent_docs/plugin-development.md) for complete documentation.\n\n## Known Issues\n\n- Windows support is in progress. See [Issue #9](https://github.com/axelmierczuk/tenrec/issues/9).\n\n## Contributing\n\nSee [Contributing Guide](agent_docs/contributing.md) for development setup and guidelines.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxelmierczuk%2Ftenrec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxelmierczuk%2Ftenrec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxelmierczuk%2Ftenrec/lists"}