Skip to content

Commit ff45a24

Browse files
updated draft
1 parent 943cda1 commit ff45a24

File tree

1 file changed

+17
-48
lines changed

1 file changed

+17
-48
lines changed

app/_how-tos/use-insomnia-mcp-clients-to-test-aggregated-mcp-tools.md

Lines changed: 17 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -49,76 +49,45 @@ prereqs:
4949
tldr:
5050
q: How do I test aggregated MCP tools using Insomnia?
5151
a: |
52-
Connect an Insomnia MCP client to the listener-mode AI MCP Proxy endpoint created during the aggregation setup. Then invoke each tool and validate behaviour using Insomnia’s Params, Headers, Events, and Console panels.
52+
Connect an Insomnia MCP client to the listener-mode AI MCP Proxy endpoint that the aggregation setup creates. Then test each tool and validate behaviour using Insomnia’s Params, Headers, Events, and Console panels.
5353
---
5454

5555
Use Insomnia to connect to an MCP server exposed through the AI MCP Proxy plugin in listener mode.
5656

5757
This listener server aggregates MCP tools from multiple upstream APIs, enabling you to validate end-to-end behaviour using Insomnia’s Params, Headers, Events, and Console panels.
5858

59-
After completing the aggregation workflow described in **[Aggregate MCP tools from multiple AI MCP Proxy plugins](/mcp/aggregate-mcp-tools/)** and exposing an autogenerated or aggregated MCP server, follow this guide to test and validate its MCP tools using Insomnia’s MCP Clients:
59+
After completing the aggregation workflow described in **[Aggregate MCP tools from multiple AI MCP Proxy plugins](/mcp/aggregate-mcp-tools/)** and exposing an autogenerated or aggregated MCP server, follow this guide to test and validate its MCP tools using Insomnia’s MCP Clients.
6060

6161
## Create an MCP client
6262

6363
1. Open **Insomnia**.
64-
2. In the left sidebar, click **MCP Clients**.
64+
2. In the sidebar, click **MCP Clients**.
6565
3. Click **New MCP Client**.
66-
4. In the **Name** field, enter a name:
67-
Aggregated MCP Tools
68-
5. In the **MCP Server URL** field, enter your listener URL:
69-
http://localhost:8000/mcp-listener
66+
4. In the **Name** field, enter a name: **Aggregated MCP Tools**
67+
5. In the **MCP Server URL** field, enter your listener URL: `http://localhost:8000/mcp-listener`
7068
6. Click **Connect**.
7169

72-
Insomnia connects to the MCP server and discovers all aggregated tools.
70+
Insomnia connects to the MCP server and discovers all of the aggregated tools.
7371

74-
## Validate discovered tools
72+
## Validate tools
7573

76-
1. In toolbar, locate the **Tools** drop-down section.
77-
2. Review the list of available tools.
74+
1. In the sidebar, locate the **Tools** drop-down section.
75+
2. Review the list of available tools.
7876

79-
If any tools are missing:
80-
81-
- Confirm all conversion-only plugins use the same `tags[]` value.
77+
{:.info}
78+
> If any tools are missing:
79+
- Confirm that all conversion-only plugins use the same `tags[]` value.
8280
- Confirm that the listener-mode plugin’s `server.tag` matches that value.
8381
- Confirm that the listener Route is active and reachable.
8482

85-
## Invoke and test tools
83+
## Test tools
8684

87-
Use Insomnia’s testing panels to validate MCP tool behaviour. Complete the following process to run a tool:
85+
Use Insomnia’s testing panels to validate MCP tool behaviour:
8886

8987
1. In **Tools**, click any tool.
90-
2. Click the **Params** tab.
91-
3. Enter parameter values.
88+
2. In the request pane, click the **Params** tab.
89+
3. Enter the required parameter value.
9290
4. Click **Call Tool**.
93-
5. Click the **Console** tab.
94-
95-
## Debug tool behaviour using Insomnia panels
96-
97-
Insomnia provides several panels to validate MCP activity:
98-
99-
- **Params**: Verify the parameters passed to the tool.
100-
- **Headers (Request)**: Inspect headers added by plugins such as Request Transformer Advanced.
101-
- **Headers (Response)**: Validate response headers and status.
102-
- **Events**: View lifecycle and authentication events.
103-
- **Console**: Inspect raw MCP JSON-RPC requests and responses.
104-
105-
Use these panels to confirm:
106-
107-
- Correct parameter mapping
108-
- Correct API key injection (if configured)
109-
- Upstream connectivity
110-
- Schema-correct JSON responses
111-
112-
113-
## Validate aggregated MCP behaviour end-to-end
114-
115-
1. Select any tool.
116-
2. Click **Call Tool**.
117-
3. Open the **Console** tab.
118-
4. Confirm:
119-
- The MCP request structure is valid
120-
- The listener-mode MCP Proxy plugin processes the request
121-
- The upstream service responds successfully
122-
- The returned JSON matches the tool’s schema
91+
5. In the response pane, click the **Console** tab.
12392

12493
A successful response confirms that your aggregated MCP configuration is working correctly.

0 commit comments

Comments
 (0)