Skip to content

Commit d99e247

Browse files
author
gitName
committed
wip
1 parent 045bedd commit d99e247

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

articles/api-management/export-rest-mcp-server.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,22 @@ The MCP server is created and the API operations are exposed as tools. The MCP s
4848

4949
To verify that the MCP server is working, you can use a tool like MCP Inspector to send requests to the server's `sse` endpoint.
5050

51+
To use MCP inspector:
5152

53+
1. Start the MCP Inspector by running the following command in a terminal:
54+
55+
```bash
56+
npx @modelcontextprotocol/inspector
57+
```
58+
1. Select **Transport Type** of **SSE**.
59+
1. In **URL**, enter the MCP server URL that's configured in API Management.
60+
1. Under **Authentication**, provide credentials of the underlying API if required in API Management. For example, if a subscription key is required, enter `Ocp-Apim-Subscription-Key` in **Header Name**, and provide the key value in **Bearer token**.
61+
1. Select **Connect** to connect to the MCP server.
62+
1. In **Tools**, select **List Tools**, and select a tool configured in the MCP server.
63+
1. Enter any required parameters for the tool, and select **Run Tool** to run the tool. The results are displayed in the **Tool Result** pane.
64+
65+
:::image type="content" source="media/export-rest-mcp-server/test-mcp-inspector.png" alt-text="Screenshot of testing an MCP server tool in MCP Inspector.":::
5266
5367
## Related content
5468
55-
* [Blog: Enhanced API developer experience with the Microsoft-Postman partnership](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/enhanced-api-developer-experience-with-the-microsoft-postman/ba-p/3650304)
56-
* Learn more about [importing API definitions to Postman](https://learning.postman.com/docs/designing-and-developing-your-api/importing-an-api/).
57-
* Learn more about [authorizing requests in Postman](https://learning.postman.com/docs/sending-requests/authorization/).
69+
101 KB
Loading

0 commit comments

Comments
 (0)