Files
Pranjul KalsiandGitHub 728146a200 chore: add SigNoz MCP Server as Claude Desktop extension (#22) (#33)
Closes:#22

### Approach 
Referred to the linked issue in (#22) and reviewed Anthropic’s [MCPB
documentation](https://github.com/anthropics/mcpb) for required bundle
structure and manifest schema.

### Changes

- Defined a compliant `manifest.json`
- Added `assets/` directory for the SigNoz icon
- Updated `Makefile` to automate binary builds (macOS, Windows) and MCP
bundle packaging
- Ensured only `manifest.json` and `assets/` are versioned; by updating
`.gitignore`
- Documented build and installation steps for Claude Desktop integration
in `README.md`

### Notes for Reviewers 
1. **manifest.json** includes organisational related metadata that must
be checked. All links have been verified to the best of my ability.
2. **SigNoz icon** was sourced from the main SigNoz repository.
3. **Makefile** now includes a `make bundle` command to build binaries
and package the Claude MCP extension, this was done to make the process
seamless for end user.
4. `bundle.mcpb` was locally tested on Claude Desktop running on macOS
(Apple Silicon) with a mock SigNoz instance. **Windows testing** has not
been performed.
5. All tools were tested locally; however, the mock SigNoz instance
contained limited sample data, so only partial responses could be
validated.

**Please confirm if any changes are preferred in any or all of the
above, Feedback and suggestions are welcome.**

### Visual Verification

1. Connectors Section
<img width="713" height="393" alt="Connectors"
src="https://github.com/user-attachments/assets/ed441c6d-195c-42da-8fa8-5214dea685aa"
/>

2. Developers Section
<img width="695" height="524" alt="Developers"
src="https://github.com/user-attachments/assets/061c8898-b15d-449c-bdb1-f0eff2f1d881"
/>

3. Test Prompt 1
<img width="807" height="539" alt="Test Prompt 1"
src="https://github.com/user-attachments/assets/75685a4b-b8fb-468b-9d09-1b7de7fedc8b"
/>

4. Test Prompt 2
<img width="843" height="682" alt="Test Prompt 2"
src="https://github.com/user-attachments/assets/7a709159-b6d7-49bf-aae0-d09245b4a584"
/>
Is
2025-11-21 12:32:37 +00:00

29 lines
772 B
Makefile

fmt:
@echo "🧹 Running go fmt..."
@go fmt ./...
goimports:
@echo "📦 Running goimports..."
@goimports -w .
build: fmt goimports
@echo "🚀 Building ..."
@go build $(GO_FLAGS) -o bin/signoz-mcp-server ./cmd/server/...
test:
@echo "🧪 Running all tests..."
@go test -v ./...
bundle:
@echo "🚀 Building SigNoz Claude MCP extension..."
@mkdir -p bundle/server
@GOOS=darwin GOARCH=arm64 go build -o bundle/server/signoz-mcp-server ./cmd/server/
@GOOS=windows GOARCH=amd64 go build -o bundle/server/signoz-mcp-server.exe ./cmd/server/
@cp ./manifest.json bundle/
@cp ./assets/signoz_icon.png bundle/
@echo "📦 Installing MCPB CLI..."
@npm install -g @anthropic-ai/mcpb > /dev/null 2>&1
@echo "🧩 Packing MCP bundle..."
cd bundle && mcpb pack