We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yamadashy/repomix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
This release introduces token count analysis tools and MCP server enhancements, making it easier to analyze and optimize your codebase processing.
## What's New π
### Token Count Summarization (#747)
Added the powerful `--token-count-tree` option that displays token usage in a hierarchical tree view! This feature helps identify which files and directories consume the most tokens, making it easier to optimize your Repomix output.
```bash
repomix --token-count-tree
```
Displays a tree structure showing token usage:
```
π’ Token Count Tree:
ββββββββββββββββββββ
βββ tsconfig.json (177 tokens)
βββ typos.toml (80 tokens)
βββ vitest.config.ts (89 tokens)
βββ .agents/ (2874 tokens)
β βββ rules/ (2874 tokens)
β βββ base.md (1988 tokens)
β βββ browser-extension.md (453 tokens)
β βββ website.md (433 tokens)
```
You can also set a minimum threshold to only show files above a certain token count:
```bash
repomix --token-count-tree 1000
```
Special thanks to @gudber for this incredibly useful feature!
### MCP Server: Attach Packed Output Tool (#756)
Added the `attach_packed_output` tool to the MCP server, enabling AI assistants to import and analyze previously generated Repomix XML files.
This tool accepts either a directory containing `repomix-output.xml` or a direct path to an XML file, providing the same structured analysis capabilities as freshly packed repositories without the need to reprocess the codebase.
For detailed MCP documentation, see:
https://github.com/yamadashy/repomix?tab=readme-ov-file#available-mcp-tools
Special thanks to @petrarca for this valuable MCP enhancement!
## How to Update
```bash
npm update -g repomix
```
---
As always, if you have any issues or suggestions, please let us know on GitHub issues or our [Discord community](https://discord.gg/wNYzTwZFku).