Commit Graph

452 Commits

Author SHA1 Message Date
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
David Soria Parra
b8fd814f1c Bump version 2025-01-03 21:25:02 +00:00
David Soria Parra
af940aeea7 ci: Run main checks on tags 2025-01-03 16:15:00 +00:00
David Soria Parra
435cdda43c release: Prepare v1.2.0 2025-01-03 16:10:46 +00:00
David Soria Parra
1e52765052 Merge branch 'main' into v1.2.x 2025-01-03 16:10:14 +00:00
David Soria Parra
58bc32e559 merge: Resolve conflicts from v1.1.x merge 2025-01-03 16:06:51 +00:00
David Soria Parra
e32bf07433 docs: Update CLAUDE.md with ruff and pre-commit info 2025-01-03 15:57:56 +00:00
David Soria Parra
e21e8c157d style: Fix import sorting and update ruff version 2025-01-03 15:57:14 +00:00
David Soria Parra
329f595f5f fix: Fix line length in test_server.py 2025-01-03 15:53:19 +00:00
David Soria Parra
d06b393cdb build: bump version to v1.1.3 2025-01-03 15:45:57 +00:00
David Soria Parra
118ddcc9ac feat: upgrade dev dependencies 2025-01-03 15:30:49 +00:00
David Soria Parra
1bbd27d4a5 docs: Add learnings about tool usage 2025-01-03 15:28:15 +00:00
David Soria Parra
2d8f08d648 fix: Address formatting and type checking issues 2025-01-03 15:23:58 +00:00
David Soria Parra
79ec8dccdb test: Add test for unlimited tool listing (issue #100) 2025-01-03 15:20:43 +00:00
David Soria Parra
ed993166e4 example: Add FastMCP example with Unicode characters and emojis 2025-01-03 15:20:43 +00:00
David Soria Parra
43796bfa24 test: Add test for non-ASCII character handling in FastMCP tools 2025-01-03 15:20:43 +00:00
David Soria Parra
d93b99e163 Merge pull request #121 from allenporter/mcp-sse-type-error
Fix SSE server uncaught TypeError due to incorrect routing
2025-01-03 14:38:58 +00:00
David Soria Parra
73c055f136 fix: Update AnyIO stream creation to use type annotation syntax 2025-01-02 16:59:26 +00:00
David Soria Parra
ae73191b3e fix: Change --env-var short flag from -e to -v to avoid conflict with --with-editable 2025-01-02 16:57:53 +00:00
David Soria Parra
bd5170e19e Merge pull request #120 from SecretiveShell/fix-encoding-errors
add text encoding params to STDIO client
2025-01-02 14:59:36 +00:00
David Soria Parra
21ac4043d5 Merge pull request #118 from samefarrar/mcp-instead-of-fastmcp-install
Use mcp instead of fastmcp CLI as command in "mcp install"
2025-01-02 09:43:03 +00:00
Allen Porter
b89cabc7df fix: Add constructor for McpError to allow setting field
Backport of #116 by @allenporter to v1.1.x branch.

Fixes an issue where exception handling code fails with AttributeError
when accessing the error field of McpError.
2025-01-02 09:32:43 +00:00
David Soria Parra
312e9da2dc Merge pull request #90 from restlessronin/issue-87
feat: add version string parameter to 'create_initialization_options'
2025-01-02 09:15:26 +00:00
restlessronin
3de4dc1f13 feat: add version string parameter to Server constructor 2025-01-02 09:11:07 +00:00
restlessronin
34a257147b chore: revert doc changes 2025-01-02 09:11:07 +00:00
restlessronin
6f108f7f7c doc: added comment to README example 2025-01-02 09:11:07 +00:00
restlessronin
937c640f04 feat: add version string parameter to 'create_initialization_options' 2025-01-02 09:11:07 +00:00
Allen Porter
247aec9332 Update paths in examples 2024-12-30 10:09:42 -08:00
Allen Porter
1134421a3a Fix inconsistencies in examples 2024-12-30 10:08:57 -08:00
Allen Porter
0970ef4ae0 Fix SSE server bug with uncaught TypeError 2024-12-30 10:04:19 -08:00