
sker65/testrail-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
sker65/testrail-mcp는 https://github.com/sker65/testrail-mcp.]에서 수입된 MCP 서버 후보입니다
개요
sker65/testrail-mcp는 https://github.com/sker65/testrail-mcp.]에서 수입된 MCP 서버 후보입니다
개요(AI 번역)
TestRail에 대한 Model Context Protocol (MCP) 서버는 표준 프로토콜을 통해 TestRail의 핵심 엔티티티티와 상호 작용할 수 있습니다.
특징
- TestRail API 인증
- TestRail entities에 접근:
- 프로젝트
- 케이스
- 실행
- 결과
- 데이터셋
- 모형 Context 의정서를 위한 가득 차있는 지원
- 모든 MCP 클라이언트와 호환 (Claude 데스크탑, 커서, 윈드 서핑, 등)
Octomind MCP와 함께 행동을 본다
설치
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 Testrail-mcp를 자동으로 설치하십시오.
수동 설치
-
Clone 이 저장소:
-
가상 환경을 만들고 활성화하십시오:
-
의존성 설치:
구성
TestRail MCP 서버는 특정 환경 변수가 TestRail 인스턴스로 인증되어야 합니다. 서버를 실행하기 전에 설정해야 합니다.
- 프로젝트의 루트 디렉토리에
.env파일을 만듭니다.
** 중요 노트:**
TESTRAIL_URL는 TestRail 인스턴스(예:,https://example.testrail.io)에 전체 URL이 있어야 합니다.TESTRAIL_USERNAME는 로그인에 사용되는 TestRail 이메일 주소입니다.TESTRAIL_API_KEY는 TestRail API 키입니다 (암호가 아닙니다)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
TestRail MCP Server
A Model Context Protocol (MCP) server for TestRail that allows interaction with TestRail’s core entities through a standardized protocol.
Features
- Authentication with TestRail API
- Access to TestRail entities:
- Projects
- Cases
- Runs
- Results
- Datasets
- Full support for the Model Context Protocol
- Compatible with any MCP client (Claude Desktop, Cursor, Windsurf, etc.)
See it in action together with Octomind MCP
Installation
Installing via Smithery
To install testrail-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @sker65/testrail-mcp --client claude
Manual Installation
-
Clone this repository:
git clone https://github.com/yourusername/testrail-mcp.git cd testrail-mcp -
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate -
Install dependencies:
pip install -e .
Configuration
The TestRail MCP server requires specific environment variables to authenticate with your TestRail instance. These must be set before running the server.
-
Create a
.envfile in the root directory of the project:TESTRAIL_URL=https://your-instance.testrail.io [email protected] TESTRAIL_API_KEY=your-api-keyImportant Notes:
TESTRAIL_URLshould be the full URL to your TestRail instance (e.g.,https://example.testrail.io)TESTRAIL_USERNAMEis your TestRail email address used for loginTESTRAIL_API_KEYis your TestRail API key (not your password)- To generate an API key, log in to TestRail, go to “My Settings” > “API Keys” and create a new key
-
Verify that the configuration is loaded correctly:
uvx testrail-mcp --configThis will display your TestRail configuration information, including your URL, username, and the first few characters of your API key for verification.
If you’re using this server with a client like Claude Desktop or Cursor, make sure the environment variables are accessible to the process running the server. You may need to set these variables in your system environment or ensure they’re loaded from the .env file.
Usage
Running the Server
The server can be run directly using the installed script:
uvx testrail-mcp
This will start the MCP server in stdio mode, which can be used with MCP clients that support stdio communication.
Using with MCP Clients
Claude Desktop
In Claude Desktop, add a new server with the following configuration:
{
"mcpServers": {
설치
uvx testrail-mcp설정
{
"mcpServers": {
"testrail": {
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "[email protected]",
"TESTRAIL_API_KEY": "your-api-key"
}
}
}
}