Skip to main content

TestRail MCP Server

Project description

TestRail MCP Server

This is a Model Context Protocol (MCP) server for TestRail that allows you to interact with TestRail through LLM applications. The server supports authentication and provides tools for working with TestRail entities including cases, runs, datasets, and results.

Setup

  1. Install dependencies using uv:

    uv pip install -e .
    

    If you don't have uv installed, you can install it following the instructions at https://github.com/astral-sh/uv.

  2. Create a .env file with your TestRail credentials:

    TESTRAIL_URL=https://your-instance.testrail.io
    TESTRAIL_USERNAME=your-email@example.com
    TESTRAIL_API_KEY=your-api-key
    
  3. Run the server:

    python main.py
    

    This will start the MCP server in stdio mode, which can be used with MCP clients that support stdio communication.

Using with MCP Clients

This server implements the Model Context Protocol (MCP) over stdio, making it compatible with various MCP clients:

  • Claude Desktop: You can install this server in Claude Desktop using the "Install Server" feature
  • MCP Inspector: For testing, you can use the MCP Inspector tool with the --stdio flag
  • Other MCP Clients: Any client that supports the MCP protocol over stdio can connect to this server

Features

  • Authentication with TestRail
  • Access to TestRail cases, runs, datasets, and results
  • Full support for the Model Context Protocol

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testrail_mcp-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

testrail_mcp-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file testrail_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: testrail_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for testrail_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bcc6c3d066d70d20f9ff04764f6de4fe54be5c46435a096f752f0504712a4b16
MD5 6d317e3772213c283301ca64c10b3bbd
BLAKE2b-256 4c5f217a6ad7166fc90dbd5493d4ad6c449457b151088cb7ea9b4488ae9df773

See more details on using hashes here.

File details

Details for the file testrail_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: testrail_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for testrail_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 278bc47fa89a67b60ff85ae89832e0fa93fae9250ccd9564f28279fe198a8d0d
MD5 b54af27a2d1d4ae128b238fe49ba52bd
BLAKE2b-256 49dd247602f9645564a031b547d4c81577473e7a2951ac6de18f6be10d514178

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page