Salsabil-210/MCP_server-Uptexty
If you are the rightful owner of MCP_server-Uptexty and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
MCP Uptexty Server is a minimal Model Context Protocol (MCP) server template designed for integration with Claude Desktop, providing a foundation for developing custom AI tools and resources using Go.
MCP Uptexty Server 🚀
A minimal Model Context Protocol (MCP) server template for Claude Desktop integration. Built with Go, this server provides a foundation for creating custom AI tools and resources.
📦 Features
- Basic MCP protocol implementation
- Claude Desktop integration
- Ready for custom tool development
🛠️ Installation
Prerequisites
- Go 1.18 or later
- Claude Desktop installed
Build Steps
-
Clone or download the project
cd MCP_Uptexty -
Install dependencies
go mod tidy -
Build the project
go build -
Run the server
./mcp-uptexty
🚀 Usage
Starting the Server
# Build and run in one command
go run .
# Or build first, then run
go build
./mcp-uptexty
Expected Output
Connected to Claude Desktop!
Connection closed
Error Handling
- Connection errors are logged with detailed information
- Server errors are propagated to main function
- Graceful shutdown with proper cleanup
🏗️ Project Structure
mcp-uptexty/
├── main.go # Main entry point
├── server.go # MCP server implementation
├── client.go # Client implementation (for testing)
├── go.mod # Go module dependencies
├── go.sum # Dependency checksums
└── README.md # This file
Claude Desktop Configuration
🔧 Configuration
Add to your Claude Desktop configuration file (claude_desktop_config.json): { "servers": [ { "name": "mcp-uptexty", "command": "", "args": [], "workingDirectory": "", "timeout": 30 } ] }
Server Settings
- Name:
mcp-uptexty - Version:
1.0.0 - Transport: Stdio (for Claude Desktop integration)
Dependencies
- MCP SDK:
github.com/modelcontextprotocol/go-sdk v0.3.0 - Go Version: 1.25.0+
StartServer()
func StartServer() error
Initializes and starts the MCP server with stdio transport. Establishes a connection to Claude Desktop and manages the server session lifecycle.
Returns: error - nil on success, error details on failure
🔍 Development
Adding Custom Tools
The server is designed to be easily extensible. You can add custom MCP tools by:
- Implementing tool handlers
- Registering tools with the server
- Defining input/output schemas
Testing
# Run tests
go test
# Run with verbose output
go test -v
-
Connection Failed
- Ensure Claude Desktop is running
- Check if the port is available
- Verify MCP protocol compatibility
-
Build Errors
- Ensure Go 1.18+ is installed
- Run
go mod tidyto fix dependencies - Check import paths
-
Runtime Errors
- Check log output for detailed error messages
- Verify transport configuration
- Ensure proper context handling