MCP Function: how can the documentation can found?

rolsch a month ago

From the blog:

MCP service that you can use in ChatGPT and other AI assistants.
For now the only available function is querying the current device position.
This is a very experimental feature.
Please provide feedback on how useful this is and what tools you would like to be available via MCP.

Yes, maybe i search the doc for this feature :-)

rolsch a month ago

...and Feedback for MCP:

The possibility for an MCP Service:

Historical routes:
“Show me the trip of device xy on exact date or week or month or last trip...”
"When was my vehicle in city xy"
"When was my vehicle in country xy""

Actual route
"When will vehicle xy reach its home base"
...

Anton Tananaev a month ago

The URL for MCP is:

{baseUrl}/api/mcp
SwayDev a month ago

Hope its okay to add the question here, in terms of how to configure it.

In ChatGPT while adding a connector after authentication it redirects to this URI.

http://127.0.1.1:8082/api/oidc/authorize?response_type=code&client_id=a

Why is it redirecting a 127.0.1.1,

The configuration is enabled: <entry key='web.mcp.enable'>true</entry>

However, is there something else that needs to be configured as well for the authentication to work, what am I missing please advise.

Anton Tananaev a month ago

Probably because you haven't set web.url.

Anton Tananaev a month ago

For OAuth to work, you also need to configure client id and client secret. Check config documentation.

Thatguy 2 days ago

Have we got any documentation on how to implement this please?

Anton Tananaev 2 days ago

Which part?

Thatguy 2 days ago

All of it - to make sure I am following it correctly.

I have made changes to the XML by adding.

<entry key='web.mcp.enable'>true</entry>
<entry key='web.url'>https://myurlhere.co.uk</entry>

I have gone to chatgpt and added in the basic details using my actual URL but all I seem to get it a blank white page on the webgui

{baseUrl}/api/mcp

Kind Regards

Anton Tananaev 2 days ago

What is the real URL you're using in ChatGPT?

Thatguy 2 days ago

I am using https://locate.mydomain.co.uk/api/mcp and selecting no auth.

I get the error below but I don't get what authentication it needs as I haven't specified any authentication in the XML file or the chatgpt connector settings just to prove it works

Client error '401 Unauthorized' for url 'https://mydomain.co.uk/api/mcp' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
Anton Tananaev 2 days ago

Why would you select no auth?

Thatguy 2 days ago

I was looking to test it with minimal security which would not be the long term.

So reading above I need to set up using oauth? Have you got a summary of steps to follow to get it working?

Kind Regards

Anton Tananaev 2 days ago

You have to set up oauth. There's no dedicated documentation beyond what you see in this thread and the config doc.