A lightweight, extensible MCP (Model Context Protocol) server for running prompt-based tools and file utilities. Designed for easy integration, testing, and extension with custom prompts.
- Prompt-based tools: Easily add new tools by writing simple JSON prompt files.
- File utilities: Includes tools for reading, writing, moving, and deleting files and directories.
- Custom prompts: Place your own prompt definitions in the
custom_prompts/directory. - Multiple transports: Supports STDIO, SSE, and HTTP for flexible integration.
- Extensive tests: Includes a test script to verify all tool endpoints.
make build-localTo quickly install the latest version from the repository:
go install github.com/ad/mcp-project-helper@latestThe binary will appear in $GOBIN or $HOME/go/bin (make sure this path is in your $PATH).
# Clone the repository
git clone https://github.com/ad/mcp-project-helper.git
cd mcp-project-helper
go mod tidy
# Local build
make build-local
# Or manually
go build -o mcp-project-helper main.go
# Local build
make build-local
# Or manually
go build -o mcp-project-helper main.go
# Docker build
make build- STDIO (default):
./mcp-project-helper- SSE:
./mcp-project-helper -transport sse -port 8080
- HTTP:
./mcp-project-helper -transport http -port 8080
./test.shgo install github.com/ad/mcp-project-helper@latest
Добавьте в settings.json:
{
"mcp": {
"servers": {
"helper": {
"type": "stdio",
"command": "/absolute/path/to/project-helper",
"args": ["-transport", "stdio"]
}
}
}
}{
"mcp": {
"servers": {
"helper": {
"type": "stdio",
"command": "docker",
"args": [
"run", "--rm", "-i",
"danielapatin/mcp-project-helper:latest",
"-transport", "stdio"
]
}
}
}
}{
"mcpServers": {
"helper": {
"command": "/absolute/path/to/mcp-project-helper",
"args": ["-transport", "stdio"]
}
}
}- Create a JSON file in
custom_prompts/(seepalette.jsonfor an example). - Each tool must define a
descriptionand apromptfield. - The tool will be automatically registered and available via the MCP protocol.
- tool-generator: Generates a tool description and prompt template based on a user query.
- palette: Suggests a harmonious color palette for a given color.
main.go— Main server entry pointprompts/— Built-in prompt toolscustom_prompts/— User-defined prompt toolstest.sh— End-to-end test scriptMakefile— Build and run commands
MIT