Direct Answer
MCP can be used for browser automation, relational database querying, and interaction with cloud services (AWS, GCP). The following tutorials are based on documented directory examples and use libraries like Playwright and genai-toolbox.
Tutorial 1: Browser Automation with Playwright MCP
Step 1: Install the package: `npm install @model-context-protocol/playwright`. Step 2: Define the tool in the server with METADATA: name: 'playwright-browser', description: 'Control headless Chrome/Chromium', input: [{name: 'url', type: 'string'}, {name: 'action', type: 'string'}], output: [{name: 'result', type: 'any'}]. Step 3: Call the tool from the client: `await client.call('playwright-browser', {url: 'https://example.com', action: 'click'})`. Step 4: Process the result and display in the UI.
Tutorial 2: Database Query with genai-toolbox
Step 1: Add the genai-toolbox server to MCP configuration. Step 2: Define the query tool with METADATA: name: 'query-sql', description: 'Execute a SQL query', input: [{name: 'sql', type: 'string'}], output: [{name: 'rows', type: 'any'}]. Step 3: Call the tool: `await client.call('query-sql', {sql: 'SELECT * FROM users WHERE age > 30'})`. Step 4: Export results with data cleaning.
Tutorial 3: Cloud Integration (AWS SDK)
Step 1: Set up AWS keys as Secrets in the server. Step 2: Define the S3 upload tool with METADATA: name: 'upload-s3', description: 'Upload a file to S3 bucket', input: [{name: 'filePath', type: 'string'}, {name: 'bucket', type: 'string'}], output: [{name: 'uploadId', type: 'string'}]. Step 3: Call the tool: `await client.call('upload-s3', {filePath: '/local/file.txt', bucket: 'my-backup-bucket'})`. Step 4: Verify upload status from S3 Console.
Best Practices
??? Always define tools with complete METADATA (name, description, input, output) ??? Use Secrets for managing sensitive keys ??? Never hardcode API keys ??? Validate all inputs on the server before processing ??? Use TLS everywhere for client-server communication ??? Record all tool calls for audit and debugging
FAQ
1. Are these tutorials suitable for beginners? Tutorials are mid-level and require basic JavaScript & MCP protocol knowledge. 2. Can I use these tutorials in commercial projects? Yes, the license allows commercial use with source attribution. 3. Do I need to run the server locally? You can use the registered servers from our directory with one-click.
Decision Summary
For developers starting with MCP: start with browser automation and database query tutorials (most common). For current developers: try tutorials via our decision engine to evaluate suitable use cases.