mcpField
M
mcp-server-with-semantic-kernel

mcp-server-with-semantic-kernel

Local
github.com/cnrishirajMemory & Knowledge1Updated 74w ago

About mcp-server-with-semantic-kernel

mcp-server-with-semantic-kernel is a Python project for developers exploring MCP servers with Semantic Kernel agents. It explains plugins, prompts, memory, orchestration, and communication methods, but does not specify tools exposed by this server.

Key features

  1. 01Introduces Semantic Kernel building blocks
  2. 02Explains plugins and prompt templates
  3. 03Covers memory and task orchestration
  4. 04Compares Semantic Kernel and MCP
  5. 05Describes SSE and stdio communication

Use cases

  1. 01Explore using MCP servers with Semantic Kernel agents
  2. 02Plan an agent's plugins, memory, and prompt structure
  3. 03Choose a communication method for MCP tools

MCP support

The project focuses on using MCP servers with Python Semantic Kernel and describes MCP tool interfaces and SSE and stdio communication. The README does not specify MCP tools exposed to clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

mcp-server-with-semantic-kernel

Building Semantic Kernel Agents with Model Context Protocol (MCP) Plugins in Python

Using MCP Servers with Semantic Kernel in Python

What is Semantic Kernel?

Semantic Kernel (SK) is an open-source toolkit created by Microsoft that helps developers build powerful AI agents and apps that can talk, think, and act.

Think of it like this:

Imagine you're building a robot assistant. This assistant can:

  1. Talk using ChatGPT or other AI models (like asking questions or answering)
  2. Do tasks like checking your calendar, sending emails, or summarizing documents
  3. Remember things it has done or seen before
  4. Learn and follow workflows you teach it

SK is the brain behind this assistant. It connects the language part (like ChatGPT) with the tools and memory part (your calendar, files, APIs, etc.).


Key Building Blocks of SK

ConceptBeginner Explanation
KernelThe central piece that connects everything. It talks to the AI model and runs your instructions.
Plugins / SkillsThese are like apps for your assistant. For example: a calendar plugin, or an email plugin.
Prompt TemplatesPrewritten instructions that tell the AI how to behave. You give it some variables, it fills in the rest. Like: "Summarize this: {{text}}."
MemoryIt lets your assistant "remember" past things—like past conversations, or data.
Planner / OrchestratorIf your assistant has to do 5 steps to finish something (e.g. plan a trip), this part figures out the steps.
Example in Simple Terms

Let's say you're building a "Meeting Assistant" using Semantic Kernel:

  • You give it a plugin called CalendarSkill that knows how to read and create calendar events
  • You write a prompt: "Schedule a 30-minute meeting with John sometime next week."
  • The Semantic Kernel takes your prompt, sends it to the AI (like ChatGPT), figures out the intent ("create event"), and then runs the plugin to do it

So SK = AI (understands language) + Tools (do actions) + Memory (remembers stuff)

Semantic Kernel (SK) vs Model Context Protocol (MCP)

FeatureSemantic Kernel (SK)Model Context Protocol (MCP)
What it isA toolkit/framework to build intelligent AI agentsA standard/protocol for exposing tools to LLMs
Who created itMicrosoftOpen standard (inspired by tools like OpenAI tool calling, Claude tool use)
Main JobLet you connect an AI model with memory, tools, and promptsLet AI agents talk to tools via a common format
Think of it asThe brain + logic + app store of an AI agentThe interface/plug for tools to work with any AI agent
Does it have memory?Yes, SK can store and recall things (e.g. vector memory)No, it doesn't handle memory itself
Tool usageYou define and load "skills" (functions/tools) in codeTools are exposed as MCP Servers, any agent can connect
Language focusPython / C# SDKsLanguage-agnostic (focuses on the format, not the implementation)
ComplexityHigher-level abstraction (like a full toolkit)Lower-level protocol (like a wire format or spec)

Communication Methods

1. Server-Sent Events (SSE)

TL;DR: SSE is a way for a server to send real-time updates to your app over the web.

Think of it like: You're at a coffee shop. You give the barista your order (a request), and instead of checking back constantly, you just sit and relax. When your drink is ready, they call your name.

How it works:

  • The client makes a one-time request
  • The server keeps that connection open
  • Whenever there's data, the server sends it as a stream
  • The client gets updates in real time

In MCP or AI apps: When an AI tool talks to a tool server (via MCP), the server may stream results gradually — like partial answers, tokens, or logs.

2. Standard Input/Output (stdio)

TL;DR: stdio is how your computer's command-line tools read input and write output.

How it works:

  • stdin: You type or send data into a program
  • stdout: The program prints the result
  • stderr: Errors go here (so they don't mix with normal output)

In MCP: MCP Servers can be run as command-line programs. The agent talks to them by:

  • Writing JSON input into stdin
  • Reading the tool's response from stdout

Communication Methods Comparison

FeatureSSEstdio
TypeWeb protocolLocal program communication
Used forStreaming real-time data from serversTalking to command-line tools or subprocesses
Agent useWhen MCP tool is running as a web serverWhen MCP tool is a local process
ConnectionClient keeps a live HTTP connection openInput/output pipes (like running a script)
ExampleLive chat, streaming tokens from LLMShell script reading a prompt and printing answer
In AI Tooling (like MCP):
  • If a tool is deployed on a web server → use SSE to stream responses
  • If a tool is a local binary/script → use stdio to send/receive data

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.