Back to Home
isakskogstad icon

personupplysning-mcp

Verified Safe

by isakskogstad

Overview

Provides a Model Context Protocol (MCP) server for accessing Swedish company data and financial reports from Bolagsverket API, with local caching in Supabase.

Installation

Run Command
npm start

Environment Variables

  • NODE_ENV
  • MCP_TRANSPORT
  • PORT
  • HOST
  • SUPABASE_URL
  • SUPABASE_SERVICE_ROLE_KEY
  • BOLAGSVERKET_CLIENT_ID
  • BOLAGSVERKET_CLIENT_SECRET
  • NODE_OPTIONS
  • LOG_LEVEL

Security Notes

The server employs comprehensive input validation using Zod schemas with regex patterns to prevent XSS and SQL injection. Error responses are structured, and stack traces are suppressed in production to prevent information leakage. Environment variables are validated on startup to ensure critical configurations are present. OAuth2 token management includes caching and refresh mechanisms. CORS is configured with `origin: '*'` which is typical for public APIs but could be narrowed if clients are known. An architectural inconsistency exists regarding the primary MCP transport (HTTP JSON-RPC vs. SSE) and endpoints (`/mcp` vs `/sse` and `/messages`), which might lead to confusion but doesn't inherently pose a security vulnerability.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens1500
Stars0
Forks0
Last Update2025-12-01

Tags

MCPBolagsverketSwedish Company DataSupabaseAPI Cache