Commit Graph

281 Commits

Author SHA1 Message Date
David Soria Parra
53bfac0cc2 fix: make progress_token check E711 compat 2025-01-29 10:01:56 +00:00
David Soria Parra
2dc5fbfa3d fix: add test for #176 2025-01-28 11:19:13 +00:00
Thomas Sheffler
76325b7846 progress_token is 0 on first tool-call and the return is taken mistakenly 2025-01-27 19:04:20 -08:00
David Soria Parra
978cfe3f92 more fixes 2025-01-27 15:49:59 +00:00
David Soria Parra
43a30c1d00 fix tests 2025-01-27 14:36:48 +00:00
David Soria Parra
91840fd9c0 Merge pull request #172 from sheffler/fixAsyncLog
async and await for send_log_message in fastmcp
2025-01-27 10:40:10 +00:00
Thomas Sheffler
7a64d8f9af async and await for logging in fastmcp 2025-01-25 07:03:20 -08:00
David Soria Parra
57c3aa2f0d docs: improve CLAUDE.md structure and clarity 2025-01-24 18:42:52 +00:00
David Soria Parra
d64b0679b8 Merge pull request #149 from cr7258/patch-1
fix: mcp install command with environment variables
2025-01-24 10:38:05 +00:00
David Soria Parra
5f537a0f69 Merge pull request #166 from modelcontextprotocol/davidsp/refactor
refactor: extract request and notification handling
2025-01-24 09:54:21 +00:00
David Soria Parra
ba25ad6921 Merge pull request #165 from modelcontextprotocol/davidsp/types-2024-11-05
feat: update types to 2024-11-05 schema
2025-01-24 09:53:40 +00:00
David Soria Parra
0a93799068 refactor: extract request and notification handling into separate methods 2025-01-24 09:52:20 +00:00
David Soria Parra
bd742272ab fix: update types to reflext 2024-11-05 schema 2025-01-24 09:52:16 +00:00
David Soria Parra
c14ec2e0d7 fix typing issues 2025-01-23 13:27:25 +00:00
David Soria Parra
059e831b8d Merge pull request #98 from 3choff/feature/simple-chatbot-example
Add example client to examples/clients folder
2025-01-23 13:27:10 +00:00
David Soria Parra
0cb3b26514 Merge pull request #157 from micpst/async-resources
feat: add async resources for FastMCP
2025-01-22 13:37:41 +00:00
David Soria Parra
73c62c5ccf Merge pull request #158 from micpst/fix-logger-debug
fix: fastmcp debug logging
2025-01-20 11:56:12 +00:00
Michał Pstrąg
c184b7a8db fix fastmcp logger debug 2025-01-18 19:59:51 +01:00
Michał Pstrąg
f5f19b2361 add support for async resources 2025-01-18 19:37:39 +01:00
Justin Spahr-Summers
4c71c6168f Merge pull request #151 from modelcontextprotocol/merrill/tests-for-sse
add minimal tests for the SSE transport
2025-01-15 10:47:29 +00:00
Nick Merrill
d01d49ea6e add timeout test 2025-01-14 12:10:41 -05:00
Nick Merrill
e798d20cbb ruff 2025-01-14 11:56:44 -05:00
Nick Merrill
aa7869a62f add type hints 2025-01-14 11:54:09 -05:00
Nick Merrill
3fa26a5a97 remove unused imports 2025-01-14 11:49:04 -05:00
Nick Merrill
07e721f63f formatting 2025-01-14 11:47:41 -05:00
Nick Merrill
5097bb7ef8 revert unintended changes 2025-01-14 11:47:00 -05:00
Nick Merrill
7b35ab844a run server in separate process 2025-01-14 11:44:03 -05:00
Nick Merrill
8d90a3afa3 attempt at server in process 2025-01-14 11:15:05 -05:00
Nick Merrill
7ab1fc71aa attempt to get server to shut down 2025-01-14 11:01:43 -05:00
Nick Merrill
8f81a85abe all tests passing with custom port, but not passing all together 2025-01-14 10:45:55 -05:00
Nick Merrill
e79a56435a passing SSE client test 2025-01-14 10:34:32 -05:00
Nick Merrill
66ccd1c515 test_sse_connection is passing 2025-01-14 10:18:27 -05:00
Nick Merrill
a0e2f7fab7 WIP 2025-01-14 09:38:06 -05:00
Nick Merrill
3f9f7c8311 WIP 2025-01-14 09:27:42 -05:00
Nick Merrill
b0a6aafaf6 WIP 2025-01-14 09:24:44 -05:00
Nick Merrill
f164291483 trying to test SSE 2025-01-14 09:22:05 -05:00
Justin Spahr-Summers
62a0af6f71 Merge pull request #150 from salman1993/sm/add-instructions
feat: add instructions field to InitializeResult
2025-01-13 18:06:53 +00:00
Salman Mohammed
bc6746e89b Add instructions field to ServerSession and FastMCP 2025-01-13 13:00:11 -05:00
Salman Mohammed
135191403a Add instructions field to InitializeResult 2025-01-13 11:58:43 -05:00
Se7en
53fe3417bb fix: mcp install command with environment variables 2025-01-13 20:12:32 +08:00
David Soria Parra
400dcda2eb update lock 2025-01-06 20:04:39 +00:00
David Soria Parra
8d17fd327b Merge pull request #137 from modelcontextprotocol/v1.2.x
fix: #129 resource template handling in FastMCP server
2025-01-06 20:03:43 +00:00
David Soria Parra
4770bcd0b1 fix: #129 resource template handling in FastMCP server 2025-01-06 20:02:03 +00:00
David Soria Parra
b66c6759c3 feat: add example and test for parameter descriptions in FastMCP tools 2025-01-06 12:30:44 +00:00
David Soria Parra
a77aaa79a4 refactor: use built-in typing.Annotated instead of typing_extensions 2025-01-06 10:47:44 +00:00
David Soria Parra
83efb1077a chore: update uv.lock 2025-01-06 10:47:04 +00:00
David Soria Parra
0c00fdc783 Merge branch 'v1.2.x' 2025-01-06 10:37:46 +00:00
David Soria Parra
6a806549c8 chore: add .DS_Store to gitignore 2025-01-06 10:37:12 +00:00
David Soria Parra
e8dd39f839 fix: #128 fix package in the generated mcp run config
During `mcp install` we are generating a config
that relies on `mcp run`. However `mcp` is only available
as a CLI command if we use the `cli` feature.

We need to specify that we want to install mcp
with the cli feature.

Fixes #128
2025-01-06 10:37:01 +00:00
David Soria Parra
2efa525a66 docs: Add branch selection guidance to CONTRIBUTING.md 2025-01-03 21:27:21 +00:00