Prerequisites
Python 3.11+
Check version:
python --versionNode.js 18+
Check version:
node --versionInstallation
Configure Your AI Client
- Cursor
- Claude Desktop
- Continue.dev
- Windsurf
Add to
.cursor/config.json:Verify Connection
Test a Simple Prompt
Try asking your AI:
“Use Pylance MCP to show me type information for the main function in src/app.py”Your AI should use the
get_hover tool to retrieve type signatures.Example Prompts to Try
Get Completions
“Show me code completions available at line 42 in models.py”
Refactor Code
“Rename the User class to UserAccount across the entire workspace”
Find References
“Find all references to the calculate_total function”
Type Checking
“Show me all type errors in the src/ directory”
Next Steps
Architecture
Understand how Pylance MCP works
API Reference
Explore all available tools
Deployment
Deploy to production
Pro Tip: Start with the free plan to explore features. Upgrade to Professional when you need higher request limits and priority support.