Skip to content

feat: full MCP coverage — prompts, resources, server info#6

Merged
Codestz merged 3 commits intomainfrom
feat/full-mcp-coverage
Mar 14, 2026
Merged

feat: full MCP coverage — prompts, resources, server info#6
Codestz merged 3 commits intomainfrom
feat/full-mcp-coverage

Conversation

@Codestz
Copy link
Owner

@Codestz Codestz commented Mar 14, 2026

Summary

  • Prompts: prompt list, prompt <name> --help, prompt <name> [--arg val ...] with prompts/list and prompts/get pagination
  • Resources: resource list, resource read <uri> with resources/list, resources/templates/list, and resources/read pagination
  • Server info: mcpx <server> info shows server name, version, protocol, and capability checklist
  • Daemon capability forwarding: daemon caches InitializeResult and replays it to clients — info, --help, and capability-based features now work in daemon mode
  • Prompt argument validation: required args checked client-side before RPC call
  • Enhanced server help: --help shows prompts and resources alongside tools
  • Generate v2: configure and generate include prompts/resources in docs
  • Completions: info, prompt, resource added to tab-completion

Files changed (12)

File Changes
internal/mcp/types.go Prompt, Resource, ResourceTemplate, capability types
internal/mcp/client.go 5 new methods + ProtocolVersion, version bump to 1.3.0
internal/mcp/client_test.go 8 new tests (161 total)
internal/cli/commands.go info/prompt/resource dispatch + handlers
internal/cli/output.go 8 new print methods
internal/cli/generate.go Prompts/resources in generated docs
internal/cli/configure.go New quick-reference lines
internal/cli/completion.go Subcommand suggestions
internal/daemon/daemon.go Cache InitializeResult, intercept initialize requests
CHANGELOG.md v1.3.0 entry
README.md New commands in CLI reference
ROADMAP.md v1.3 marked shipped

Test plan

  • go build ./... passes
  • go test -race ./... — 161 tests pass
  • go vet ./... clean
  • Tested against @modelcontextprotocol/server-everything (stdio): info, prompt list, prompt get, resource list, resource read, resource templates
  • Tested against serena (daemon): info shows FastMCP 1.23.0 with capabilities
  • Prompt argument validation: missing required arg returns actionable error
  • All commands work with --json mode
  • Server help shows prompts/resources counts

🤖 Generated with Claude Code

Codestz and others added 3 commits March 13, 2026 22:45
Implements prompts/list, prompts/get, resources/list, resources/templates/list,
and resources/read with pagination. Adds `mcpx <server> info` to inspect
server capabilities. Daemon now caches and replays InitializeResult so all
features work in daemon mode. Includes prompt argument validation, enhanced
server help, updated docs generation, and shell completion for new subcommands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update changelog, CLI reference, quick start, AI agent setup, daemon mode,
how-it-works, and version badge across the VitePress site.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Codestz Codestz merged commit b6c01b0 into main Mar 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant