Content
# Model Context Protocol (MCP) example

This is a simple project that demonstrates how to create an MCP (Model Context
Protocol) server in Golang and use it within VS Code Copilot.
It was built as part of a blog post explaining the basics of MCP and how it can
be used to connect tools and data sources with AI-powered environments.
📖 Read the blog post:
[Model Context Protocol(MCP)](https://rickkoch.github.io/posts/model-context-protocol).
## 🚀 What It Does
* Implements a basic MCP server in Go.
* Exposes one or more tools that can be used by AI systems supporting MCP.
* Demonstrates integration with VS Code Copilot via MCP.
## 🛠 Technologies Used
* Go (Golang)
* MCP Protocol (Open Standard)
* VS Code Copilot (with MCP support)
## 📦 How to Use
### 1. Clone the repository:
```bash
git clone https://github.com/rickKoch/go-mcp.git
cd go-mcp
```
### 2. Build the docker image:
```bash
./build.sh
```
### 3. Copy the following configuration at the bottom of the VS Code user settings file(`settings.json`):
```json
"mcp": {
"servers": {
"simplemcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "simplemcp"]
},
}
}
```
### 4. Once the server is running you should toggle the Agent and try it out
You Might Also Like
Ollama
Ollama enables easy access to large language models on various platforms.

n8n
n8n is a secure workflow automation platform for technical teams with 400+...
OpenWebUI
Open WebUI is an extensible web interface for customizable applications.

Dify
Dify is a platform for AI workflows, enabling file uploads and self-hosting.

Zed
Zed is a high-performance multiplayer code editor from the creators of Atom.
MarkItDown MCP
markitdown-mcp is a lightweight MCP server for converting various URIs to Markdown.