# 引用GitHub Issue Can you analyze @github:issue://123 and suggest a fix? # 引用API文档 Please review the API documentation at @docs:file://api/authentication # 同时引用多个资源进行对比 Compare @postgres:schema://users with @docs:file://database/user-model
在提示词中输入 @ 可触发自动补全,列出所有已连接服务器中可用的资源。
7.3 使用MCP提示命令
MCP 服务器还可以暴露提示模板( Prompts ),以 / 命令的形式集成到 Claude Code 的命令系统中:
# 引用GitHub Issue Can you analyze @github:issue://123 and suggest a fix? # 引用API文档 Please review the API documentation at @docs:file://api/authentication # 同时引用多个资源进行对比 Compare @postgres:schema://users with @docs:file://database/user-model