Mpc Csharp Semantickernel
A sample project demonstrating how to use Microsoft Semantic Kernel with OpenAI and the Model Context Protocol C# SDK, including email sending functionality.
rating : 2.5 points
downloads : 11
What is this project?
This sample project shows how to use Microsoft's Semantic Kernel AI framework with OpenAI's GPT models and the Model Context Protocol (MCP) to create an AI assistant that can send emails through a simple API interface.How does it work?
The system combines natural language processing from OpenAI with email automation capabilities. You send a text request (like 'send an email to a friend'), the AI processes it, and the system sends the email through your configured SMTP server.Use Cases
This technology is ideal for: 1) Automated customer service responses 2) Personal AI assistants 3) Business notification systems 4) AI-powered communication toolsKey Features
AI-Powered Email CompositionThe system uses OpenAI's language models to automatically compose professional emails based on your simple instructions
Email Contact ManagementPre-configured email contacts can be referenced by simple names (like 'aFriend') for easy use
Secure SMTP IntegrationSupports secure email sending through configured SMTP servers with authentication
Pros and Cons
Advantages
Easy to set up with minimal coding required
Leverages powerful AI for natural language processing
Flexible integration with existing email systems
Open-source MIT license allows for customization
Limitations
Requires OpenAI API key (may incur costs)
Email contacts need to be pre-configured in code
Basic example doesn't include advanced features like attachments
Project is not actively maintained (as per README)
Getting Started
Get an OpenAI API Key
Sign up at OpenAI's developer platform and obtain an API key
Configure Email Settings
Edit the appsettings.json file with your SMTP server details and email credentials
Set Up Email Contacts
Add your contacts to the email dictionary in EmailTool.cs
Run the Application
Launch the project (default runs at http://localhost:5109) and start sending requests
Example Use Cases
Sending a Simple EmailAsk the AI to compose and send an email to a pre-configured contact
Technical DemonstrationShow how the AI can explain its own implementation
Frequently Asked Questions
Is this project actively maintained?
What OpenAI model does this use?
Can I add more email recipients?
Is my email password secure?
Additional Resources
Microsoft Semantic Kernel
The AI orchestration framework used in this project
MCP C# SDK
Official C# SDK for the Model Context Protocol
OpenAI API
Platform to get your API key and manage usage
Featured MCP Services

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
79
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
130
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
554
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.6K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
745
4.8 points