alejandro-ao/mcp-server-example
A simple MCP server to search for documentation (tutorial)
Platform-specific configuration:
{
"mcpServers": {
"mcp-server-example": {
"command": "npx",
"args": [
"-y",
"mcp-server-example"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
This repository contains an implementation of a Model Context Protocol (MCP) server for educational purposes. This code demonstrates how to build a functional MCP server that can integrate with various LLM clients.
To follow the complete tutorial, please refer to the YouTube video tutorial.
MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications - it provides a standardized way to connect AI models to different data sources and tools.
MCP follows a client-server architecture where a host application can connect to multiple servers:
MCP servers can provide three main types of capabilities:
uv package managerOn MacOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | shMake sure to restart
Loading reviews...