Skip to content

feat(mcp): add MCP Registry listing support - #560

Merged
shivasurya merged 1 commit into
mainfrom
feat/mcp-registry-listing
Feb 28, 2026
Merged

shivasurya merged 1 commit into
mainfrom
feat/mcp-registry-listing

Conversation

@shivasurya

Copy link
Copy Markdown
Owner

Summary

  • Replace hardcoded 0.1.0-poc MCP server version with cmd.Version (ldflags-injected at build time)
  • Update MCP server name to dev.codepathfinder/pathfinder in initialize response to match registry namespace
  • Add server.json for MCP Registry publication (PyPI + Docker packages, stdio transport, packageArguments)
  • Add MCP verification markers: <!-- mcp-name --> in python-sdk/README.md and LABEL in Dockerfile
  • Bump version to 1.3.7 across VERSION, pyproject.toml, server.json

Context

Lists Code Pathfinder's MCP server on the MCP Registry for discoverability by Claude Desktop, Cursor, Windsurf, and other MCP hosts. DNS authentication with codepathfinder.dev is already validated — first publish will follow after PyPI release.

Test plan

  • gradle lintGo — 0 issues
  • gradle testGo — all pass
  • gradle buildGo — builds successfully
  • mcp-publisher validate — server.json is valid
  • mcp-publisher login dns — DNS auth verified against live TXT record
  • Publish to MCP Registry after PyPI release with updated README

🤖 Generated with Claude Code

- Replace hardcoded 0.1.0-poc version with cmd.Version (ldflags-injected)
- Update server name to dev.codepathfinder/pathfinder in initialize response
- Add server.json for MCP Registry (PyPI + Docker packages, stdio transport)
- Add MCP verification marker to python-sdk/README.md
- Add MCP label to Dockerfile
- Bump version to 1.3.7 across VERSION, pyproject.toml, server.json

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@shivasurya shivasurya added enhancement New feature or request go Pull requests that update go code python docker Docker/Dockerfile related changes labels Feb 28, 2026
@shivasurya shivasurya self-assigned this Feb 28, 2026
@safedep

safedep Bot commented Feb 28, 2026 •

Copy link
Copy Markdown

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

@github-actions

Copy link
Copy Markdown

Code Pathfinder Security Scan

Issues Found Critical High Medium Low Info

Findings

Severity File Line Issue
🟠 High Dockerfile 1 Missing Image Version 🔗
🟠 High Dockerfile 21 Missing Image Version 🔗
🟠 High Dockerfile 1 Missing Image Version 🔗
🟠 High Dockerfile 21 Missing Image Version 🔗
🟠 High Dockerfile 1 Container Running as Root - Missing USER 🔗
🟡 Medium Dockerfile 45 Multiple ENTRYPOINT Instructions 🔗
🟡 Medium Dockerfile 15 Sudo Usage in Dockerfile 🔗
🟡 Medium Dockerfile 17 Sudo Usage in Dockerfile 🔗
🟡 Medium Dockerfile 19 Sudo Usage in Dockerfile 🔗
🟡 Medium Dockerfile 26 Sudo Usage in Dockerfile 🔗
🟡 Medium Dockerfile 31 Sudo Usage in Dockerfile 🔗
🟡 Medium Dockerfile 38 Sudo Usage in Dockerfile 🔗
🟡 Medium Dockerfile 40 Sudo Usage in Dockerfile 🔗
🟡 Medium Dockerfile 1 Base Image Uses :latest Tag 🔗
🟡 Medium Dockerfile 21 Base Image Uses :latest Tag 🔗
🔵 Low Dockerfile 1 Dockerfile Source Not Pinned 🔗
🔵 Low Dockerfile 21 Dockerfile Source Not Pinned 🔗
🔵 Low Dockerfile 1 Missing HEALTHCHECK Instruction 🔗
🔵 Low Dockerfile 15 Nonsensical Command 🔗
🔵 Low Dockerfile 17 Nonsensical Command 🔗
🔵 Low Dockerfile 19 Nonsensical Command 🔗
🔵 Low Dockerfile 26 Nonsensical Command 🔗
🔵 Low Dockerfile 31 Nonsensical Command 🔗
🔵 Low Dockerfile 38 Nonsensical Command 🔗
🔵 Low Dockerfile 40 Nonsensical Command 🔗
🔵 Low Dockerfile 15 Nonsensical Command 🔗
🔵 Low Dockerfile 17 Nonsensical Command 🔗
🔵 Low Dockerfile 19 Nonsensical Command 🔗
🔵 Low Dockerfile 26 Nonsensical Command 🔗
🔵 Low Dockerfile 31 Nonsensical Command 🔗
🔵 Low Dockerfile 38 Nonsensical Command 🔗
🔵 Low Dockerfile 40 Nonsensical Command 🔗
🔵 Low Dockerfile 15 Prefer apt-get over apt 🔗
🔵 Low Dockerfile 17 Prefer apt-get over apt 🔗
🔵 Low Dockerfile 19 Prefer apt-get over apt 🔗
🔵 Low Dockerfile 26 Prefer apt-get over apt 🔗
🔵 Low Dockerfile 31 Prefer apt-get over apt 🔗
🔵 Low Dockerfile 38 Prefer apt-get over apt 🔗
🔵 Low Dockerfile 40 Prefer apt-get over apt 🔗
🔵 Low Dockerfile 45 Prefer JSON Notation for CMD/ENTRYPOINT 🔗
🔵 Low Dockerfile 3 Use Absolute Path in WORKDIR 🔗
🔵 Low Dockerfile 23 Use Absolute Path in WORKDIR 🔗
Metric Value
Files Scanned 9
Rules 38

Powered by Code Pathfinder

@shivasurya
shivasurya merged commit a8b8095 into main Feb 28, 2026
5 checks passed
@shivasurya
shivasurya deleted the feat/mcp-registry-listing branch February 28, 2026 02:45
@codecov

codecov Bot commented Feb 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.50000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.32%. Comparing base (ce24fd1) to head (45b1400).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sast-engine/mcp/server.go 71.42% 2 Missing ⚠️
sast-engine/cmd/serve.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #560   +/-   ##
=======================================
  Coverage   83.32%   83.32%           
=======================================
  Files         143      143           
  Lines       17782    17788    +6     
=======================================
+ Hits        14817    14822    +5     
- Misses       2426     2428    +2     
+ Partials      539      538    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker/Dockerfile related changes enhancement New feature or request go Pull requests that update go code python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant