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 henry@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 tidy
to fix dependencies - Check import paths
-
Runtime Errors
- Check log output for detailed error messages
- Verify transport configuration
- Ensure proper context handling