MCP.so
登录

TSG Indexer MCP Server

@entrepeneur4lyf

基本信息

分类

开发工具

许可证

Activity

传输方式

stdio

作者

entrepeneur4lyf

关于 TSG Indexer MCP Server

A library for indexing code repositories using Tree-sitter Stack Graphs, designed to be used in MCP servers and other tools.

TSG Indexer MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

TSG Indexer MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is TSG Indexer?

TSG Indexer is a Rust library that uses Tree-sitter Stack Graphs to analyze code repositories and build graph representations of code structure. It captures relationships between definitions and references across files, enabling code navigation and analysis for MCP servers and other tools.

How to use TSG Indexer?

Add it as a dependency in your Rust project's Cargo.toml with optional cli and lsp features. Use the IndexerConfig and run_indexer API to index a file or directory. If built with CLI support, run tsg_indexer_cli with a path and optional flags for output format and file.

Key features of TSG Indexer

  • Supports 20+ programming languages including Rust, Python, JavaScript, and more
  • Recursive directory traversal for comprehensive codebase analysis
  • Output formats: JSON and DOT graph
  • Optional CLI and LSP support via feature flags
  • Ability to generate TSG files for unsupported languages

Use cases of TSG Indexer

  • Integrate code indexing and navigation into an MCP server
  • Build graph representations of code structure for analysis tools
  • Find definitions and references across files in a multi-language project

常见问题

1

What dependencies does TSG Indexer require?

It requires tree-sitter and stack-graphs libraries, both from GitHub.

2

What programming languages are supported out of the box?

It supports 22 languages explicitly listed: Rust, Python, JavaScript, TypeScript, Java, Swift, Objective-C, CSS, Scala, Zig, YAML, Go, PHP, XML, JSDoc, Bash, JSON, HTML, C#, Ruby, Markdown, Lua, Dart, and more.

3

Where does the indexed data live?

Data is output to a file or stdout in the chosen format; no persistent storage is managed by the library itself.

4

What transports or authentication does TSG Indexer use?

The README does not mention any network transports or authentication mechanisms; it is a local library/CLI tool.

5

What are the known limits?

The README does not state any limits, but the library is in early development (version 0.1.0).

评论

开发工具 分类下的更多 MCP 服务器