데브허브 | DEVHUB | 10x your Productivity with Custom Cursor MCP Agents
🚀 MCP Hands-On Tutorial: Create Custom Model Context Protocol Tools
What is MCP?
MCP (Model Context Protocol) is an "Universal USB port for AI" that connects your AI agents to external systems. While standard AI agents can read codebases and run terminal commands, MCP supercharges your workflow by adding capabilities like:
Read/write from databases
Access APIs
Talk to private data
Chat with your applications
See what's in the browser
And much more!
What You'll Learn in This Tutorial:
✅ Create your own custom MCP from scratch
✅ Integrate MCP with Claude Desktop
✅ Set up custom MCP on Cursor IDE
✅ Configure MCP with WindSurf
The Evolution of AI Coding Assistants:
Single chat → Single agent → Multiple agents → Multiple agents with external tools (MCP)
Before vs After MCP:
*Before:* Limited code generation isolated from development environments, unable to access external resources.
*After:* Access to browser console logs, network tabs, asset generation, API integration, and connectivity to any service you need.
Tutorial Walkthrough:
1. *Create a custom Stock Price MCP*
Install required packages: `pip install mcp-cli yahoo_finance`
Create a simple app.py with Yahoo Finance integration
Configure Claude Desktop to use your custom MCP
2. *Configure MCP with Claude Desktop*
Access Developer settings
Edit config to add your custom MCP server
Test by getting real-time stock prices
3. *Integrate with Cursor IDE*
Find useful MCPs on directories like smithery.ai
Add MCP servers in Cursor settings
Test with commands like "get stock price of Apple"
4. *Neon Database Integration Example*
Connect to serverless PostgreSQL database
Retrieve project information
Create schemas and manage database operations from within your IDE
5. *WinServ Configuration*
Configure MCP in WinSurf interface
Refresh to view available tools
Test with database queries
Tools & Resources Used:
Yahoo Finance package for stock data
MCP CLI for server creation
Neon for serverless PostgreSQL database
Claude Desktop, Cursor, and WinServ for integration testing
Get Started Today:
Find useful MCPs on platforms like:
cursor.directory
smithery.ai
---
💡 *Check out my other video on alternative methods for creating custom MCPs!*
❓ What custom MCP would supercharge your workflow? Let me know in the comments below!
📱 Follow me for more AI development tutorials:
[Social links here]
#AI #MCP #MachineLearning #AITools #Programming #DatabaseIntegration #AIAgents #Developer #CodingAssistant #AIWorkflow #ModelContextProtocol
Timestamp:
0:00 - Introduction to MCP Tutorial
0:21 - What is MCP? Universal USB port for AI
0:41 - Normal agents vs MCP capabilities
1:41 - Getting started with MCP
2:00 - Creating a custom MCP demo
3:27 - Setting up with Claude Desktop
4:12 - Creating the stock price app
5:52 - Testing with Claude Desktop
6:22 - Integrating with cursor
7:46 - Setting up in Windsurf
8:35 - Conclusion