Title: The JSON-RPC dispatch contract — Give your agent tools with MCP (Python) — FlyPython
Open Graph Title: The JSON-RPC dispatch contract — Give your agent tools with MCP (Python) — FlyPython
X Title: The JSON-RPC dispatch contract — Give your agent tools with MCP (Python) — FlyPython
Description: Valid requests echo their id; invalid ones get -32600; unknown or removed methods get -32601.
Open Graph Description: Valid requests echo their id; invalid ones get -32600; unknown or removed methods get -32601.
X Description: Valid requests echo their id; invalid ones get -32600; unknown or removed methods get -32601.
Opengraph URL: https://flypython.com/courses/mcp-server-in-python/l02
Generator: Astro v7.4.2
Domain: flypython.com
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://flypython.com/#organization","name":"FlyPython","url":"https://flypython.com","sameAs":["https://github.com/flypythoncom"],"hasMerchantReturnPolicy":{"@type":"MerchantReturnPolicy","@id":"https://flypython.com/#return-policy","merchantReturnLink":"https://flypython.com/terms#refunds","returnPolicyCategory":"https://schema.org/MerchantReturnFiniteReturnWindow","merchantReturnDays":14,"returnFees":"https://schema.org/FreeReturn","refundType":"https://schema.org/FullRefund"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Courses","item":"https://flypython.com/courses"},{"@type":"ListItem","position":2,"name":"Give your agent tools with MCP (Python)","item":"https://flypython.com/courses/mcp-server-in-python"},{"@type":"ListItem","position":3,"name":"Checkpoint l02","item":"https://flypython.com/courses/mcp-server-in-python/l02"}]}]}
| flypython-build-sha | c4dedda555edc58e4741bb1c4d7ec60969c27219 |
| og:locale | en_US |
| og:locale:alternate | zh_CN |
| og:type | article |
| og:site_name | FlyPython |
| og:image | https://flypython.com/og-default.png |
| og:image:type | image/png |
| og:image:width | 1200 |
| og:image:height | 630 |
| og:image:alt | FlyPython — Practical Python for the AI era |
| article:published_time | 2026-11-07 |
| article:modified_time | Sat Sep 12 2026 00:00:00 GMT+0000 (Coordinated Universal Time) |
| twitter:card | summary_large_image |
| twitter:image | https://flypython.com/og-default.png |
| twitter:image:alt | FlyPython — Practical Python for the AI era |
Links:
Viewport: width=device-width, initial-scale=1