Back to Home
andreasklae icon

MCP_server_for_apis

Verified Safe

by andreasklae

Overview

Provides a Model Context Protocol (MCP) server for Norwegian cultural heritage APIs, enabling AI agents to query Wikipedia, Store Norske Leksikon, and Riksantikvaren databases.

Installation

Run Command
docker compose up --build

Environment Variables

  • MCP_AUTH_TOKEN
  • OPENAI_API_KEY
  • AZURE_OPENAI_ENDPOINT
  • AZURE_OPENAI_DEPLOYMENT
  • AZURE_OPENAI_DEPLOYMENT_ROUTER
  • AZURE_OPENAI_API_VERSION
  • RATE_LIMIT_ENABLED
  • RATE_LIMIT_PER_MINUTE
  • CHAT_RATE_LIMIT_PER_HOUR
  • LOG_LEVEL
  • LOG_FORMAT
  • DEFAULT_TIMEOUT
  • GEO_API_TIMEOUT
  • SERVER_NAME
  • SERVER_VERSION

Security Notes

The server implements strong security measures including robust SSRF protection (`src/security/ssrf.py`) to prevent access to private IP ranges and cloud metadata endpoints. Authentication middleware (`src/security/auth.py`) is in place to protect sensitive endpoints with a configurable `MCP_AUTH_TOKEN`. Rate limiting (`src/utils/rate_limit.py`) is also implemented to mitigate abuse. Environment variables are used for sensitive information like API keys, preventing hardcoding. No 'eval' or obvious obfuscation was found.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens4000
Stars0
Forks0
Last Update2026-01-19

Tags

MCPOpenAI Agent BuilderNorwegian Cultural HeritageAPIsAI Agent Tools