MCP ExplorerExplorer

Winformsapp Mcp

3 MIT
FreeCommunity
AI Systems
WinFormsApp-MCP Windows Forms application demonstrating Semantic Kernel with Model Context Protocol (MCP). Provides tool functionality for GitHub, GitLab, and filesystem operations. Works with ChatGPT models. API key required.

Overview

What is Winformsapp Mcp

WinFormsApp-MCP is a Windows Forms application that demonstrates the integration of Semantic Kernel with the Model Context Protocol (MCP). It provides functionalities for interacting with GitHub, GitLab, and filesystem operations, utilizing ChatGPT models.

Use cases

Use cases include automating GitHub and GitLab repository management, performing filesystem operations with AI assistance, and leveraging ChatGPT models for enhanced user interactions.

How to use

To use WinFormsApp-MCP, clone the repository, open the solution in Visual Studio, input your OpenAI API key in the settings dialog or set it as an environment variable, configure the MCP settings as needed, and then run the application.

Key features

Key features include support for OpenAI (ChatGPT) models, tool functionalities for accessing GitLab and GitHub repositories, filesystem operations, and context-aware interactions.

Where to use

WinFormsApp-MCP can be used in software development environments, particularly for integrating AI capabilities into applications that require interaction with version control systems and local file operations.

Content

WinFormsApp-MCP

WinFormsApp-MCP is a Windows Forms application demonstrating Semantic Kernel with Model Context Protocol (MCP). It provides tool functionality for GitHub, GitLab, and filesystem operations, and works with ChatGPT models.

Overview

This application showcases the integration of large language models (LLMs) with Microsoft’s Semantic Kernel framework, allowing models to interact with local and remote resources through the Model Context Protocol (MCP).

The implementation is based on the step-by-step guide from the Microsoft Semantic Kernel blog.

WinFormsApp-MCP Screenshot

Features

  • LLM Support:

    • OpenAI (ChatGPT) models
  • Tool Functionality:

    • GitLab repository access
    • GitHub repository access
    • Filesystem operations
    • Context-aware interactions

Requirements

  • .NET 8.0 or later
  • API key for OpenAI

Configuration

The application provides a settings interface to configure:

  • API key
  • Model selection
  • GitLab integration settings
  • Filesystem access controls

You can also configure the application using environment variables:

string? apiKey = Environment.GetEnvironmentVariable("OpenAI__ApiKey");
string? modelId = Environment.GetEnvironmentVariable("OpenAI__ChatModelId") ?? "gpt-4o-mini";

The application will check for these environment variables:

  • OpenAI__ApiKey: Your OpenAI API key
  • OpenAI__ChatModelId: The model to use (defaults to “gpt-4o-mini” if not specified)

Getting Started

  1. Clone the repository
  2. Open the solution in Visual Studio
  3. Add your API key in the Settings dialog or set it as an environment variable
  4. Configure MCP settings as needed
  5. Run the application

MCP Resources

License

[Include your license information here]

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers