Jeremiah Lowin
76e3df1bc1
Add "http" as an alias for streamable-http
2025-06-22 18:55:07 -04:00
Jeremiah Lowin
9714028cac
Fix pyright type checking issues in tests
...
Add proper null checks and type assertions for prompt argument
handling in tests to satisfy pyright strict typing.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 09:55:40 -04:00
Jeremiah Lowin
7114242e1e
Update schema description wording for clarity
...
Change from 'Arguments must be strings conforming to this JSON schema'
to 'Provide as a JSON string matching the following schema' for clearer
instruction to LLMs about string format requirements.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 09:46:11 -04:00
Jeremiah Lowin
817018bf3b
Add automatic JSON schema descriptions for non-string prompt arguments
...
- Fix ValueError -> PromptError for consistent error handling
- Add automatic JSON schema descriptions to non-string prompt arguments
- Include comprehensive tests for argument description enhancement
- Verify enhanced descriptions are visible via MCP protocol
This helps developers understand the expected string format for complex
types when calling prompts from MCP clients.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 09:38:57 -04:00
Jeremiah Lowin
18ae625fef
Update docs and test
2025-06-20 13:06:48 -04:00
Jeremiah Lowin
60c6441d7b
Fix formatting per pre-commit hooks
...
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 18:22:02 -04:00
Jeremiah Lowin
370c44b745
Merge branch 'main' into dev-20250619-173841
2025-06-19 18:21:18 -04:00
Jeremiah Lowin
942fd5c13e
Add session_id property to Context for session-based data sharing
...
Exposes MCP session ID from HTTP headers to enable Redis-based data sharing
between tools. Returns None for stdio/memory transports as expected.
Fixes #875 , addresses python-sdk#986, python-sdk#942, python-sdk#485
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 18:16:34 -04:00
Jeremiah Lowin
0beb79d11a
Minor updates
2025-06-19 15:28:55 -04:00
Jeremiah Lowin
725c061d66
Fix import prefix behavior
2025-06-19 15:19:31 -04:00
Jeremiah Lowin
703589e6f5
Add proxy middleware test
2025-06-19 15:00:11 -04:00
Jeremiah Lowin
2e31b2704b
Update tests
2025-06-19 14:05:19 -04:00
Jeremiah Lowin
35e13ef9bf
Update resource manager
2025-06-19 12:22:14 -04:00
Jeremiah Lowin
a42c0c40b0
Add middleware for all current handlers
2025-06-18 21:41:28 -04:00
Jeremiah Lowin
c183e3a99c
Updated list_tools
2025-06-18 21:17:38 -04:00
Jeremiah Lowin
e365c0b6fb
Merge branch 'main' into middleware-2
2025-06-18 21:08:18 -04:00
Jeremiah Lowin
a2bb2314c7
Add key to component
2025-06-18 21:05:11 -04:00
Jeremiah Lowin
0702bad1c2
Add single-component methods
2025-06-18 19:47:19 -04:00
Jeremiah Lowin
8eaa6096b4
Make prefixes optional
2025-06-18 11:28:24 -04:00
Jeremiah Lowin
084e52badd
Consolidate prefix logic
2025-06-17 20:23:47 -04:00
Goro
4c60119767
Add missing tests
2025-06-16 08:10:34 +02:00
Goro
57e0b03711
Run pre-commit and fix typing issues
2025-06-16 07:12:41 +02:00
Goro
d2b2243957
Add file utility type and tests
2025-06-16 00:23:11 +02:00
Jeremiah Lowin
d24d35639f
Remove duplicate tests
2025-06-14 09:26:52 -04:00
Jeremiah Lowin
06dcff3b3b
Add tests
2025-06-14 09:22:29 -04:00
Jeremiah Lowin
f269c074f4
Add audio support
2025-06-14 08:59:48 -04:00
Jeremiah Lowin
20f4117b47
Update tests
2025-06-10 21:06:20 -04:00
Jeremiah Lowin
3de00e3aa2
Add tests
2025-06-10 20:47:08 -04:00
Jeremiah Lowin
b1714bcf7b
Clean up route maps
2025-06-10 20:19:41 -04:00
Jeremiah Lowin
c5fb5f7fd2
Remove tuple tags
2025-06-10 19:50:43 -04:00
Jeremiah Lowin
7224295f93
Incorporate enabled property
2025-06-10 19:32:31 -04:00
Jeremiah Lowin
ad45f0572a
Merge branch 'main' into include-exclude
2025-06-10 19:31:25 -04:00
Jeremiah Lowin
1866c17400
Update tests
2025-06-10 17:08:23 -04:00
Jeremiah Lowin
2f0b60a6d9
Update test_proxy.py
2025-06-10 11:48:53 -04:00
Jeremiah Lowin
f9e414f51e
Ensure proxies can overwrite remote tools without leaking
2025-06-10 11:30:22 -04:00
Jeremiah Lowin
9c25cc6454
Support enabled/disabled resources and templates
2025-06-10 10:44:46 -04:00
Jeremiah Lowin
6e92335510
Support enabled/disabled tools
2025-06-10 10:32:50 -04:00
Jeremiah Lowin
17a71278aa
Support enabled/disabled prompts
2025-06-10 10:24:40 -04:00
Jeremiah Lowin
b74bce6ff7
Create common base class for components
2025-06-10 09:22:57 -04:00
Jeremiah Lowin
47b2c58134
Merge branch 'main' into transform-tools-2
2025-06-09 17:24:23 -04:00
Jeremiah Lowin
bc59a4fbf5
Ensure client is only initialized once
2025-06-08 14:48:05 -04:00
Jeremiah Lowin
6d36171f38
Fix passing token string to client auth
2025-06-07 21:39:50 -04:00
Jeremiah Lowin
7d2f51535f
Merge branch 'main' into include-exclude
2025-06-07 18:40:38 -04:00
Jeremiah Lowin
956488635e
Add support for tag-based include/exclude
2025-06-07 18:38:29 -04:00
Jeremiah Lowin
e7672bf0bc
Update test_mount.py
2025-06-07 17:37:48 -04:00
Jeremiah Lowin
32a091e228
Don't store exclude args as attribute
2025-06-07 16:59:58 -04:00
Jeremiah Lowin
d64077b03b
remove empty parens from prompt
2025-06-05 14:56:10 -04:00
Jeremiah Lowin
424978397b
Fix indentation
2025-06-05 11:15:25 -04:00
Jeremiah Lowin
f495de6f3a
Ensure methods work/are documented
2025-06-05 10:59:32 -04:00
Jeremiah Lowin
d26a5dffc3
Return objects from decorators
2025-06-05 10:04:39 -04:00