-
Notifications
You must be signed in to change notification settings - Fork 8.9k
feature: Implement the MCP server in the Console module. #7654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Xb2555
wants to merge
376
commits into
apache:summer-code-mcp-server
Choose a base branch
from
Xb2555:summer_code_mcp_server
base: summer-code-mcp-server
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feature: Implement the MCP server in the Console module. #7654
Xb2555
wants to merge
376
commits into
apache:summer-code-mcp-server
from
Xb2555:summer_code_mcp_server
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…til to safely match the from statement in the table name to avoid overwriting functions containing from
…w and change it to stream the current server running logs
…a logs, and perform filtering optimization strategies to minimize memory overhead
…lume log files, and realize the local cache log and then perform filtered reading
…on to achieve zero-copy streaming transmission
…on to achieve zero-copy streaming transmission
…mer_code_mcp_server # Conflicts: # server/src/main/java/org/apache/seata/server/console/impl/file/ServerLogFileServiceImpl.java
…y of log keyword matching
…thread-safe version to prevent thread security issues in a multi-threaded environment
…source configuration function into MCPFiltersConfig to avoid conflicts with the original filter
…ion caused by MCP clients constantly requesting the same data source configuration parameters
…e configuration class is automatically generated to facilitate the invocation of configuration parameters
…e configuration class is automatically generated to facilitate the invocation of configuration parameters
…alize the dynamic start-stop and heartbeat functions
…ool annotation, and support example scanning in param and type conversion of example_class_name
… MCP requests to the server
… MCP requests to the server
… common requests: GET, POST, DELETE, PUT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 129 out of 129 changed files in this pull request and generated 9 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
console/src/main/java/org/apache/seata/mcp/service/impl/MCPRPCServiceImpl.java
Show resolved
Hide resolved
console/src/main/java/org/apache/seata/mcp/store/SqlExecutionTemplate.java
Show resolved
Hide resolved
console/src/main/java/org/apache/seata/mcp/store/SqlExecutionTemplate.java
Show resolved
Hide resolved
server/src/main/java/org/apache/seata/server/console/impl/file/ServerLogFileServiceImpl.java
Show resolved
Hide resolved
core/src/main/java/org/apache/seata/core/rpc/netty/http/ChannelOutputStreamAdapter.java
Show resolved
Hide resolved
console/src/main/java/org/apache/seata/mcp/service/impl/ServerLogServiceImpl.java
Outdated
Show resolved
Hide resolved
console/src/main/java/org/apache/seata/mcp/service/impl/BusinessDataSourceServiceImpl.java
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ⅰ. Describe what this PR did
Control global transactions, branch transactions, and global locks
Provide business database access and processing capabilities. Users can configure database settings on the console and operate the database
Investigation of server-side logs or metrics to determine if there are any relevant abnormal information
Permission management, including authentication for databases and accessible transactions
MCP Server basic functions, such as hot configuration to control the start and stop of MCP Server, and support for the SSE protocol
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews