ماذا يمكنك أن تفعل مع Harness؟
- Comprehensive Harness API coverage
- Multiple authentication methods
- Enterprise-ready with rate limiting
- Full error handling and retry logic
- Async support for better performance
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
harness-mcp-serverclaude mcp add harness -e 'HARNESS_API_KEY=<your harness_api_key>' -e 'HARNESS_API_URL=<HARNESS_API_URL>' -- uvx harness-mcp-server==0.1.0
{
"mcpServers": {
"harness": {
"command": "uvx",
"args": [
"harness-mcp-server==0.1.0"
],
"env": {
"HARNESS_API_KEY": "<your harness_api_key>",
"HARNESS_API_URL": "<HARNESS_API_URL>"
}
}
}
}
متغيرات البيئة
HARNESS_API_KEYإلزامي سري API Key for HARNESSHARNESS_API_URLAPI URL for HARNESS
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
Harness MCP Server
Harness Mcp Server
A Model Context Protocol (MCP) server for integrating Harness with GenAI applications.
Overview
Continuous delivery and cloud cost management
Features
- Comprehensive Harness API coverage
- Multiple authentication methods
- Enterprise-ready with rate limiting
- Full error handling and retry logic
- Async support for better performance
Installation
pip install harness-mcp-server
Or install from source:
git clone https://github.com/asklokesh/harness-mcp-server.git
cd harness-mcp-server
pip install -e .
Configuration
Create a .env file or set environment variables according to Harness API requirements.
Quick Start
from harness_mcp import HarnessMCPServer
# Initialize the server
server = HarnessMCPServer()
# Start the server
server.start()
License
MIT License - see LICENSE file for details
الأسئلة الشائعة
ما هو Harness؟
MCP server for Harness API integration
كيف أثبّت Harness؟
يعمل على جهازك. في Claude Code: claude mcp add harness -e 'HARNESS_API_KEY=<your harness_api_key>' -e 'HARNESS_API_URL=<HARNESS_API_URL>' -- uvx harness-mcp-server==0.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Harness إلى مفتاح API؟
نعم. يتطلب HARNESS_API_KEY، وتضبطها في إعداداته.
هل Harness مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون Harness؟
ينشره asklokesh. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.