Back to Home
agntcy icon

identity-service

Verified Safe

by agntcy

Overview

Provides currency exchange rate and trading tools via an MCP (Multi-Agent Communication Protocol) server, integrating with an identity service for authentication and authorization.

Installation

Run Command
docker compose -f samples/docker-compose.yaml up -d currency-exchange-mcp-server

Environment Variables

  • IDENTITY_SERVICE_GRPC_SERVER_URL
  • IDENTITY_SERVICE_API_KEY
  • CURRENCY_EXCHANGE_API_URL

Security Notes

The MCP server is built on FastAPI and uses modern HTTP clients (httpx). It delegates authentication and authorization to an external 'AGNTCY Identity Service' via a custom middleware (`IdentityServiceMCPMiddleware`). This middleware ensures that incoming requests are authorized using an API key and are linked to a specific tool or agent. No obvious direct 'eval' or raw system command execution is observed in the truncated sample code for the MCP server itself. Input validation for the `trade_currency_exchange` and `get_currency_exchange_rate` tools is critical but not fully visible in the truncated tool definitions; assuming FastAPI's typing provides some level of validation. A potential risk lies in the `CURRENCY_EXCHANGE_API_URL` environment variable, which, if misconfigured or pointing to a malicious external API, could lead to data integrity issues or SSRF (Server-Side Request Forgery) vulnerabilities. The overall security of this MCP server strongly depends on the robustness and proper configuration of the external Identity Service it relies on, which in development setup uses weak default credentials (e.g., 'postgres' password, 'default' vault token) as noted in the main backend's `env_setup.sh` script.

Similar Servers

Stats

Interest Score54
Security Score8
Cost ClassLow
Stars61
Forks6
Last Update2026-01-19

Tags

MCP ServerCurrency ExchangeFinancial ToolsAgentic ServicesAPIAuthenticationAuthorization