32 Commits

Author SHA1 Message Date
Max b7c9a916d6 Add mcp.types as a permanent alias for mcp_types (#3190) 2026-07-27 23:47:04 +01:00
Marcelo Trylesinski 2713b53b12 Replace httpx and httpx-sse with httpx2 (#2972)
CI / checks (push) Failing after 1s
CI / all-green (push) Has been cancelled
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
2026-07-14 17:05:08 +01:00
Marcelo Trylesinski 0ee7f1b293 Split protocol types into a standalone mcp-types package (#2973) 2026-06-25 19:18:38 +02:00
Max Isbey abfb482246 refactor(examples): migrate all HTTP examples to streamable_http_app() (#2291) 2026-03-16 11:37:01 +00:00
Max Isbey 0a22a9dc33 refactor: replace lowlevel Server decorators with on_* constructor kwargs (#1985) 2026-02-12 15:55:54 +00:00
Max Isbey d3133ae6ce chore: update author metadata to LF Projects (#1992) 2026-02-04 11:01:33 +00:00
Marcelo Trylesinski 1a8c14a5b8 refactor: replace mcp.types as types to from mcp import types (#1986) 2026-02-03 16:42:29 +00:00
Marcelo Trylesinski e94b386a13 refactor: use snake case instead of camel case in types (#1894) 2026-01-16 15:51:27 +01:00
Felix Weinberger cfb2909631 fix: change Resource URI fields from AnyUrl to str (#1863) 2026-01-16 09:58:57 +01:00
Max Isbey a864840825 Add end-of-file-fixer pre-commit hook (#1610) 2025-11-11 13:23:08 +00:00
Yukuan Jia 340af403bd Replace deprecated dev-dependencies with dependency-groups (#1488)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-10-23 17:22:16 -07:00
Peter Alexander 356dfa692b Update simple-resource example to use non-deprecated read_resource return type (#1331)
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-01 17:58:01 +01:00
David Soria Parra 0926613714 Update dependencies and fix type issues (#1268)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-08-14 10:40:47 +01:00
Marcelo Trylesinski c7671e470c Add pyright strict mode on the whole project (#1254) 2025-08-11 18:56:37 +01:00
Felix Weinberger a2f8766a8a Add title to tools, resources, prompts (#972)
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-17 15:53:14 +01:00
Nandha Reddy f7265f7b91 Use FileUrl on the resources/list call in the simple-resource example (#907) 2025-06-11 10:48:42 +02:00
ciccolo-anthropic 2ca2de767b Change default binding from 0.0.0.0 to 127.0.0.1 to align with security recommendations (#738) 2025-05-20 20:23:19 +01:00
ihrpr b3fbee9c48 Include server examples folder in pyright check (#667) 2025-05-15 09:29:36 +01:00
Akash D 83968b5b2f Handle SSE Disconnects Properly (#612) 2025-05-02 09:32:46 -07:00
徐徐如生 321498ab5d Fix python -m command error (#387)
Co-authored-by: xzx <xuzexin@thinktown.com>
2025-03-31 07:32:15 +00:00
Henry Wildermuth b53e090299 Update URL validation to allow file and other nonstandard schemas 2025-02-13 14:58:58 -08:00
David Soria Parra e21e8c157d style: Fix import sorting and update ruff version 2025-01-03 15:57:14 +00:00
Allen Porter 0970ef4ae0 Fix SSE server bug with uncaught TypeError 2024-12-30 10:04:19 -08:00
David Soria Parra a79f51f55f style: Fix imports and line length formatting 2024-12-21 00:46:36 +00:00
David Soria Parra bed35f3737 Update example servers to use mcp.server.lowlevel 2024-12-21 00:41:59 +00:00
David Soria Parra aaf32b5307 Merge branch 'v1.1.x' 2024-12-09 14:26:46 +00:00
David Soria Parra 28ed9cba5a Change lower bounds and update locks 2024-12-09 14:23:08 +00:00
David Soria Parra 44ec763f92 Fix READMEs of examples 2024-12-03 22:35:52 +00:00
David Soria Parra b36bde3d85 ruff fix 2024-11-22 10:47:58 +00:00
David Soria Parra bbd9d05851 Fix example servers SSE invocation
Reported-by: Simon Willison
2024-11-22 10:45:24 +00:00
David Soria Parra f00559a465 pin to lowest supported python version 2024-11-13 10:44:54 +00:00
David Soria Parra e1766443b8 add simple resource example 2024-11-12 14:29:14 +00:00