This is the tutorial on how to make a MCP client and server. It is based on the Anthropic course but using free google key and opencode because we are poor.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp_server_tutorial": {
"command": "uvx",
"args": [
"mcp-server-tutorial"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add mcp_server_tutorial uvx mcp-server-tutorial
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp_server_tutorial": {
"command": "uvx",
"args": [
"mcp-server-tutorial"
]
}
}
}
📋 Copy
Or install with pip: pip install mcp-server-tutorial