概要
What is MCP Server?
MCP Server is a Go-based MCP tools project that provides a series of MCP utilities, including IP address processing, time services, and poster generation. It is a personal learning project and is not intended for production use. The server uses the github.com/ThinkInAIXYZ/go-mcp framework and targets developers experimenting with MCP (Model Context Protocol) tools.
How to use MCP Server?
Clone the repository, install dependencies with go mod download, then build a single service with make build dir=<service_directory> or build all services with make build-all. Run a service using the compiled binary, e.g., ./bin/mcp-ip -mode=stdio -addr=:59001. Available run modes are stdio or sse. For the poster service, a Bailian API key is required via the -key parameter.
Key features of MCP Server
- IP address processing service
- Time query and timestamp conversion service
- Poster generation service (using Bailian Creative Poster Generation API)
- Supports stdio and SSE transport modes
- Cross-platform: Linux, macOS, Windows
Use cases of MCP Server
- Retrieve geolocation information for an IP address via the IP service
- Convert between timestamps and human‑readable time formats
- Generate posters programmatically using an AI‑powered API
FAQ from MCP Server
What is MCP Server for?
It is a personal learning project that bundles several MCP utilities (IP lookup, time conversion, poster generation) using the Go MCP framework.
What are the runtime requirements?
Go 1.23.0 or higher is required. The server runs on Linux, macOS, and Windows.
How does data flow for the IP and poster services?
The IP service uses the https://ip.rpcx.io API. The poster service uses Alibaba Cloud’s Bailian Creative Poster Generation API; you must provide a Bailian API key.
What transport protocols are supported?
Two modes: stdio (default) for local integration and sse for remote connections. When using sse, the -addr parameter sets the service address.
Is authentication required?
Only the poster service requires authentication via a Bailian API key (-key). The other services have no authentication mentioned.