# Mcp Spira

> A MCP server for Inflectra Corp's Spira

- **Type:** MCP server
- **Install:** `agentstack add mcp-gitfudge0-mcp-spira`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [gitfudge0](https://agentstack.voostack.com/s/gitfudge0)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [gitfudge0](https://github.com/gitfudge0)
- **Source:** https://github.com/gitfudge0/mcp-spira

## Install

```sh
agentstack add mcp-gitfudge0-mcp-spira
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# mcp-spira

MCP Server for Spira, enabling LLMs to create and manage requirements, test cases, and test steps.

## Features

- **Requirements Management**: Create, retrieve, and update feature requirements with priority status
- **Test Case Management**: Create and retrieve detailed test cases linked to requirements
- **Test Steps Support**: Create test steps for test cases

## Tools

1. `create-requirement`

   - Create a feature requirement with status set as High on Spira
   - Inputs:
     - `name` (string): Name of the requirement

2. `get-requirement-by-id`

   - Fetch a requirement by its ID from Spira
   - Inputs:
     - `requirementId` (number): ID of the requirement to fetch

3. `update-requirement`

   - Update an existing requirement in Spira
   - Inputs:
     - `requirementId` (number): ID of the requirement to update
     - `name` (string, optional): New name for the requirement
     - `description` (string, optional): New description for the requirement
     - `importanceId` (number, optional): New importance ID
     - `statusId` (number, optional): New status ID
     - `requirementTypeId` (number, optional): New requirement type ID

4. `create-test-case`

   - Create a test case on Spira
   - Inputs:
     - `name` (string): Test case name
     - `description` (string): Detailed test case description
     - `release` (string): Release to associate with the test case
     - `requirements` (string[]): Array of requirements to link to this test case

5. `get-test-case-by-id`
   - Fetch a test case by its ID from Spira
   - Inputs:
     - `testCaseId` (number): ID of the test case to fetch

6. `create-test-step`
   - Create test step for a given test case
   - Inputs:
     - `testCaseId` (string): ID of the test case to add steps to
     - `description` (string): Description of the test step
     - `expectedResult` (string): Expected result of the test step
     - `position` (string): Position/order of the test step

## Setup

### Prerequisites

- Node.js (v14 or higher)
- npm or yarn package manager
- A Spira api token

### Installation

```bash
# Install dependencies
npm install

# Build the project
npm run build
```

### Spira API Token

To use this MCP server, you need to generate an API token from your Spira instance:

1. Make sure you are logged in to your Spira application
2. Click on your user avatar from the top right of any page in the app
3. From the dropdown click your name
4. This opens your user profile. Scroll down until you see the label "Enable RSS Feeds"
5. Make sure "Enable RSS Feeds" is set to "Yes"
6. Look at the "RSS / API Key": if this is blank, click "Generate New"
7. You can now click on the RSS key to copy it automatically to your clipboard

### Usage with Claude Desktop

To use this with Claude Desktop, add the following to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "mcp-spira": {
      "env": {
        "SPIRA_BASE_URL": "https://yourcompany.spiraservice.net/services/v5_0/RestService.svc",
        "SPIRA_USERNAME": "your_username",
        "SPIRA_API_KEY": "{your_token}",
        "SPIRA_PROJECT_ID": "project_id"
      },
      "args": ["@gitfudge0/mcp-spira"],
      "command": "npx",
      "disabled": false
    }
  }
}
```

## Example Usage

After setting up the MCP server, you can use it with Claude to:

1. Create requirements:

   ```
   Please create a requirement for adding user authentication to our system
   ```

2. Fetch a requirement:

   ```
   Can you fetch the requirement with ID 123 for me?
   ```

3. Create test cases:
   ```
   Create a test case for verifying that a user can log in with valid credentials
   ```
4. Fetch a test case:
   ```
   Can you get the details of test case with ID 456?
   ```

5. Create test steps:
   ```
   Add a test step to test case 456 for verifying the login button is clickable
   ```

## License

This project is licensed under the MIT License.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [gitfudge0](https://github.com/gitfudge0)
- **Source:** [gitfudge0/mcp-spira](https://github.com/gitfudge0/mcp-spira)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-gitfudge0-mcp-spira
- Seller: https://agentstack.voostack.com/s/gitfudge0
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
