Skip to content

v1.1.0: SDK as Single Source of Truth

Choose a tag to compare

@Dhi13man Dhi13man released this 10 Dec 14:50
· 49 commits to master since this release
ca110ca

Highlights

This release establishes the SDK as the single source of truth for all MCP primitives, with comprehensive new APIs for programmatic access to resources and prompts.

New Features

Standalone Resource Functions

  • getResource(uri, client?) - Fetch any resource by URI
  • listResources() - List all available resources with metadata
  • getSearchSyntaxHelp() - Get search syntax guide as markdown

Standalone Prompt Functions

  • getPrompt(name, args?) - Get prompt workflows with type-safe overloads
  • listPrompts() - List all available prompts with metadata

Centralized Constants

  • TOOL_NAMES, RESOURCE_URIS, PROMPT_NAMES, DEFAULTS, MIME_TYPES
  • Type exports: ToolName, ResourceUri, PromptName

Adapter Enhancements

All SDK adapters (OpenAI, Vercel AI, LangChain, Google Gemini) now support resource and prompt formatting.

Other Changes

  • NotFoundError Class: Specific error type for missing resources/tools/prompts
  • Modular Architecture: Resources and prompts split into individual files
  • Enhanced Search Syntax Help: CLAMS method integration, query optimization tips
  • Security Policy: Added SECURITY.md with vulnerability reporting guidelines

Note

⚠️ This version had package export issues. Please use v1.1.1 instead.

Full Changelog

See CHANGELOG.md for complete details.