๐ฆ + ๐ค = โค๏ธ
Press Space to navigate | S for speaker notes
๐ค
"MCP servers are for local development
and software developers only"
BUSTED!
Cloud-Native
Enterprise Ready
Any Domain
OAuth Security
Any Client
Global Scale
๐ฎ A game - not a developer tool
โ๏ธ Running on AWS Lambda - not locally
๐ Accessible via HTTP - any client can connect
๐ฆ Built with cargo-pmcp in minutes
๐ฆ
SQL Injection
Buffer Overflow
Use After Free
Null Pointer
Compile-time guarantees
If it compiles, it's safe
๐ฅ๏ธ Remote MCP: No code downloaded or executed on your machine
vs 200-500ms for Python/Node.js
~3MB binary
No runtime needed
Minimal RAM
128MB is plenty
Fast execution
Lower Lambda bills
โ Detailed error messages
โ Suggests exact fixes
โ Catches bugs at compile time
โ Strict type checking
AI + Rust Compiler
= Fewer iterations to working code
๐ก The compiler tells the AI exactly what's wrong and how to fix it
๐ง
"MCP is just about Tools"
BUSTED!
Tools
Actions the AI can take
Resources
Data the AI can read
Prompts
Templates for complex tasks
๐ก Prompts = Help your AI client use your server correctly!
Protocol
Notifications
Cancellations
Middleware
MCP App
Advanced
๐
Using Prompts to build a full day agenda
Plan my re:Invent day on {topic}
Include:
- Sessions matching my interests
- Travel time between venues
- Lunch and break suggestions
- Networking opportunities
One prompt. Complete day planned. โจ
๐ ๏ธ
Advanced Calculator with Quadratic Equation Solver
$ cargo pmcp new my-mcp-servers
$ cd my-mcp-servers
Workspace created with shared components ๐
$ cargo pmcp add server calculator --template complete
Full calculator with tools + prompts! ๐งฎ
Templates: minimal |
calculator | complete
SequentialWorkflow::new("solve_quadratic", "Solve axยฒ + bx + c = 0")
.argument("a", "Coefficient of xยฒ", true)
.argument("b", "Coefficient of x", true)
.argument("c", "Constant term", true)
// Guide the AI with instructions
.instruction(InternalPromptMessage::system(
"Use calculator tools: power, multiply, subtract, sqrt...
Show your work step by step. Coefficients: a={a}, b={b}, c={c}"
))
// Fetch educational resource
.step(WorkflowStep::fetch_resources("fetch_guide")
.with_resource("calculator://help/quadratic-formula")?)
Resources + Instructions = Guided AI
solve_quadratic
SequentialWorkflow
โ Fetches resources
โ Guides AI with instructions
โ Declarative
quadratic_simple
SimplePrompt
โ Self-contained
โ Pre-computed answer
โ Custom logic
Same user experience. Different implementation. ๐ฏ
$ cargo pmcp dev
Server running. Claude Code connected. ๐
Solve xยฒ - 5x + 6 = 0
Answer: x = 2 or x = 3 โ
$ cargo pmcp deploy --target aws-lambda
โ๏ธ
One command. Production ready.
โ Cross-compiled for AWS Lambda
โ Created CloudFormation stack
โ Deployed Lambda function
โ Set up API Gateway
โ Got public HTTPS endpoint
All in ~30 seconds
Same Claude Code. Same experience.
Now running on AWS Lambda ๐
๐ก Your users don't install anything.
They just connect to your endpoint.
๐
โ Industry standard authentication
โ No passwords in your server
โ Works with any OAuth provider
โ Built into cargo-pmcp
๐ฎ
OAuth-protected text adventures
1๏ธโฃ Connect to IF Games server
2๏ธโฃ OAuth redirect โ Login
3๏ธโฃ Token received โ Authenticated
4๏ธโฃ Play your adventure! ๐ก๏ธ
๐ MCP servers are production-ready
๐ฆ Rust = Security + Performance + Low Cost
๐ฌ Prompts & Resources are powerful, not just tools
โ๏ธ One command from code to cloud
๐ OAuth built in for enterprise security
$ cargo install cargo-pmcp
$ cargo pmcp new my-server
$ cargo pmcp dev
๐ฆ ๐ค โค๏ธ
Thank you!