Skip to content

Instantly share code, notes, and snippets.

View JayDoubleu's full-sized avatar
🎯
Focusing

Jay W JayDoubleu

🎯
Focusing
View GitHub Profile
@JayDoubleu
JayDoubleu / fastmcp-bedrock-agentcore-deployment-guide.md
Created September 3, 2025 08:08
Step-by-step guide to deploy FastMCP (MCP protocol) servers on AWS Bedrock AgentCore. Non-interactive deployment with full transparency into AWS resources created. Includes complete deployment script.

FastMCP on AWS Bedrock AgentCore - Step by Step Guide

Important Notice

Amazon Bedrock AgentCore is in preview release and is subject to change.

Note: This guide is based on the official AWS documentation but uses a non-interactive deployment method and provides visibility into the IAM roles and ECR repositories created, making the process more transparent. The original guide uses interactive prompts which this guide avoids.

Platform Requirements

This guide has been tested on Linux x86_64/amd64 systems. While Bedrock AgentCore runs on ARM64, the deployment process uses CodeBuild for cross-platform compilation.

Below is a high‑level, end‑to‑end guide to the four pieces you asked about – how they fit together in Azure Databricks, what they’re used for, and the key steps needed to get them working in production.


1. Azure Databricks SSO (Single Sign‑On)

What it is

  • SSO lets users authenticate once (e.g., via Azure AD, Okta, ADFS) and then automatically get access to the Databricks workspace, notebooks, jobs, and REST APIs without re‑entering credentials.
  • In Azure Databricks the SSO flow is built on SAML 2.0 (or OpenID Connect for Azure AD).

Let's Learn MCP Python - Slide Deck

Slide 1: Welcome to Let's Learn MCP Python

Presenters

  • Marlene - Senior Developer Advocate, Python on Azure team at Microsoft
    • Active in Python community (ACM volunteer, Python Software Foundation board)
  • Gwen - Developer Advocate, Same team as Marlene
@JayDoubleu
JayDoubleu / tiny_agent.py
Created April 26, 2025 18:24 — forked from LiboShen/tiny_agent.py
A minimalist CLI AI agent with web browsing capabilities
"""
1. Make sure you have `uv` install. (e.g. `brew install uv`)
2. Setup Python venv `uv venv && source .venv/bin/activate`
3. Setup the model API key (e.g. `export ANTHROPIC_API_KEY=<your_api_key>`)
4. Run it! `uv run python tiny_agent.py`
"""
import asyncio
from pydantic_ai import Agent
# Define the WSL mount command and its arguments
$wslCommand = "wsl.exe"
$wslArguments = "--mount \\.\PhysicalDrive2 --partition 1 --type ext4 --name data_wsl_shared"
# Create the scheduled task action that will run the WSL command
$action = New-ScheduledTaskAction -Execute $wslCommand -Argument $wslArguments
# Create a trigger that runs the task at system startup
$trigger = New-ScheduledTaskTrigger -AtStartup
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
DISABLE_MAGIC_FUNCTIONS="true"
plugins=(git)
source $ZSH/oh-my-zsh.sh # First source oh-my-zsh
# Then set your custom prompt
PROMPT='%{$fg[cyan]%}%m%{$reset_color%} ${ret_status}%{$fg_bold[green]%}➜ %{$fg_bold[blue]%}%c%{$reset_color%} $(git_prompt_info)'
#!/bin/bash
set -e
echo "Setting up Neovim with a modern configuration..."
# Detect the operating system
if [ -f /etc/os-release ]; then
. /etc/os-release
OS=$NAME
function Load-RoutingTableFromJson {
param (
[string]$JsonFilePath
)
if (-not (Test-Path $JsonFilePath)) {
Write-Error "JSON file not found: $JsonFilePath"
return $null
}
@JayDoubleu
JayDoubleu / fetch_and_report_powerbi_pro_users.py
Last active June 14, 2024 13:39
This script fetches user license assignments from Azure AD, checks for Power BI Pro licenses, and generates a report with user details and account status
import json
import requests
import subprocess
import logging
import argparse
import csv
from datetime import datetime
import uuid
def configure_logging(debug):
@JayDoubleu
JayDoubleu / install-AzCopy.sh
Created June 4, 2024 19:15 — forked from aessing/install-AzCopy.sh
Install AzCopy on Linux
#!/bin/bash
# =============================================================================
# Install AzCopy on Linux
# https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10
# https://github.com/Azure/azure-storage-azcopy
# -----------------------------------------------------------------------------
# Developer.......: Andre Essing (https://www.andre-essing.de/)
# (https://github.com/aessing)
# (https://twitter.com/aessing)
# (https://www.linkedin.com/in/aessing/)