mcp_server
Verified Safeby arifdegirmenci
Overview
A simple MCP server that retrieves bank accounts from the TreasuryPath API and enables question-answering using an Ollama LLM.
Installation
python3 server.pyEnvironment 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
mcp-client-for-ollama
An interactive Python client for connecting local Ollama LLMs to Model Context Protocol (MCP) servers, enabling advanced tool use and workflow automation.
finance-trading-ai-agents-mcp
A specialized MCP server for financial analysis and quantitative trading, designed to deploy local financial MCP services with a departmental architecture for LLM integration and algorithmic trading.
investec-mcp
An MCP server that integrates with the Investec Open Banking API, enabling AI agents to access banking information and perform transactions.
mcp-server-llmling
mcp-server-llmling serves as a Machine Chat Protocol (MCP) server, providing a YAML-based system to configure and manage LLM applications, including resources, prompts, and tools.