Dariusz Jędrzejczyk
8397849d6e
Properly dispose Schedulers for IO and skip closing BufferedReader as they deadlocked on Ubuntu
...
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@gmail.com>
2024-12-12 22:54:28 +01:00
Christian Tzolov
a4950c04a5
test: increase MCP client timeout to 20s and enable tests
...
- Doubles the default timeout from 10s to 20s in McpAsyncClient
- Updates corresponding timeout values in test classes
- Enables previously disabled async client tests
2024-12-12 21:45:51 +01:00
Christian Tzolov
c41f3fe738
Temp disable the entire McpAsyncClientTests
2024-12-12 21:32:06 +01:00
Christian Tzolov
4a1763d355
Temp disable testMcpAsyncClientState
2024-12-12 21:29:18 +01:00
Christian Tzolov
a55379745f
Fix javadoc
2024-12-12 21:13:02 +01:00
Christian Tzolov
e9bafe9f21
feat(client): add convenience methods for listing operations without cursor
...
Add overloaded methods for list operations (tools, resources, templates, prompts)
that don't require a cursor parameter. This simplifies the API for cases where
pagination is not needed.
2024-12-12 14:34:45 +01:00
Dariusz Jędrzejczyk
972519b9ea
Improve examples in README.md ( #2 )
...
* Improve AsyncMcpClient example in README.md
* Move McpSyncClient example above the async variant and improve the code
2024-12-12 14:34:03 +01:00
Christian Tzolov
7f25221d42
Improve MpcSchema structure
2024-12-12 14:00:31 +01:00
Dariusz Jędrzejczyk
9081b6345f
refactor: improve process handling and graceful shutdown
...
- Enhance process handling in StdioServerTransport with proper cleanup
- Refactor graceful shutdown across McpSession implementations
- Add proper JSON serialization annotations for Role and LoggingLevel enums
- Fix typo in setInboundMessageHandler method name
- Improve test coverage using StepVerifier
- Add documentation and cleanup code
2024-12-12 13:47:01 +01:00
Christian Tzolov
912e815b17
Update README.md
...
add examples section to the README
2024-12-12 10:53:51 +01:00
Christian Tzolov
683cf93d7e
Udpate the README docs
2024-12-11 13:35:27 +01:00
Christian Tzolov
800f145eb2
Update the mcp-core readme
2024-12-11 07:58:44 +01:00
Mark Pollack
9bbf9d9732
Next development version
2024-12-11 01:45:23 -05:00
Mark Pollack
dce530ed91
Release version 0.1.0
v0.1.0
2024-12-11 01:44:20 -05:00
Mark Pollack
a300886954
Fix profile xml in profile for artifactory-milestone
2024-12-11 01:28:06 -05:00
Mark Pollack
44c8fb0080
Add github action for milestone repo release
2024-12-11 01:20:12 -05:00
Mark Pollack
98eee0111d
Add javadoc back to maven central action
2024-12-11 00:50:35 -05:00
Mark Pollack
107c9e9860
Remove upload of javadocs to maven central
2024-12-11 00:48:01 -05:00
Mark Pollack
46e929d465
Add javadoc profile to artifactory staging build
2024-12-11 00:44:46 -05:00
Mark Pollack
ad8bcb5198
Add github actions for artifactory staging and maven central release
2024-12-11 00:26:26 -05:00
Mark Pollack
586f132f46
Update copyright headers and add javaformat plugin
2024-12-10 23:49:24 -05:00
Mark Pollack
7bec6efd37
remove sample app module, bump version to 0.1.0-SNAPSHOT
2024-12-10 23:40:17 -05:00
Mark Pollack
6df87e2170
Enable tests
2024-12-10 19:47:21 -05:00
Mark Pollack
3e55cbc1ff
temp disable of running tests
2024-12-10 19:44:31 -05:00
Christian Tzolov
120b5b2242
demo
2024-12-11 01:35:28 +01:00
Mark Pollack
b22ee0a1f7
reduce logging in javadoc generation
2024-12-10 19:21:23 -05:00
Mark Pollack
559e671f8d
Add javadoc profile when running javadoc:aggregate
2024-12-10 19:18:35 -05:00
Mark Pollack
d28b8d2839
Remove npm cache in CI action
2024-12-10 19:10:57 -05:00
Mark Pollack
6604f03176
Add node to CI action
2024-12-10 19:08:44 -05:00
Christian Tzolov
949f961c04
fix docs
2024-12-11 00:56:06 +01:00
Mark Pollack
2747182b3b
Remove leftover mvnw scripts and suppress javadoc warnings
2024-12-10 18:55:16 -05:00
Christian Tzolov
a922b1aa7a
Add doc diagrams
2024-12-11 00:51:24 +01:00
Mark Pollack
7d7923102b
remove extra file
2024-12-10 18:46:49 -05:00
Mark Pollack
9978c25865
package name refactoring
2024-12-10 18:46:49 -05:00
Mark Pollack
39310c2010
remove extraneous .mvn directories
2024-12-10 18:46:49 -05:00
Mark Pollack
910be3cee7
Rename modules, update .gitignore
2024-12-10 18:46:49 -05:00
Christian Tzolov
49e0291611
Update READEME
2024-12-11 00:28:23 +01:00
Mark Pollack
7fa6d0c56a
Github actions - remove free disk space step
2024-12-10 17:55:40 -05:00
Mark Pollack
df947ee9f3
Setup initial github workflows for CI/CD and Issue Templates
2024-12-10 17:54:33 -05:00
Mark Pollack
ba10954305
Refactor maven project structure
2024-12-10 17:46:11 -05:00
Christian Tzolov
305b80aaf8
refactor: rename project artifacts to follow spring-ai naming convention
...
- Rename mcp-core to spring-ai-mcp-core
- Rename mcp-spring to spring-ai-mcp-spring
- Rename mcp-spring-boot to spring-ai-mcp-spring-boot
- Rename parent artifact from mcp-parent to spring-ai-mcp
- Remove unused spring-ai.version property
2024-12-10 22:11:21 +01:00
Christian Tzolov
1d4aea3d1d
chore: update project metadata for Spring projects alignment
...
Change groupId to org.springframework.experimental
Bump version to 0.1.0-SNAPSHOT
Add proper SCM, license, and developer information
Configure distribution, issue, and CI management
Clean up empty XML tags
2024-12-10 21:41:19 +01:00
Christian Tzolov
52e6644b22
dongrade java version from 21 to 17
2024-12-10 21:11:27 +01:00
Christian Tzolov
3abd93a323
Add mcp-spring that contains the McpFunctionCallback and mcp-spring-boot which is just boot demo
2024-12-10 19:52:35 +01:00
Christian Tzolov
22bddca5e4
fix dependecies and doc
2024-12-10 19:22:53 +01:00
Christian Tzolov
1d7ab91314
rename mcp to mcp-core and spring into mcp-spring
2024-12-10 18:56:38 +01:00
Christian Tzolov
0dec9420c6
Add simple StdioServerTransportTest
2024-12-10 14:20:52 +01:00
Christian Tzolov
7c9cf46e8a
Factor out the McpSession into an inteface with DefaultMcpSession impl.
2024-12-10 14:03:11 +01:00
Christian Tzolov
7abf118412
refactor(transport): improve MCP transport layer design
...
- Rename DefaultMcpTransport to AbstractMcpTransport and make it abstract
- Add graceful shutdown support via closeGracefully() method
- Enhance McpTransport interface with default close() implementation
- Improve documentation across transport layer classes
2024-12-10 13:27:09 +01:00
Christian Tzolov
1b6d661470
code cleaning
2024-12-10 11:46:58 +01:00