#How to use Nabox-harvest MCP.

1 messages · Page 1 of 1 (latest)

rotund fable
#

Hello folks ,
Just updated NAbox v4.2.0 (f2056a6) , Harvest 26.02.0 and i see there is an internal harvest MCP available ... the problem is i dont understand how to use it ...

I tried to add it as it is but with the nabox ip :
claude mcp add --transport http harvest-mcp http://nabox/mcp/harvest/

It does not authenticate ; how do i create the authentication ?

Regards,
Alex.

thin hound
#

The following works for me in VSCode. You need to add a bearer token. @opaque needle

        "harvest-mcp-http-local": {
            "type": "http",
            "url": "http://nabox_ip/mcp/harvest/",
            "headers": {
                "Authorization": "Bearer abc"
            }
        },
opaque needle
#

You create a token for mcp servers in security preferences.

#

You’re right the doc is missing.

rotund fable
#

Ok thanks @thin hound and @opaque needle ; so basically you have to go in Harvest under security and create a api-token

#

please update the doc :) it is hard to make it out initally

opaque needle
#

That looks like it. Don't forget to specify the scope

rotund fable
#

yes it has a good selection default to all :D

opaque needle
#

Security first !

rotund fable
#

this is sandbox demo environment ; i want to test things out

#

i integrated also the AI chatbot with openrouter and with a local llm ; the syntax there is a bit strange als o

#

it is /v1 not /api/v1

#

it is functional with local llm also the same idea.

opaque needle
#

in this case you're using the LLM proxy setting ?

rotund fable
#

for local llm looks like this

#

it works :)

opaque needle
#

\o/

rotund fable
#

the idea is i thought it needs authenticaion somehow but i did not understand what to do ( for harvest-mcp )

#

and in fact in the security it option it gives the hint but i did not put it together :D