mcpWinAuditServer💻
用于构建自己的模型上下文协议(MCP)服务器的入门模板。此模板提供了创建可用于Cursor或Claude Desktop的自定义MCP所需的基本结构和设置。
⚠️ 当前状态:仅 mcpFreeMemory 该工具目前功能齐全。我们正在积极改进其他工具。 ⚠️
特性
- 使用TypeScript的基本MCP服务器设置
- 示例工具实现
- 即用型项目结构
- 内置于 @模型上下文协议/sdk
项目结构
mcpWinAuditServer/
├── index.ts # Main server implementation
├── package.json # Project dependencies
├── tsconfig.json # TypeScript configuration
└── build/ # Compiled JavaScript output入门指南
- 克隆此模板:
git clone [your-repo-url] mcpWinAuditServer
cd mcpWinAuditServer- 安装依赖项:
pnpm install- 构建项目:
pnpm run build这将生成 /build/index.js file-您编译的MCP服务器脚本。
与光标一起使用
- 转到光标设置->MCP->添加新的MCP服务器
- 配置您的MCP:
- 姓名:\[选择自己的姓名\] - 类型:命令 - 命令: node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js
与Claude Desktop一起使用
将以下MCP配置添加到您的Claude Desktop配置中:
{
"mcpServers": {
"mcpWinAuditServer": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js"]
}
}
}- 构建并测试您的实现:
npm run build贡献
请随时提交问题和增强请求!
许可证
国际协调委员会
