MCP Crash Course
A simple demonstration of the MCP Python SDK.
MCP Crash Course
A simple demo of MCP python sdk.
uv commands
start a new project
uv init <project-name>
create a virtual environment
uv venv
activate the virtual environment
uv venv --activate
install the dependencies
uv add <package>
uv add -r requirements.txt
uv sync
run application
uv run app.py
run the development server
uv run dev
build the project
uv run build
Run server using MCP Inspector :
- Install MCP python sdk
uv add "mcp[cli]"
- Run mcp inspector
uv run mcp dev server/weather.py
MCP Inspector is up and running at http://127.0.0.1:6274
Add server to claude desktop :
- run command
uv run mcp install .\server\weather.py
- query "what is weather alert in CA" in claude desktop
Add server to cursor :
- goto preferences > settings > mcp and copy paste claude config
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"C:\\Users\\Suraj\\Desktop\\Python\\mcp-crash-course\\mcpcrashcourse\\server\\weather.py"
]
}
}
}
- Then do a query in cursor chat
Directly consume server in code - using mcp-use :
- Install mcp-use
uv add mcp-use
- Install langchain-groq
uv add langchain-groq
- run client
uv run server/client.py
İlgili Sunucular
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
agentskill.sh
Search, discover, and install 55k+ AI agent skills for Claude Code, Cursor, Copilot, Windsurf, and more.
Figma to React Native MCP
Convert Figma designs into React Native components.
Google Workspace Developers
Developer documentation for Google Workspace APIs
Javadoc MCP
A Model Context Protocol (MCP) server for searching Java documentation. This server enables AI assistants to search and retrieve Java API documentation from JSON files.
Remote MCP Server
An example of a remote MCP server deployable on Cloudflare Workers, customizable by defining tools.
MobAI MCP
MCP (Model Context Protocol) server for MobAI (https://mobai.run) - AI-powered mobile device automation
Remote Terminal MCP for Cursor
A remote terminal tool for Cursor to manage and connect to remote servers via SSH, jump hosts, and Docker containers.
ADB MCP Server
Interact with Android devices using the Android Debug Bridge (ADB).
my-mcp-server
A template for building Model Context Protocol (MCP) servers using the mcp-framework for Node.js.
Repo Map
An MCP server (and command-line tool) to provide a dynamic map of chat-related files from the repository with their function prototypes and related files in order of relevance. Based on the "Repo Map" functionality in Aider.chat
