Add/mcp and visma (#547)

* fix: simplify COMING_SOON_PROVIDERS to include only bjornlunden and briox

* feat: add supplier creation functionality and related operations

* feat: reorder and enhance OAuth scopes in Visma integration

* feat: implement create supplier functionality with validation and risk tier management
This commit is contained in:
Mattsson
2026-05-21 01:25:18 +02:00
committed by GitHub
parent e4d4d8e4dc
commit e71b4a9138
12 changed files with 637 additions and 19 deletions
@@ -190,11 +190,7 @@ interface ConnectionStatus {
}
}
const COMING_SOON_PROVIDERS = new Set<ArcimProvider>(
process.env.NODE_ENV === 'development'
? ['bjornlunden', 'briox']
: ['visma', 'bjornlunden', 'briox']
)
const COMING_SOON_PROVIDERS = new Set<ArcimProvider>(['bjornlunden', 'briox'])
const PROVIDER_LOGOS: Record<ArcimProvider, string> = {
fortnox: '/logos/fortnox.svg',
+6 -1
View File
@@ -190,7 +190,12 @@ export function OAuthClientsPanel() {
<DialogHeader>
<DialogTitle>Registrera redirect URI</DialogTitle>
<DialogDescription>
Måste vara en exakt URL som börjar med https://. Den jämförs sedan ord-för-ord mot
Bara för egenbyggda MCP-klienter med en publik HTTPS-callback. Lägg{' '}
<span className="font-medium">inte</span> till{' '}
<code className="rounded bg-muted px-1 py-0.5 font-mono text-[11px]">localhost</code>{' '}
eller{' '}
<code className="rounded bg-muted px-1 py-0.5 font-mono text-[11px]">claude.ai</code>{' '}
— de fungerar redan utan registrering. URI:n jämförs ord-för-ord mot
redirect_uri-parametern i OAuth-flödet.
</DialogDescription>
</DialogHeader>