Submit

Sample MCP Server

@jasoet

a year ago
developer-tools
Sample Code to Build MCP Server using golang
Overview

what is Sample MCP Server?

Sample MCP Server is a sample implementation of a Model Context Protocol (MCP) server built using Go and GORM, designed to connect to a PostgreSQL database for managing financial transactions.

how to use Sample MCP Server?

To use the Sample MCP Server, clone the repository, set up the PostgreSQL database using Docker, and run the application using the Mage build tool.

key features of Sample MCP Server?

  • Account management (create, read, update, delete)
  • Category management (create, read, update, delete)
  • Transaction tracking (create, read, update, delete)
  • Transaction aggregation (sum, count by account)

use cases of Sample MCP Server?

  1. Managing financial accounts and transactions in a web application.
  2. Tracking expenses and categorizing them for better financial insights.
  3. Integrating with other applications for financial data management.

FAQ from Sample MCP Server?

  • What programming language is used for this project?

The project is built using Go.

  • Is there a database requirement?

Yes, it uses PostgreSQL for data storage, but it also supports MySQL and MSSQL.

  • How can I run tests for the application?

You can run unit and integration tests using the Mage build tool.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.