Back to Home
Traia-IO icon

test-nikola-2-mcp-server

Verified Safe

by Traia-IO

Overview

An MCP server providing a standardized interface for AI agents and LLMs to interact with the Test Nikola 2 API, leveraging the D402 payment protocol.

Installation

Run Command
docker-compose up

Environment Variables

  • PORT
  • STAGE
  • LOG_LEVEL
  • SERVER_ADDRESS
  • MCP_OPERATOR_PRIVATE_KEY
  • MCP_OPERATOR_ADDRESS
  • D402_FACILITATOR_URL
  • D402_FACILITATOR_API_KEY
  • D402_TESTING_MODE
  • NETWORK
  • DEFAULT_SETTLEMENT_TOKEN
  • DEFAULT_SETTLEMENT_NETWORK

Security Notes

The server includes a `D402PaymentMiddleware` for payment verification, enhancing economic security. However, it configures CORS to `allow_origins=['*']`, `allow_methods=['*']`, and `allow_headers=['*']`, which is overly permissive and generally not recommended for production environments as it can expose the API to unauthorized cross-origin requests. Environment variables for sensitive data like `MCP_OPERATOR_PRIVATE_KEY` are used, which is good practice, but the `run_local_docker.sh` script generates *temporary* keys for local testing, requiring users to ensure proper, secure key management for production deployment. No direct use of `eval` or `exec` with untrusted input was found.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens50
Stars0
Forks0
Last Update2025-12-10

Tags

mcpai agentsllm toolsapi integrationd402 payment