Back to MCP directory
publicPublicdnsLocal runtime

tfmcp

tfmcp项目的Cursor AI规则配置

article

README

🚀 tfmcp 项目规则

tfmcp 项目规则主要用于 Cursor AI,此目录包含了该项目在 Cursor AI 中的相关规则,能助力项目开发更规范、高效。

🚀 快速开始

这些规则会自动由 Cursor IDE 应用到相关文件中,无需手动操作即可启用它们。

✨ 主要特性

  • 一致性:维持项目中的编码风格一致。
  • 清晰度:推荐清晰、可读的代码,并附上适当的文档。
  • 效率:通过有用的命令和自动化优化工作流程。
  • 安全性:遵循最佳实践以实现安全编码和基础设施。

📦 安装指南

暂未提及相关安装步骤内容,此章节跳过。

💻 使用示例

暂未提供代码示例,此章节跳过。

📚 详细文档

结构

| 属性 | 详情 | |------|------| | project.json | 项目全局设置和规则 | | rust.json | 与 Rust 代码文件相关的特定规则 | | terraform.json | 与 Terraform 配置文件相关的特定规则 |

从 .cursorrules 迁移

该项目正在从旧版的 .cursorrules 文件迁移到新的 Project Rules 系统。为了向后兼容,.cursorrules 文件仍然被维护,但最终将被淘汰。

自定义命令

在 Command Palette (Cmd+Shift+P) 中输入任何已注册的命令:

  • tfmcp:release - 发布新版本
  • tfmcp:build - 构建项目
  • tfmcp:test - 运行测试
  • tfmcp:lint - 运行代码检查工具
  • tfmcp:run - 运行 MCP 服务器
  • tfmcp:analyze - 分析 Terraform 代码

🔧 技术细节

暂未提供相关技术细节内容,此章节跳过。

📄 许可证

暂未提及许可证信息,此章节跳过。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client