npm package: @kalidass_mani/freshrelease
Description: Freshrelease MCP server
Latest version: 2.0.1

## 📦 Installation

Install the published MCP server package:

```sh
npm install @kalidass_mani/freshrelease
```

Or run directly with npx:

```sh
npx -y @kalidass_mani/freshrelease
```

## 🛠️ Example MCP Server Configuration (for orchestration)

```json
{
	"mcpServers": {
		"@kalidass_mani/freshrelease": {
			"command": "npx",
			"args": ["-y", "@kalidass_mani/freshrelease"],
			"env": {
				"FRESHRELEASE_TOKEN": "<YOUR_FRESHRELEASE_TOKEN>",
				"FRESHRELEASE_URL": "<YOUR_FRESHRELEASE_URL>",
				"FRESHRELEASE_PROJECT_KEY": "<YOUR_FRESHRELEASE_PROJECT_KEY>"
			}
		}
	}
}
```
## � CLI Usage

You can run the MCP server from anywhere using:

```sh
npx -y fr_mcp_ai
```

## 🛠️ Example MCP Server Configuration (for orchestration)

```json
{
  "mcpServers": {
    "freshrelease-mcp": {
      "command": "npx",
      "args": ["-y", "freshrelease-mcp"],
      "env": {
        "FRESHRELEASE_TOKEN": "<YOUR_FRESHRELEASE_TOKEN>",
        "FRESHRELEASE_URL": "<YOUR_FRESHRELEASE_URL>",
        "FRESHRELEASE_PROJECT_KEY": "<YOUR_FRESHRELEASE_PROJECT_KEY>"
      }
    }
  }
}
```
## �🛠️ Example MCP Server Configuration (for orchestration)

```json
{
	"mcpServers": {
		"freshrelease-mcp": {
			"command": "npm",
			"args": [
				"start"
			],
			"env": {
				"FRESHRELEASE_TOKEN": "<YOUR_FRESHRELEASE_TOKEN>",
				"FRESHRELEASE_URL": "<YOUR_FRESHRELEASE_URL>",
				"FRESHRELEASE_PROJECT_KEY": "<YOUR_FRESHRELEASE_PROJECT_KEY>"
			}
		}
	}
}
```
## Allowed Tool Functions


## 🚀 Advanced Tool Function Reference

### 🗂️ Issue Management
| **Keyword**      | **Description**                        | **Parameters**                | **Example Payload** |
|------------------|----------------------------------------|-------------------------------|---------------------|
| `create_issue`   | Create a new issue in Freshrelease     | `projectKey`, `title`         | `{ "projectKey": "PROJ", "title": "Bug in login" }` |
| `get_issues`     | List issues for a project              | `projectKey`                  | `{ "projectKey": "PROJ" }` |
| `get_issue_details` | Get details of a specific issue      | `issueKey`                    | `{ "issueKey": "PROJ-123" }` |
| `update_issue`   | Update details of an existing issue    | `issueKey`, `updates` (object)| `{ "issueKey": "PROJ-123", "updates": { "status": "Closed" } }` |

### 🧪 Test Case Management
| **Keyword**         | **Description**                        | **Parameters**                        | **Example Payload** |
|---------------------|----------------------------------------|---------------------------------------|---------------------|
| `create_test_case`  | Create a new test case                 | `projectKey`                          | `{ "projectKey": "PROJ" }` |
| `import_test_cases` | Import test cases from a CSV file      | `testCases` (CSV or array of objects) | `{ "testCases": "title,steps\nLogin,Enter credentials" }` |
| `link_test_cases`   | Link test cases to an issue            | `issueKey`, `testCaseKeys` (array)    | `{ "issueKey": "PROJ-123", "testCaseKeys": ["TC-1", "TC-2"] }` |
| `generate_test_cases` | Generate test cases with Freddy       | `issueKey`                            | `{ "issueKey": "PROJ-123" }` |

---

> **Tip:** All payloads should be sent as JSON in the request body.

---

### 🛠️ Example Integration Config (Agentic AI)
```json
{
	"tools": [
		{
			"name": "freshrelease_mcp_server",
			"description": "MCP AI map server for Freshrelease integration.",
			"server_url": "https://your-mcp-server-host:3000",
			"api_token": "your_freshrelease_token",
			"actions": [
				"create_issue",
				"get_issues",
				"get_issue_details",
				"update_issue",
				"create_test_case",
				"import_test_cases",
				"link_test_cases",
				"generate_test_cases"
			]
		}
	]
}
```

# freshrelease_mcp_server
freshrelease MCP server

## Allowed Actions (API Endpoints)

### Issue Actions
- `POST /api/issue` - Create a new issue
- `GET /api/issues/:projectKey` - List issues for a project
- `GET /api/issue/:issueKey` - Get details of an issue
- `PUT /api/issue/:issueKey` - Update issue details

### Test Case Actions
- `POST /api/testcase` - Create a new test case
- `POST /api/testcase/import` - Import test cases from CSV
- `POST /api/testcase/link` - Link test cases to an issue
- `POST /api/testcase/generate` - Generate test cases with Freddy

## Agentic AI Integration Config Example

```json
{
	"tools": [
		{
			"name": "freshrelease_mcp_server",
			"description": "MCP AI map server for Freshrelease integration.",
			"server_url": "https://your-mcp-server-host:3000",
			"api_token": "your_freshrelease_token",
			"actions": [
				"create_issue",
				"get_issues",
				"get_issue_details",
				"update_issue",
				"create_test_case",
				"import_test_cases",
				"link_test_cases",
				"generate_test_cases"
			]
		}
	]
}
```

### Allowed Tool Functions

- create_issue
- get_issues
- get_issue_details
- update_issue
- create_test_case
- import_test_cases
- link_test_cases
- generate_test_cases