open-nav
    Preparing search index...

    Interface NavMcpOptions

    MCP server for the Online Számla invoice service.

    Shaped for an agent rather than for a person. Three things follow from that:

    • Tools that need no credentials are always registered, so an agent can validate and render invoices before anyone has a technical user.
    • Tools that reach NAV are registered only when credentials are present, so an agent is never offered a tool that cannot work, and never has to discover that by calling it.
    • Every result is structured content, not prose, and a validation failure is a normal result rather than an error: the fault list is the answer.
    interface NavMcpOptions {
        baseUrl?: string;
        createClient?: (options: { credentials: NavCredentials }) => NavClient;
        credentials?: NavCredentials;
        environment?: "test" | "production";
        software?: SoftwareType;
    }
    Index
    baseUrl?: string
    createClient?: (options: { credentials: NavCredentials }) => NavClient

    Injected for tests.

    credentials?: NavCredentials

    Credentials. Omit to run with the offline tools only.

    environment?: "test" | "production"
    software?: SoftwareType