Skip to content

fix: Problems with MCP #190 - #202

Merged
groksrc merged 2 commits into
mainfrom
fix/mcp-hub
Jul 1, 2025
Merged

groksrc merged 2 commits into
mainfrom
fix/mcp-hub

Conversation

@groksrc

@groksrc groksrc commented Jul 1, 2025

Copy link
Copy Markdown
Member

Summary

  • Fixed FastMCP validation errors when using Basic Memory with MCP-Hub
  • Renamed functions to match tool decorator names for proper validation
  • Resolves issue [BUG] Problems with MCP #190

Problem

When using Basic Memory through MCP-Hub, the list_memory_projects and create_memory_project tools were failing with Pydantic validation errors. FastMCP requires that function names match the tool decorator names exactly.

Solution

  • Renamed list_projects() to list_memory_projects()
  • Renamed create_project() to create_memory_project()
  • Updated imports and exports accordingly

Test plan

  • Built Docker image with changes
  • Tested all 19 MCP tools through direct connection - all pass
  • Verified the specific failing tools now work correctly
  • No breaking changes to existing functionality

Fixes #190

groksrc added 2 commits July 1, 2025 00:28
…nctions

- Renamed list_projects() to list_memory_projects()
- Renamed create_project() to create_memory_project()
- Updated imports and exports accordingly
- Fixed test environment variable isolation

Fixes #190

Signed-off-by: Drew Cain <groksrc@gmail.com>
Signed-off-by: Drew Cain <groksrc@gmail.com>
@groksrc
groksrc requested a review from phernandez July 1, 2025 14:17
@groksrc
groksrc merged commit bd4f551 into main Jul 1, 2025
@groksrc
groksrc deleted the fix/mcp-hub branch July 1, 2025 15:50
@vk2r vk2r mentioned this pull request Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Problems with MCP

2 participants