MCP.so
登录

MCP Server for Find Reference

@Menabar

基本信息

分类

其他

传输方式

stdio

作者

Menabar

关于 MCP Server for Find Reference

暂无概览

MCP Server for Find Reference 配置

暂无标准配置

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

代码仓库

MCP Server for Find Reference 工具

工具列表暂未提供

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

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

概览

What is MCP Server for Find Reference?

MCP Server for Find Reference provides two tools—get-text-matches and get-parse-tree—that recursively search files in a given directory. get-text-matches returns exact text matches with file, line, and column. get-parse-tree returns parse tree metadata for a string. It is designed for developers analyzing source code.

How to use MCP Server for Find Reference?

Add the server to AMP using http://localhost:3001 and name it get-text-matches. Run with node server.js. Then prompt the MCP server with commands like “use the get-text-match tool to find temp_x, specify the full path.” You may need to explicitly tell it which tool to use.

Key features of MCP Server for Find Reference

  • Returns exact text matches with file, line, and column.
  • Returns parse tree metadata for a given string.
  • Both tools run recursively over all files in a directory.
  • Can be instructed to use or avoid a specific tool.

Use cases of MCP Server for Find Reference

  • Finding all occurrences of a variable name in a codebase.
  • Analyzing variable types and scopes in JavaScript files.
  • Understanding parse tree structure of code snippets.

常见问题

1

Why does the server need to be told to use a specific tool?

The client may try to find information itself because it has direct file access. Therefore, the server must be explicitly instructed to use `get-text-match` or `get-parse-tree`.

2

What if the server selects the wrong tool?

You can tell it to specifically not use a tool, for example: “use the parse tree tool, not get text, to find temp_x.”

3

Is it necessary to specify the full path?

Not always, but occasionally the server uses `.` as the directory instead of the full path. Specifying the full path is recommended.

4

Does the server have access to any directory?

The server trusts the client to tell it what local directory to check. You can hard code a path if desired.

5

Does the server support case‑insensitive matching?

Not yet; case‑insensitive matches are planned for a future update.

评论

其他 分类下的更多 MCP 服务器