-
Notifications
You must be signed in to change notification settings - Fork 21
Minimal MCP Server for tool calling codeflash with --file --function #653
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
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Enhancement
Description
Add asyncio client for
optimize_code
toolImplement MCP server with
optimize_code
endpointConfigure
TestConfig
andCoverageExpectation
Enable end-to-end
run_codeflash_command
Diagram Walkthrough
File Walkthrough
myclient.py
Add asyncio-based MCP client
myclient.py
Client
from fastmcpcall_tool
async functionoptimize_code
tool and print resultasyncio.run
for executionmyserver.py
Implement MCP server tool optimize_code
myserver.py
FastMCP
serveroptimize_code
tool implementationTestConfig
and coverage expectationsrun_codeflash_command
in tool