Skip to content

Mcp connectivity#6

Merged
nithinjamespallicka merged 14 commits intomainfrom
mcp-connectivity
Aug 18, 2025
Merged

Mcp connectivity#6
nithinjamespallicka merged 14 commits intomainfrom
mcp-connectivity

Conversation

@kostisd
Copy link
Contributor

@kostisd kostisd commented Aug 15, 2025

Description

Related Issues

Documentation PR

Type of Change

Bug fix
New feature
Breaking change
Documentation update
Other (please describe):

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: datu-docs

  • I ran hatch run prepare

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • I have Included towncrier changelogs.
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kostisd kostisd requested a review from a team August 15, 2025 14:47
@github-actions github-actions bot added the backend Backend PR label Aug 15, 2025
Copy link
Contributor

@nithinjamespallicka nithinjamespallicka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This MCP client/server is having problems making the decision. Please look at the screenshots. The AI agent is always using the SQL generator tool and not even responding to greeting or liveness. We need to do some tuning on this. Application is taking so long to respond. I suggest keep the mcp server enabling disabled as default and tune this later.

Image Image

@nithinjamespallicka
Copy link
Contributor

nithinjamespallicka commented Aug 16, 2025

@kostisd Please include changelog as well. Also in build.yaml workflow we need to update the python version to 3.10 to make the release.

@github-actions github-actions bot added the docs Documentation related PR label Aug 16, 2025
@kostisd
Copy link
Contributor Author

kostisd commented Aug 16, 2025

This MCP client/server is having problems making the decision. Please look at the screenshots. The AI agent is always using the SQL generator tool and not even responding to greeting or liveness. We need to do some tuning on this. Application is taking so long to respond. I suggest keep the mcp server enabling disabled as default and tune this later.

Image Image

@nithinjamespallicka this PR is identical to https://github.com/Datuanalytics/datu-analytics/pull/107.
If there are any missing components let me know, but locally I can run and get responses from the MCP server without issues on datu-core (see screenshots and logs). The SQL generation is implemented as a service and an MCP tool. If the speed of mcp-use is a blocker, we can refactor it and call it as a service but this will require some refactoring. The behaviour of the prompt is something we can tune, but right now it connects to the sql_generator by default and sends user requests there unless connected to and instructed to use another tool.

Screenshot 2025-08-16 at 6 39 33 PM Screenshot 2025-08-16 at 6 41 04 PM Screenshot 2025-08-16 at 6 39 00 PM Screenshot 2025-08-16 at 6 37 57 PM

datu_core_logs.txt

@nithinjamespallicka
Copy link
Contributor

@kostisd This requires refactoring . if you start with hi in your application then application is not able to make any proper outputs.

@nithinjamespallicka
Copy link
Contributor

@kostisd Please include changelog as well. Also in build.yaml workflow we need to update the python version to 3.10 to make the release.

I did changes to 3.11 in this PR

@kostisd
Copy link
Contributor Author

kostisd commented Aug 18, 2025

@kostisd This requires refactoring . if you start with hi in your application then application is not able to make any proper outputs.

I pushed a prompt update for an opening question greeting and listing available tools. For further refactoring, e.g. functionality with MCP disabled we need to clarify requirements and flow.

Screenshot 2025-08-18 at 7 22 44 AM Screenshot 2025-08-18 at 7 17 38 AM

@nithinjamespallicka nithinjamespallicka self-requested a review August 18, 2025 16:45
@nithinjamespallicka nithinjamespallicka merged commit c088bb8 into main Aug 18, 2025
7 checks passed
@nithinjamespallicka nithinjamespallicka deleted the mcp-connectivity branch August 18, 2025 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend PR docs Documentation related PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants