go-mcp-server-service
A JSON-RPC 2.0 compliant server implementing the Model Context Protocol (MCP) for note management (as an example)
Overview
go-mcp-server-service is a JSON-RPC 2.0 compliant server that implements the Model Context Protocol (MCP) for managing notes, serving as a boilerplate for various note management applications.
To use this service, you can run the command-line interface or the service component after building it for your platform. You can interact with the server via its API or command-line commands to manage your notes.
- Compliant with JSON-RPC 2.0 for structured API communication - Cross-platform support (Windows, Linux, macOS) - Thread-safe management for concurrent note access - Multiple build configurations to cater to both development and production environments - Custom URI scheme for accessing notes
- Integrating a note management system into applications using JSON-RPC.
- Serving as a backend service for a desktop note-taking application.
- Providing API access to note management for third-party apps.
Add to your AI client
Use these steps to connect go-mcp-server-service in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"go-mcp-server-service-andrewdonelson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-go-mcp-server-service-andrewdonelson"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"go-mcp-server-service-andrewdonelson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-go-mcp-server-service-andrewdonelson"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"go-mcp-server-service-andrewdonelson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-go-mcp-server-service-andrewdonelson"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"go-mcp-server-service-andrewdonelson": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-go-mcp-server-service-andrewdonelson"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"go-mcp-server-service-andrewdonelson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-go-mcp-server-service-andrewdonelson"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"go-mcp-server-service-andrewdonelson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-go-mcp-server-service-andrewdonelson"
]
}
}
}FAQ
What protocols does the server support?
The server supports JSON-RPC 2.0 for communication and adheres to the Model Context Protocol.
Is the go-mcp-server-service customizable?
Yes! The service is designed to be a boilerplate, allowing modifications to suit various needs.
How can I run the server locally?
You can build the server using the provided Makefile and run the command-line interface or service based on your build configuration.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":350,"uuid":"f66f01fd-82f4-44cc-9cd3-3657bf37139c","name":"go-mcp-server-service","title":"go-mcp-server-service","description":"A JSON-RPC 2.0 compliant server implementing the Model Context Protocol (MCP) for note management (as an example)","avatar_url":"https://avatars.githubusercontent.com/u/39030?v=4","created_at":"2024-12-13T13:20:55.458Z","updated_at":"2024-12-13T15:09:11.558Z","status":"created","author_name":"AndrewDonelson","author_avatar_url":"https://avatars.githubusercontent.com/u/39030?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/AndrewDonelson/go-mcp-server-service","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]