Skip to main content
Mag&Cie
Tutorials & technical guides

Learn how to do it, step by step

Practical technical guides for cybersecurity, AI, automation, code and infra. Step-by-step methods, commented code, production-ready checklists.

By MAG&Cie, a consulting firm run by a freelance CTO/CPO since 2015 — certified outsourced CISO.

Category
Level
FreeIntermediateIA

Build your own MCP server with FastMCP — connect a LLM to your business tools in Python

Step-by-step guide to build your own MCP server in Python with FastMCP: minimal skeleton, 6 realistic tools (Notion search, task upsert, list projects, page summary, email dispatch, get metrics), in-memory cache, stdio and HTTP transports with bearer auth, VPS deployment, connection to Claude Desktop and Hermes Agent. Field notes from Roger, MAG&Cie's internal Notion assistant.

Jul 9, 202645 minRead tutorial
FreeBeginnerAdmin & Compliance

French e-invoicing 2026 — compliance guide for freelancers & micro-businesses

Starting 1 September 2026, every French business subject to VAT must be able to receive electronic invoices. This guide explains what a freelancer or micro-business (TPE) must do in practice: vocabulary, official calendar, choosing a PDP, formats (Factur-X / UBL / CII), the VAT-exempt case, 7-step migration plan and the 5 mistakes to avoid.

Jul 9, 202630 minRead tutorial
FreeIntermediateCybersecurity

Add Google and Microsoft SSO to your app — Complete OIDC guide

Complete vendor-neutral guide to add 'Sign in with Google' and 'Sign in with Microsoft' to your application. OpenID Connect (OIDC), Authorization Code + PKCE flow, Google Cloud and Entra ID setup, ID token validation, production checklist, Node.js and Python examples.

Jun 26, 202645 minRead tutorial