MCP使用指南提示词片段

为Claude Code提供关于MCP服务器使用方式的提示词指导,消除MCP与内置工具之间的调用歧义,提升跨环境下的可预测性和配置效率。

  • by danielrosehill
  • 本地部署
  • 更新于
在 GitHub 查看 danielrosehill/Claude-MCP-Guidelines

使用说明

MCP Guideline Snippet (Home CLAUDE.md)

The snippet (snippet.md) is an attempt to add a little determinative guidance to Claude Code on how to use MCPs that it encounters across environments (ie, which are installed with the user scope).

There are some MCPs, I have found, which require a little bit of "explaining" but which don't have a defined env variable to provide some needed context.

In other cases: there is a "conflict" between an MCP and an internal Claude tool: take Firebase. Claude its own fetch mechanism. If you have Firebase available across the system, is Claude to understand that it should always be preferred over its own retrieval or only in certain cases?

The idea behind this snippet is to try to clear up taht ambiguity in order to provide for more predictable invoking of MCP servers.

Additional notes:

As with most of the things I try to make AI systems as useful and performant as possible: this is an experiment in progress. Also: the pace of AI development is such that what are user hacks one day (like this) often become part of the system the next and thus these ideas are of very short lived utility and relevance.

Either way: feel free to adadpt to your MCPs and try on your own instance!


To view an index of my Claude Code related projects, click here.