Back to Home
arifdegirmenci icon

mcp_server

Verified Safe

by arifdegirmenci

Overview

A simple MCP server that retrieves bank accounts from the TreasuryPath API and enables question-answering using an Ollama LLM.

Installation

Run Command
python3 server.py

Environment Variables

  • TREASURY_API_KEY
  • TREASURY_API_SECRET
  • COMPANY_ID
  • BASE_URL
  • OLLAMA_BASE_URL
  • OLLAMA_MODEL

Security Notes

Sensitive API keys (TREASURY_API_KEY, TREASURY_API_SECRET) are loaded from a .env file, which is good practice. The server and Ollama instance are configured to run on localhost by default, limiting external network exposure. User input for LLM questions is combined with structured bank account data (rather than raw data), which helps mitigate basic prompt injection, but does not eliminate all potential LLM prompt injection risks. No obvious 'eval' or direct arbitrary code execution from user input is present in the provided code snippets.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-03

Tags

TreasuryPath APIOllama LLMBank AccountsAPI ServerAILLM