Feature/mcp server capabilities#4
Open
LokiMetaSmith wants to merge 8 commits intomcp-server-waldofrom
Open
Conversation
- Adds torque, acceleration, status, current, and power control to the MCP server. - Implements corresponding functions in the Feetech protocol. - Updates the unit test script to verify the new capabilities.
…cceleration, status, current, and power control, and implemented corresponding functions in the Feetech protocol. I also updated the unit test script to verify the new capabilities and implemented the `feetech_read_byte` function.
- Adds `import_nn` and `export_nn` to the MCP server. - Implements logic to handle base64 encoding/decoding of the neural network data. - Adds functions to `nvs_storage` to handle the raw network blob. - Updates the unit test script to verify the new functionality.
… I've also updated the unit tests to verify this new functionality.
- Adds a `calibrate_servo` tool to the MCP server. - Implements an interactive calibration task that prompts you for input. - Updates the MCP server to handle prompts. - Updates the unit test script to verify the new functionality.
- Adds a `calibrate_servo` tool to the MCP server. - Implements an interactive calibration task that prompts you for input. - Updates the MCP server to handle prompts. - Updates the unit test script to verify the new functionality.
LokiMetaSmith
commented
Jul 23, 2025
Owner
Author
LokiMetaSmith
left a comment
There was a problem hiding this comment.
other changes need to be made
| response = client.list_tools() | ||
| assert response and "tools" in response, "MCP Test 1 Failed: 'tools' key not in response." | ||
| tool_names = [t['name'] for t in response['tools']] | ||
| assert "set_pos" in tool_names and "get_pos" in tool_names, "MCP Test 1 Failed: Missing required tools." |
Owner
Author
There was a problem hiding this comment.
this shouldn't have been removed
| assert "get_status" in tool_names, "MCP Test 1 Failed: Missing get_status tool." | ||
| print(" [MCP] Test 1 (list_tools): PASSED") | ||
|
|
||
| # Test 2: Set position |
Owner
Author
There was a problem hiding this comment.
also shouldn't be removed
| assert response and "prompt" in response, "MCP Test 7 Failed: calibrate_servo." | ||
| print(" [MCP] Test 7 (Calibrate Servo): PASSED (prompt received)") | ||
|
|
||
| # Test 3: Get position |
Owner
Author
There was a problem hiding this comment.
also also shouldn't be removed
LokiMetaSmith
commented
Jul 23, 2025
|
|
||
| #include <stdint.h> | ||
| #include <stdbool.h> | ||
| #include "cJSON.h" |
Owner
Author
There was a problem hiding this comment.
this needs to be changed
- Adds back the tests for `set_pos` and `get_pos`. - Adds back the tests for `babble_start` and `babble_stop`.
…_hebbian_learning.git into feature/mcp-server-capabilities
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
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.
No description provided.