MCP Tool Creation - Error

Hello,

I have FileMaker Server and OttoFMS running on a remote Windows server. I have to use VPN to connect a FileMaker pro client. When trying to setup an MCP Tool I am not getting the list of scripts available and the selection box does not allow me to click into it. The server has a valid SSL properly setup and other methods allow OData connections. What could I be missing that is causing this? The account that was used to setup the Data API Key has both the fmrest and odata privilege enabled.

Hey Charlie,

OttoFMS is making that OData request right from your browser through the OttoFMS proxy. Does it show you an error when you make that request? You can also open up your browsers dev-tools (right click and click inspect) then go to the network tab to see the request as it gets made and check what error it might be sending back.

-Kyle

Hi Kyle,
Thanks for the quick response. When I opened the dev-tools in my browser it show Scripts (pending…) when loading the MCP tools page. It never changes from pending. I don’t get a time out error, or I don’t see one.

Thanks,
Charlie M.

Hmm it sounds like the browser isn’t connecting properly. How else have you tried to make the request?

-Kyle

No other attempts were tried. I did try to create a Trigger from a FileMaker table but the table list would not load either.

Hello,

Thanks for dropping by Office Hours today.

I think we do have a work-a-round for this. You can set an Environmental flag to force the proxies to go through 127.0.0.1, which should resolve your problem.

Here are the docs for how to set that up.

Let us know if that helps or if you need more help.

Thanks

Todd

Thanks for providing your guidance on this. Our IT team determined that the loop-back through the firewall was the root cause of our issue. It is good to know that I can control OttFMS behavior with the .env configuration.

The issue has been fixed and the MCP Server is configured with tools. Thanks!

1 Like