> For the complete documentation index, see [llms.txt](https://docs.opshub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opshub.com/v7.226/manage/mcp/mcp-sample-use-cases/mcp-use-case-get-systems-and-projects.md).

# View Configured Systems and Project Counts

### Description

A user wants to find out which systems are configured in <code class="expression">space.vars.OIM</code> and which project pairs are synchronizing between two specific systems.

### Example interaction

| Component               | Detail                                                                                                                             |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| **User prompt**         | "What systems are configured in OIM? And what projects are integrated between System A and System B?"                              |
| **MCP tools invoked**   | `get_systems_list` → `get_integrations_list` → extract project pairs from integration details                                      |
| **AI assistant steps**  | Retrieves all configured systems → filters integrations by the two specified systems → extracts project pairs and sync directions. |
| **AI assistant output** | A summary of all configured systems, followed by a list of project pairs with sync directions between the two specified systems.   |

### Sample output

| System Pair  | Project (System A) | Direction     | Project (System B) |
| ------------ | ------------------ | ------------- | ------------------ |
| Jira ↔ Rally | Project Alpha      | BIDIRECTIONAL | Rally Project 1    |
| Jira ↔ Rally | Project Beta       | FORWARD       | Rally Project 2    |

> **Tip**: To avoid stale results from a previous query in the same session, include "Do not use previously fetched data" in your prompt.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opshub.com/v7.226/manage/mcp/mcp-sample-use-cases/mcp-use-case-get-systems-and-projects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
