MCP ExplorerExplorer

Azureopenai Mcpclient

@RodrigoPAmlon 10 months ago
1 MIT
FreeCommunity
AI Systems
#azure-openai#mcp-client
A MCP Client implementation with Azure OpenAI

Overview

What is Azureopenai Mcpclient

AzureOpenAI-MCPClient is a client implementation designed to integrate with Azure OpenAI, allowing users to interact with Azure’s large language models (LLM) through a console or GUI chat interface.

Use cases

Use cases include querying databases, generating reports, automating customer interactions, and facilitating data-driven decision-making through conversational interfaces.

How to use

To use AzureOpenAI-MCPClient, configure the necessary settings in ‘Program.cs’ for Azure and the MCP Server, then run the application. Alternatively, use the GUI version by filling in the configuration directly in the interface and clicking ‘Apply Configs’.

Key features

Key features include a console chat interface, a user-friendly Windows Form GUI, support for tool integration, and the ability to request permissions for tool usage from the user.

Where to use

AzureOpenAI-MCPClient can be used in various fields such as software development, data analysis, customer support, and any application requiring natural language processing capabilities.

Content

AzureOpenAI-MCPClient

A MCP Client implementation with Azure OpenAI

This MCP Client was tested with this MCP Server for integration with Sql-Server .

It only supports tools but integrating prompts and resources should be easy with that.

The solution contains two projects:

Client

The MCP Client implementation that also runs a console chat with the Azure LLM and calls the configured MCP Server.

To use it go to Program.cs and fill with the necessary configuration (Azure and MCP Server) and run it.

image

You will run a chat integrated with a MCP Server using stdio.

image

The console will ask your permission to run the tools requested by the LLM.

image

GUI

A Windows Form Chat that can be configured directly in the UI. It does the same as the Client project but more user friendly.

First fill the configuration for Azure OpenAI and optionally the MCP Server config and click Apply Configs.

image

Write a message then click Send.

If you you want to reset the chat conversation click Reset.

To change configs click again on Apply Configs.

image

Ask for a tool and it will ask your permission.

image

The results are then displayed on the chat.

image

Lets try a query to list users.

image

The results:

image

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers