# Bug AA-47 - Order of MCP tools and resources change in the table if user updates title

Project: Stream Agents & Assistants
Status: closed
URL: https://community.openproject.org/work_packages/AA-47

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Artificial Intelligence / MCP Server (MCP) |
| Target versions | 17.2.0 |
| Observed in versions | 17.2.0 |
| Bug found in version (deprecated) | 17.2.x |
| Requires doc change | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as an admin
    
2.  Go to Administration &gt; Artificial Intelligence &gt; MCP
    
3.  Observe the order of the provided tools and resources
    
4.  Edit any of the title of a tool or resource
    
5.  Update
    

### What is the buggy behaviour?

*   Order of tools and resources change in the table
    

### What is the expected behaviour?

1.  Order of the tools do not change if their title is edited
    
2.  Tools and resources are alphabetically ordered (using the name column)
    

###   

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919585/content"> <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919586/content">

### Environment information

**OpenProject version**

Core build

[4ca9b1a811e00ae7d49bfb5faf1609e74ab1fd90](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2F4ca9b1a811e00ae7d49bfb5faf1609e74ab1fd90)

Product version

[b9937e8d570f6e6dda12198c84bb11f98ef855c5](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2Fb9937e8d570f6e6dda12198c84bb11f98ef855c5)

Core version

OpenProject 17.2.0

**Browser**

*   [x] Chrome
*   [ ] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)
