MonkeyCanCode opened a new pull request, #84: URL: https://github.com/apache/polaris-tools/pull/84
Currently we need a third-party tool to be able to interact with MCP server (which can be costly if you have limited quota and result may not be consistent depends on the tools/models you are using), This PR adds a local MCP client for quick local testing. Small catch, when using STDIO transport (reading local python file as server), the provided examples will all failed due to they won't be able to get environment variables from parent process (this is detail called out in https://fastmcp.mintlify.app/clients/transports#stdio-transport). However, once https://github.com/apache/polaris-tools/pull/82 is in, this problem should go away as the server now then load from `.env` file on the same path and not depends on environment variables from parent process. Thus for the sample example, I put default to HTTP transport (SSE will also work). If preferred, we can change back to `STDIO` once related PR got merged. Also, once https://github.com/apache/polaris-tools/pull/83, I can add example for using diff realm. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
