Skip to main content
Glama
sayedpfe

MCP & Copilot Studio Learning Project

by sayedpfe
README.mdβ€’3.1 kB
# Day 3: MCP Resources Overview **Learn to create and manage MCP resources - file-like data that Claude can read and process!** ## 🎯 What You'll Learn Today Resources are a fundamental part of MCP that allow AI assistants to access information without performing actions. Think of them as "files" that Claude can read. ### Key Concepts: - **πŸ“„ Static Resources**: Documentation, guides, reference materials - **πŸ“Š Dynamic Resources**: Real-time data, configuration, status information - **πŸ”— URI Schemes**: Custom addressing like `project://`, `config://`, `docs://` - **πŸ“ Content Types**: JSON data, Markdown docs, plain text ## πŸ—οΈ What You'll Build ### Core Resources (Required): 1. **Project Information Resource** (`project://info`) - Dynamic project metadata - Current learning status - Feature list and progress 2. **Getting Started Documentation** (`docs://getting-started`) - Comprehensive MCP guide - Learning journey overview - Next steps and resources ### Bonus Resources (Optional): - **User Configuration** (`config://user-settings`) - Personalized settings - **Learning Progress Tracker** (`progress://learning-status`) - Journey tracking - **Code Examples Library** (`examples://code-library`) - Reusable patterns - **Resource Analytics** (`analytics://resource-usage`) - Usage insights ## πŸš€ Getting Started 1. **Copy the starter file**: `Copy-Item days/day-3/index-starter.ts src/index.ts` 2. **Follow the exercise**: Open `exercises/day-3-resources.md` for detailed steps 3. **Build and test**: `npm run build && npm start` 4. **Test in Claude Desktop**: Try the resource prompts ## πŸ“š Learning Flow ``` Day 3 Learning Path: β”œβ”€β”€ 1. Understanding Resources (15 min) β”œβ”€β”€ 2. Implementing List Handler (20 min) β”œβ”€β”€ 3. Creating Read Handler (25 min) β”œβ”€β”€ 4. Testing in Claude Desktop (15 min) └── 5. Bonus Challenges (Optional) ``` ## 🎯 Success Criteria By the end of Day 3, you should be able to: - βœ… Create both static and dynamic resources - βœ… Implement proper resource handlers - βœ… Test resources in Claude Desktop - βœ… Understand resource URI schemes - βœ… Handle different content types (JSON, Markdown) ## πŸ“ Files for Today | File | Purpose | |------|---------| | `days/day-3/index-starter.ts` | Starting template with TODOs | | `days/day-3/index-complete.ts` | Complete implementation with bonus features | | `exercises/day-3-resources.md` | Detailed step-by-step guide | ## πŸ”— What's Next? After completing Day 3, you'll be ready for: - **Day 4: Smart Prompts** - Pre-written templates for specific tasks - **Day 5: API Integration** - Connecting to external data sources - **Day 6: Best Practices** - Production-ready patterns ## πŸ’‘ Pro Tips - **Start simple**: Begin with the basic project info resource - **Test frequently**: Build and test after each step - **Experiment with URIs**: Try different scheme patterns - **Read the complete file**: Reference `index-complete.ts` when stuck **Ready to dive in?** Open `exercises/day-3-resources.md` and start building! πŸš€

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sayedpfe/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server