Skip to content
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
378 commits
Select commit Hold shift + click to select a range
7fe4080
style: apply spotless formatting
Xb2555 Sep 1, 2025
f7d16ce
optimize: UndoLog analysis returns detailed data and supports pagination
Xb2555 Sep 1, 2025
fe347c1
feat: Netty HTTP request handler increase the stream transport way
Xb2555 Sep 3, 2025
fad6a99
feat: Delete the original method of reading server running logs by ro…
Xb2555 Sep 3, 2025
f901b80
feat: Implement server-side streaming of big data server logs
Xb2555 Sep 5, 2025
975c663
feat: Implement MCP-Console to stream and receive server-side big dat…
Xb2555 Sep 5, 2025
247c620
style: apply spotless formatting
Xb2555 Sep 5, 2025
140dab4
feat: Complete the function of streaming big data log files on the se…
Xb2555 Sep 7, 2025
80e3afc
feat: Enable the console side to stream the server-side large data vo…
Xb2555 Sep 7, 2025
ede6ec2
optimize: Optimized the server-side streaming log file sending functi…
Xb2555 Sep 9, 2025
b32e08d
optimize: Optimized the server-side streaming log file sending functi…
Xb2555 Sep 9, 2025
5d6dbcf
Merge remote-tracking branch 'origin/summer_code_mcp_server' into sum…
Xb2555 Sep 9, 2025
127f820
optimize: Use the StringUtils.indexOf method to improve the efficienc…
Xb2555 Sep 9, 2025
5136a5b
optimize: Optimize the service data source configuration of MCP to a …
Xb2555 Sep 10, 2025
60cc832
feat: Implement the ability to configure business data sources on the…
Xb2555 Sep 12, 2025
1ecd735
optimize: Merge the MCP authentication filter with the business data …
Xb2555 Sep 12, 2025
62552ed
optimize: Avoid repeated data source parameter parsing and configurat…
Xb2555 Sep 12, 2025
5866894
test: Change the MySQL version of the server module to match MySQL 8 …
Xb2555 Jul 11, 2025
dd061eb
feat: Implement official MCP code compatibility processing and embedding
Xb2555 Jul 11, 2025
ce248bd
optimize: Exclude MCP-related paths from security
Xb2555 Jul 11, 2025
2e0d397
feat: Define Tools and ToolParam annotations to quickly register tools
Xb2555 Jul 11, 2025
7d884b8
feat: The configuration file reads MCP-related configurations, and th…
Xb2555 Jul 11, 2025
4bdc1bd
feat: The configuration file reads MCP-related configurations, and th…
Xb2555 Jul 11, 2025
320d50e
feat: Implement the integrated management class of MCP server, and re…
Xb2555 Jul 11, 2025
293a38b
feat: Implement the automatic scanning and registration function of t…
Xb2555 Jul 11, 2025
2b7bd3d
feat: Add the MCP remote forwarding filter to NamingServer to forward…
Xb2555 Jul 11, 2025
5dc9204
feat: Add the MCP remote forwarding filter to NamingServer to forward…
Xb2555 Jul 11, 2025
eaad52a
feat: The RMC on the MCP side can call the TC interface, and supports…
Xb2555 Jul 11, 2025
0554425
feat: GlobalSessionParam and seata-core is introduced to prepare for …
Xb2555 Jul 11, 2025
298831a
feat: Implement the global transaction management function on the MCP…
Xb2555 Jul 11, 2025
28eb1db
feat: Implement the tool interface function of global transaction man…
Xb2555 Jul 11, 2025
8a9887d
feat: Implement the service and tool APIs for branch transaction mana…
Xb2555 Jul 11, 2025
380e0b1
feat: Implement the service and tool APIs of the global lock manageme…
Xb2555 Jul 11, 2025
da92c92
feat: The secondary confirmation function for update and modification…
Xb2555 Jul 11, 2025
9cffa95
feat: Added a custom HTTP call error handler so that when an error is…
Xb2555 Jul 11, 2025
802ab84
feat: MySQL driver dependencies are added to NamingServer to prevent …
Xb2555 Jul 11, 2025
7614b55
feat: On the console, connection pool dependencies are introduced to …
Xb2555 Jul 11, 2025
a6e91b6
feat: The configuration parameters of the business data source in the…
Xb2555 Jul 11, 2025
e6ad550
feat: transform seata-server datasourceProvider to seata-mcp and chan…
Xb2555 Jul 11, 2025
d8e88d4
feat: Implement the DbcpDataSource instance creation function
Xb2555 Jul 11, 2025
94eb8ed
feat: Implement the DruidDataSource instance creation function
Xb2555 Jul 11, 2025
c54d94a
feat: Implement the HikariDataSource instance creation function
Xb2555 Jul 11, 2025
2968974
feat: Create a DataSourceFactory to save and create dataSource instances
Xb2555 Jul 11, 2025
75ab15c
feat: Implement the basic query function of the business data source
Xb2555 Jul 11, 2025
667e933
feat: Implement the SQL execution function using resourceId and add t…
Xb2555 Jul 11, 2025
2d79e17
feat: Implement the hot configuration interface invocation function o…
Xb2555 Jul 11, 2025
48ddf81
feat: Add MCP-related configurations to the configuration file
Xb2555 Sep 14, 2025
72f272a
feat: Set the Number of Pages and Page Size parameters of the Global …
Xb2555 Jul 11, 2025
9df4e28
fix: Added string nullity judgment
Xb2555 Jul 11, 2025
662c5f5
feat: Implement the analysis function of UndoLog in AT mode
Xb2555 Jul 11, 2025
159d98d
optimize: The description of the modification tool is in English
Xb2555 Jul 11, 2025
c2bac54
feat: Implement dynamic parameter queries for undo_log, including par…
Xb2555 Jul 11, 2025
893eaf0
optimize: Put statements related to SQL queries into the Constant con…
Xb2555 Jul 12, 2025
ac98b15
optimize: Added query interval limit
Xb2555 Jul 12, 2025
6213c76
optimize: Consolidate query URLs into a single constant for easy mana…
Xb2555 Jul 12, 2025
fae5259
fix: The query interval limit function is improved
Xb2555 Jul 12, 2025
589ce98
fix: Code format change
Xb2555 Jul 13, 2025
22fa97b
fix: Fixed 404 error caused by unknown reasons when the asynchronous …
Xb2555 Jul 13, 2025
932eff2
optimize: mcp rpc call function adds token verification to improve se…
Xb2555 Jul 13, 2025
70b8185
optimize: Verify the validity limit of SQL statements
Xb2555 Jul 14, 2025
be900dc
optimize: Add a property setting to the maximum query interval in mcp…
Xb2555 Jul 14, 2025
83ba829
feat: Abnormal transaction information can be checked out
Xb2555 Jul 14, 2025
2756a06
optimize: Add Licensed
Xb2555 Jul 14, 2025
16c78a4
feat: Test the DataSource
Xb2555 Jul 14, 2025
d8adfc5
feat: test the McpServerManager
Xb2555 Jul 14, 2025
7c88902
test: The DataSourceFactory test class is added
Xb2555 Jul 15, 2025
e3cf20a
test: Implement the SqlExecutionTemplate test class
Xb2555 Jul 15, 2025
267ba51
test: Implement McpAutoToolRegister test
Xb2555 Jul 15, 2025
d9ed5e5
test: test MCPConfiguration
Xb2555 Jul 15, 2025
472254b
test: test FastJsonUndoLogParser
Xb2555 Jul 15, 2025
5487cb8
fix: Restructure the test directory structure
Xb2555 Jul 15, 2025
6510c6c
fix: Format repair
Xb2555 Jul 18, 2025
841e403
feat: Server side run log analysis function preview test
Xb2555 Jul 18, 2025
a67f862
feat: Refactor properties property class names
Xb2555 Jul 24, 2025
962f7c3
fix: Replace the seata version with the stable version 2.5.0
Xb2555 Jul 24, 2025
e50fd3a
feat: Join the prompt registration test
Xb2555 Jul 24, 2025
6943848
feat: Implement the log file reading interface on the server side
Xb2555 Jul 24, 2025
8740560
fix: add license
Xb2555 Jul 24, 2025
da8fb15
feat: Implement the server log acquisition interface
Xb2555 Jul 25, 2025
b79a91c
feat: Implement the server-side log analysis tool function
Xb2555 Jul 25, 2025
1d171fd
fix: Test small modifications
Xb2555 Jul 25, 2025
17ec7b7
optimize: Optimized the server-side log retrieval function
Xb2555 Aug 8, 2025
1e39aeb
feat: Added whether mcp has enabled OAuth verification attributes, an…
Xb2555 Aug 9, 2025
e53faa4
fix: The log file name is initialized with the default server startup…
Xb2555 Aug 9, 2025
66bd013
optimize: Optimized the MCP service start-stop interface to obtain se…
Xb2555 Aug 9, 2025
584df84
feat: Added a tool interface to obtain the namespaces of all register…
Xb2555 Aug 11, 2025
c8b6b19
feat: All tools that call interfaces from TC nodes specify the namesp…
Xb2555 Aug 11, 2025
e1631c8
fix: Fixed a syntax error caused by null parameters when querying a s…
Xb2555 Aug 11, 2025
ccea71a
optimize: When obtaining server log data, the total number of rows in…
Xb2555 Aug 11, 2025
c0beba3
optimize: Modify the business database header in the namingserver con…
Xb2555 Aug 13, 2025
dc5482b
optimize: When the maximum query time interval is exceeded, the maxim…
Xb2555 Aug 13, 2025
1456cc8
fix: Fixed a syntax error where the spliced SQL statement lacked AND …
Xb2555 Aug 13, 2025
8053cab
feat: Move the namingserver forwarding of mcp's TC-related interface …
Xb2555 Aug 14, 2025
a7c5e7d
feat: Add a JavaTimeModule to jackson and support dateTime serialization
Xb2555 Aug 14, 2025
8997bd1
feat: Move the namingserver forwarding of mcp's TC-related interface …
Xb2555 Aug 14, 2025
0454843
fix: Improved the undolog query function, and fixed a bug that caused…
Xb2555 Aug 14, 2025
623f2be
fix: Overall code formatting changes
Xb2555 Aug 15, 2025
1c1c66d
fix: Cancel the import of jackson's javaTime module and fix the bug t…
Xb2555 Aug 15, 2025
990b462
fix: Fixed a bug where the AND connection was missing when splicing t…
Xb2555 Aug 16, 2025
2dcd019
fix: Fixed a bug where the file contents could not be read after read…
Xb2555 Aug 16, 2025
0b0f657
fix: Fixed a bug where the necessary deletion parameters were missing…
Xb2555 Aug 16, 2025
1e9799f
optimize: Regarding the undoLog parsing of AT mode, it is temporarily…
Xb2555 Aug 16, 2025
07b7aca
feat: Added prompt-related functions to implement basic prompt functi…
Xb2555 Aug 17, 2025
c8f154d
feat: The tested streamableHttp transmission function is added, and t…
Xb2555 Aug 18, 2025
83cf85b
feat: Under Streamable, add a new configuration for heartbeat interval
Xb2555 Aug 19, 2025
813b778
feat: Add comments to the corresponding configuration parameters of t…
Xb2555 Aug 19, 2025
74595cf
fix: After the project code changes, the corresponding test class is …
Xb2555 Aug 19, 2025
cf6e5dc
optimize: Filtration related not eligible to get processed by all Bea…
Xb2555 Aug 19, 2025
888fb91
feat:Improved the keepAlive heartbeat mechanism in MCP to automatical…
Xb2555 Aug 19, 2025
a57610b
fix: Close the session connection after the heartbeat fails
Xb2555 Aug 20, 2025
361b5b7
optimize: Eliminate interrupt IO exceptions for sending messages to d…
Xb2555 Aug 20, 2025
e84d66c
feat: Added a tool to convert the string date to the long timestamp f…
Xb2555 Aug 21, 2025
69e4327
optimize: The results returned by the global lock query are wrapped i…
Xb2555 Aug 21, 2025
1939d90
optimize: It is forbidden to directly query undolog data in a busines…
Xb2555 Aug 21, 2025
c8eee17
feat: Excel table generation tool that implements custom table headers
Xb2555 Aug 21, 2025
398b099
optimize: Integrate report parameters into a param to directly export…
Xb2555 Aug 21, 2025
959f625
optimize: When exporting an Excel report, check the file path
Xb2555 Aug 22, 2025
3517cf8
fix: remove the excel export feature
Xb2555 Aug 22, 2025
5aa89b9
optimize: A business data source automatically creates a correspondin…
Xb2555 Aug 22, 2025
3669651
optimize: Convert the creation and modification time of the GlobalLoc…
Xb2555 Aug 22, 2025
97514b2
optimize: Implement the datetime string feature where all query retur…
Xb2555 Aug 22, 2025
df48b77
fix: Move the undolog judgment in query SQL to the query method
Xb2555 Aug 22, 2025
6d753d9
fix: Fixed a bug where the long type parameter could not be called wh…
Xb2555 Aug 22, 2025
75fb027
optimize: Query the service database and add a prompt to the LLM to g…
Xb2555 Aug 22, 2025
2cd3738
fix: The maximum number of rows in a single query log is 1000
Xb2555 Aug 22, 2025
65b766e
fix: Fixed a bug where the result could not be queried at a specified…
Xb2555 Aug 22, 2025
b4b3d8b
optimize: Return the undolog data in the form of paginated results so…
Xb2555 Aug 24, 2025
85da56a
fix: McpServerManager change to MCPServerManager
Xb2555 Aug 26, 2025
641cde0
fix: add parameter free construction method
Xb2555 Aug 26, 2025
4ff294d
feat: DateUtils test class implementation
Xb2555 Aug 26, 2025
e689e3e
feat: MCPServerManager test class implementation
Xb2555 Aug 26, 2025
1ce9026
feat: MCPAutoRegister test class implementation
Xb2555 Aug 26, 2025
a7ed198
optimize: Changed the default heartbeat interval for streamable trans…
Xb2555 Aug 26, 2025
93147ec
fix: user to start with a capital letter
Xb2555 Aug 26, 2025
69022e4
feat: Implement the basic functions of resource
Xb2555 Aug 28, 2025
2e1d605
optimize: Optimized global transaction queries to support string time…
Xb2555 Aug 30, 2025
5d67dfb
optimize: Optimized global lock queries to query with datetime strings
Xb2555 Aug 30, 2025
097776e
fix: Skip this data wrapper when querying empty data
Xb2555 Aug 30, 2025
550e6d5
fix: Fix the matching rules in the generated countSql method in PageU…
Xb2555 Sep 1, 2025
9797d95
style: apply spotless formatting
Xb2555 Sep 1, 2025
bc7728b
optimize: UndoLog analysis returns detailed data and supports pagination
Xb2555 Sep 1, 2025
391a2a2
feat: Netty HTTP request handler increase the stream transport way
Xb2555 Sep 3, 2025
567067c
feat: Delete the original method of reading server running logs by ro…
Xb2555 Sep 3, 2025
13acfe4
feat: Implement server-side streaming of big data server logs
Xb2555 Sep 5, 2025
401d735
feat: Implement MCP-Console to stream and receive server-side big dat…
Xb2555 Sep 5, 2025
f3bd06a
style: apply spotless formatting
Xb2555 Sep 5, 2025
c40e846
feat: Complete the function of streaming big data log files on the se…
Xb2555 Sep 7, 2025
64c77ae
feat: Enable the console side to stream the server-side large data vo…
Xb2555 Sep 7, 2025
a48cdeb
optimize: Optimized the server-side streaming log file sending functi…
Xb2555 Sep 9, 2025
34bcbf6
optimize: Optimized the server-side streaming log file sending functi…
Xb2555 Sep 9, 2025
de24bb2
optimize: Use the StringUtils.indexOf method to improve the efficienc…
Xb2555 Sep 9, 2025
2486ea1
optimize: Optimize the service data source configuration of MCP to a …
Xb2555 Sep 10, 2025
a40cac2
feat: Implement the ability to configure business data sources on the…
Xb2555 Sep 12, 2025
86e61d8
optimize: Merge the MCP authentication filter with the business data …
Xb2555 Sep 12, 2025
a13fd05
optimize: Avoid repeated data source parameter parsing and configurat…
Xb2555 Sep 12, 2025
f19b125
Merge remote-tracking branch 'origin/summer_code_mcp_server' into sum…
Xb2555 Sep 14, 2025
151dad6
feat: Added functions such as checking the necessary parameters of bu…
Xb2555 Sep 14, 2025
a44da93
optimize: During the startup phase, if the business database paramete…
Xb2555 Sep 14, 2025
078b1d1
optimize: Determine the compliance of the business data source parame…
Xb2555 Sep 14, 2025
32f3541
optimize: Simplify the method of obtaining the endpoint path for the …
Xb2555 Sep 14, 2025
2cdde34
style: apply spotless formatting
Xb2555 Sep 14, 2025
f733d9a
optimize: Undolog analysis to determine whether the context serializa…
Xb2555 Sep 14, 2025
ca86f34
fix: Fixed a bug where the total number of data items was obtained wh…
Xb2555 Sep 14, 2025
741ed9d
style: Delete my own database configuration parameters
Xb2555 Sep 14, 2025
ed4f18d
style: Delete my own database configuration parameters
Xb2555 Sep 15, 2025
d9d9a1a
style: Change the Console-MCP log prompt
Xb2555 Sep 15, 2025
ca6b796
fix: Deletes the vGroup invalid parameter of the global transaction q…
Xb2555 Sep 15, 2025
afb0700
fix: Add paging parameter size limit detection to global lock/global …
Xb2555 Sep 15, 2025
a799b28
fix: When encountering undolog format not supported, the entire undol…
Xb2555 Sep 15, 2025
09353f8
fix: When obtaining server running logs, all the incoming keywords ma…
Xb2555 Sep 15, 2025
2a1ffb8
style: apply spotless formatting
Xb2555 Sep 15, 2025
3091263
optimize: add license header
Xb2555 Sep 15, 2025
e39f2cd
optimize: add changes
Xb2555 Sep 15, 2025
3bf3821
optimize: Improve the modification confirmation tool and force LLMs t…
Xb2555 Sep 16, 2025
31fe4c3
optimize: Add a parameter size limit for the number of connections to…
Xb2555 Sep 16, 2025
d75905b
optimize: The authentication configuration in the MCP server configur…
Xb2555 Sep 16, 2025
36ad4eb
Merge branch 'apache:2.x' into summer_code_mcp_server
Xb2555 Sep 20, 2025
eca7648
optimize: add MIT and Apache licenses to the MCP SDK source code
Xb2555 Sep 20, 2025
bf314ce
fix: fix the okhttp dependency in common pom added twice
Xb2555 Sep 20, 2025
42d738e
fix: fix the change version of tomcat in the console pom file
Xb2555 Sep 20, 2025
23e655f
fix: fix the use of .* in JwtTokenUtils
Xb2555 Sep 20, 2025
b517e16
optimize: Modify the description of the Get Server Log Tool to enable…
Xb2555 Sep 20, 2025
e770907
style: apply spotless formatting
Xb2555 Sep 20, 2025
809b914
optimize: Modify Get modifier token tool description so that LLMs can…
Xb2555 Sep 21, 2025
a94d47d
style: Modify the business data source configuration field to match t…
Xb2555 Sep 21, 2025
a19bb08
style: add MIT License year
Xb2555 Sep 22, 2025
c0b5e99
optimize: Delete the useless method
Xb2555 Sep 22, 2025
6d1abc9
feat: Resolves conflicts with base branch
Xb2555 Sep 23, 2025
cb5cdbe
fix: Fixed 10 unclear meaning of filter priorities in MCPFilter
Xb2555 Sep 23, 2025
cfaab43
fix: Fixed use .* problem
Xb2555 Sep 23, 2025
94b7b92
fix: Fixed server application.yml register The seata issue is not inc…
Xb2555 Sep 23, 2025
7bc83ad
fix: Delete useless heartbeat sending
Xb2555 Sep 24, 2025
b5919f2
fix: Delete the code that is not used in the MCP SDK source code
Xb2555 Sep 24, 2025
c51f421
fix: Optimize import
Xb2555 Sep 24, 2025
6856c30
optimize: Removed the MCP server feature support code for Prompt and …
Xb2555 Sep 24, 2025
aa5bf3a
optimize: Removed the MCP SDK Unused code
Xb2555 Sep 24, 2025
b334852
optimize: Removed Useless comments
Xb2555 Sep 24, 2025
b174f10
optimize: Removed the function configuration parameters for prompt an…
Xb2555 Sep 24, 2025
144110d
style: apply spotless formatting
Xb2555 Sep 25, 2025
3662d48
optimize: Delete useless code and classes
Xb2555 Sep 25, 2025
bbd2a2e
optimize: Delete useless code and classes
Xb2555 Sep 27, 2025
74d3be4
optimize: Open the original comment
Xb2555 Sep 27, 2025
bc41f30
optimize: turn page num to page size
Xb2555 Sep 27, 2025
a000de0
optimize: Addresses the issue of not handling endTime less than start…
Xb2555 Sep 27, 2025
fd9ae25
optimize: Fixed an issue where automatically deleting the WHERE claus…
Xb2555 Sep 27, 2025
c890331
optimize: Remove some unwanted lines of code
Xb2555 Sep 27, 2025
b6f02b2
style: apply spotless formatting
Xb2555 Sep 27, 2025
e62211f
optimize: Transfer the tool class call service of transactions and lo…
Xb2555 Sep 28, 2025
d9a41f8
style: Delete useless comments
Xb2555 Sep 28, 2025
8953ceb
style: The tool that changes the global transaction state is modified
Xb2555 Sep 28, 2025
6efc698
optimize: Optimize the code so that the amount of code is reduced whe…
Xb2555 Sep 28, 2025
8c698ac
style: apply spotless formatting
Xb2555 Sep 28, 2025
3615d58
optimize: Delete the method of updating the business database in the …
Xb2555 Oct 7, 2025
f768a09
fix: Delete the default value of the Business Data Source URL field
Xb2555 Oct 9, 2025
d44c111
fix: Delete GlobalExceptionStatus and use the original Status class i…
Xb2555 Oct 9, 2025
9900359
fix: Deletes the attribute value of whether the useless MCP service i…
Xb2555 Oct 9, 2025
afa68ed
fix: Plus the TODO for downloading the breakpoint log file
Xb2555 Oct 9, 2025
7351d1b
fix: Deletes unused modified SQL judgment patterns
Xb2555 Oct 9, 2025
84d0279
feat: Implement the MCPServerConfig class test
Xb2555 Oct 10, 2025
bd92ab6
feat: Implement the MCPServerManager class test
Xb2555 Oct 10, 2025
d57ff34
feat: Implement the Config package test
Xb2555 Oct 10, 2025
a8be690
feat: Implement the BusinessDataSourceTools test
Xb2555 Oct 10, 2025
6ea53b5
feat: Delete DateUtilTools
Xb2555 Oct 10, 2025
d9e08ca
feat: Implement the GlobalLockTools test class
Xb2555 Oct 10, 2025
a62e7d0
feat: Implement the BranchSessionTools test class
Xb2555 Oct 10, 2025
53cbb65
feat: Implement the ControlMcpController test class
Xb2555 Oct 10, 2025
31ac930
feat: Implement the ModifyConfirmServiceImpl test class
Xb2555 Oct 10, 2025
9fed0ca
feat: Implement the GlobalSessionTools test class
Xb2555 Oct 10, 2025
ff1d6ec
feat: Optimize the ControlMcpControllerTest class
Xb2555 Oct 10, 2025
4fcf1f9
feat: Implement the ModifyConfirmTools test class
Xb2555 Oct 10, 2025
c9fe89a
feat: Optimize the Import format
Xb2555 Oct 10, 2025
dd53e97
feat: Implement the test class of ServerLogTools
Xb2555 Oct 10, 2025
9ba6be7
feat: Implement the test class of UndoLogTools
Xb2555 Oct 10, 2025
0b68fe4
feat: Remove unnecessary exception throws
Xb2555 Oct 12, 2025
272d314
feat: Implement the MCPAutoRegister test class
Xb2555 Oct 12, 2025
d456859
feat: Implement the BusinessDataSourceServiceImpl test class
Xb2555 Oct 12, 2025
9fe01bb
feat: Implement the MCPRPCService test class
Xb2555 Oct 12, 2025
fa915e4
feat: Implement the ServerLogService test class
Xb2555 Oct 12, 2025
f386c04
feat: Implement the UndoLogService test class
Xb2555 Oct 12, 2025
1861c70
feat: Move the test class location under the service test package
Xb2555 Oct 14, 2025
35f0a57
feat: Implement breakpoint incremental server log download
Xb2555 Oct 15, 2025
36bba12
style: apply spotless formatting
Xb2555 Oct 15, 2025
8450997
feat: Delete methods that aren't tested
Xb2555 Oct 15, 2025
a124840
feat: Delete useless TODO comments
Xb2555 Oct 16, 2025
ba69c35
feat: Delete the sample URL in the configuration file
Xb2555 Oct 16, 2025
dc41f29
feat: Add the license header
Xb2555 Oct 16, 2025
e043ced
optimize: Change the keyword parameter type obtained from serverLog t…
Xb2555 Oct 16, 2025
da863b8
optimize: Change the log file to the same day as the date of the judg…
Xb2555 Oct 16, 2025
bd147d4
fix: Fixed a bug where keyword parameters were changed to null in Ser…
Xb2555 Oct 26, 2025
36bf6a0
feat: Changed the original token verification method of MCP to accoun…
Xb2555 Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/en-us/2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#7509](https://github.com/apache/incubator-seata/pull/7509)] Reuse connection to merge branch transactions
- [[#7492](https://github.com/apache/incubator-seata/pull/7492)] upgrade HTTP client in common module to support HTTP/2
[[#7551](https://github.com/apache/incubator-seata/pull/7551)] XAUtils add support for DM Database
- [[#7637](https://github.com/apache/incubator-seata/pull/7637)] The Console module implements the MCP server

### bugfix:

Expand Down
1 change: 1 addition & 0 deletions changes/zh-cn/2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- [[#7509](https://github.com/apache/incubator-seata/pull/7509)] 复用连接合并分支事务
- [[#7492](https://github.com/apache/incubator-seata/pull/7492)] 升级 common 模块中的 HTTP 客户端以支持 HTTP/2
- [[#7551](https://github.com/apache/incubator-seata/pull/7551)] XAUtils支持达梦数据库
- [[#7637](https://github.com/apache/incubator-seata/pull/7637)] Console模块实现MCP服务器


### bugfix:
Expand Down
63 changes: 61 additions & 2 deletions console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
<spring-framework-for-server.version>5.3.39</spring-framework-for-server.version>
<snakeyaml-for-server.version>2.0</snakeyaml-for-server.version>
<tomcat-embed.version>9.0.108</tomcat-embed.version>
<mysql8.version>8.0.27</mysql8.version>
<json-schema.version>1.5.7</json-schema.version>
<poi.version>3.17</poi.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -160,19 +163,75 @@
<artifactId>jjwt-jackson</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.seata</groupId>
<artifactId>seata-common</artifactId>
<artifactId>seata-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql8.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test-autoconfigure</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
<version>${json-schema.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
<workingDirectory>src/main/resources/static/console-fe</workingDirectory>
</configuration>
<executions>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*
* ------------------------------------------------------------------------
* This file contains code originally from the [Model Context Protocol Java SDK],
* which is licensed under the MIT License.
*
* The original MIT license text is reproduced below:
* ------------------------------------------------------------------------
*/

/*
* MIT License
* Copyright (c) 2025 the original author or authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

package io.modelcontextprotocol.server;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
* Default implementation for {@link McpTransportContext} which uses a Thread-safe map.
* Objects of this kind are mutable.
*
* @author Dariusz Jędrzejczyk
*/
public class DefaultMcpTransportContext implements McpTransportContext {

private final Map<String, Object> storage;

/**
* Create an empty instance.
*/
public DefaultMcpTransportContext() {
this.storage = new ConcurrentHashMap<>();
}

DefaultMcpTransportContext(Map<String, Object> storage) {
this.storage = storage;
}

@Override
public Object get(String key) {
return this.storage.get(key);
}

@Override
public void put(String key, Object value) {
this.storage.put(key, value);
}

/**
* Allows copying the contents.
* @return new instance with the copy of the underlying map
*/
public McpTransportContext copy() {
return new DefaultMcpTransportContext(new ConcurrentHashMap<>(this.storage));
}
}
Loading