What is the mandatory argument for running TokenScope?
The `--base-path` argument is mandatory. It restricts all file operations to the specified directory for security; attempts to access files outside this path are rejected.
@cdgaete
基本情報
Token-Aware Directory Explorer MCP Server for LLMs like Claude
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"directory-explorer-mcp": {
"command": "uv",
"args": [
"pip",
"install",
"tokenscope"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
TokenScope is a Model Context Protocol (MCP) server for token-aware directory exploration and analysis. It helps Large Language Models (LLMs) understand codebases by scanning directory structures with token-efficient summaries, extracting file contents with token awareness, finding important files, and generating comprehensive reports.
Install via uv pip install tokenscope (Python 3.10+ required). Run with the mandatory --base-path argument to restrict all file operations to a specific directory. For Claude Desktop, add the server to mcpServers in the configuration file (e.g., ~/.config/claude/config.json), providing the uv run command with required arguments. A development installation option from GitHub is also available.
The `--base-path` argument is mandatory. It restricts all file operations to the specified directory for security; attempts to access files outside this path are rejected.
Add the server to the `mcpServers` section of Claude Desktop's configuration file. Example: `"TokenScope": { "command": "uv", "args": ["run", "--with", "tokenscope", "tokenscope", "--base-path", "/your/secure/base/path"] }`.
Python 3.10 or higher is required. The recommended package manager is `uv`. For development, `fastmcp` and `tiktoken` are additional dependencies.
The README does not mention any data storage or external communication. All operations are file-system based within the allowed base path.
It provides six tools: `scan_directory_structure`, `extract_file_content`, `search_files_by_pattern`, `analyze_token_usage`, `copy_file_to_destination`, and `generate_directory_report`.
Markdown To PDF Conversion MCP
MCP server that exposes a V8 JavaScript runtime as a tool for AI agents like Claude and Cursor. Supports persistent heap snapshots via S3 or local filesystem, and is ready for integration with modern AI development environments.
MCP server for working with PDF files
A Box model context protocol server to search, read and access files
Storacha MCP storage server - self-sovereign data for your AI applications.
コメント