go-mcp-server-financeiro

go-mcp-server-financeiro

0

This project is a practical example of building a simple MCP Server using Go, focused on managing financial tools and querying stock prices via Alpha Vantage.

Overview

MCP Finance Server

This project demonstrates how to build a simple MCP Server using Go. It simulates financial tool management and performs real stock quote queries using the Alpha Vantage public API.

Features

  • Dynamically register financial tools
  • List all registered tools
  • Query real-time stock prices (Alpha Vantage)
  • Expose metadata in MCP format for client agents

Endpoint Structure

  1. Register Financial Tool
  2. List Financial Tools
  3. Query Stock Price (Alpha Vantage)
  4. Query MCP Server Metadata

Prerequisites

How to Run

  1. Clone the repository
  2. Create an .env file and add your API key
  3. Install dependencies
  4. Run the server; it will be available at http://localhost:8080.