MCP 技术
一个模型上下文协议 (MCP) 服务器,旨在将 AI 助手与 Tekmetric 集成。该项目允许 AI 工具与您的 Tekmetric 数据进行交互,从而直接从您的 AI 助手实现自动化和智能工作流程。
目前,此集成支持只读操作,允许您的 AI 从 Tekmetric 实例中检索信息。
示例用法
利用您的 AI 助手与您的 Tekmetric 数据进行交互:
📅 查看预约详情: “明天的预约详情是什么?”
🚗 检索商店信息: “查找商店的联系信息。”
📊 获取维修订单状态: “维修订单#12345 的当前状态是什么?”
Related MCP server: Healthcare MCP Server
🔐 身份验证设置
您需要一个 Tekmetric API 密钥才能使用 Tekmetric API 进行身份验证。请从您的 Tekmetric 帐户设置中获取 API 密钥。
将您的 API 密钥设置为系统环境变量:
export TEKMETRIC_API_KEY="your_tekmetric_api_key"🚀 快速入门指南
选项 1:本地运行(Python)
克隆此存储库:
git clone https://github.com/patclarke/mcp-tekmetric.git cd mcp-tekmetric安装依赖项:
pip install -e .启动服务器:
uvicorn mcp_tekmetric.servers.main:asgi_app --host 0.0.0.0 --port 8080
选项 2:使用 Docker 运行
克隆此存储库:
git clone https://github.com/patclarke/mcp-tekmetric.git cd mcp-tekmetric构建 Docker 镜像:
docker build -t mcp-tekmetric .运行容器(传递您的 Tekmetric API 密钥):
docker run -e TEKMETRIC_API_KEY=your_tekmetric_api_key -p 8080:8080 mcp-tekmetric
这将在http://localhost:8080上公开服务器。
🤖 连接你的人工智能助手
对于 VS Code Copilot 或其他支持 MCP 的 AI 助手:
.mcp.json配置示例:
{
"servers": {
"local-tekmetric": {
"type": "sse",
"url": "http://localhost:8080/sse"
}
}
}🧪 健康检查
要验证服务器是否正在运行:
curl http://localhost:8080/healthz您应该看到:
{"status": "ok"}📄 许可证
MIT 许可证
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.