ConveniencePro Tool Protocol (CTP)
Version 1.0.0 | GitHub CTP is an open specification for building browser-native developer tools that are inherently compatible with the Model Context Protocol (MCP). It enables developers to create tools that work seamlessly in web browsers while maintaining full interoperability with AI-powered development environments.Why CTP?
Browser-Native
Tools execute directly in the browser using Web APIs, ensuring privacy and eliminating server dependencies.
MCP Compatible
Automatic conversion to MCP format enables integration with Claude, Cursor, and other AI tools.
Type-Safe
Full TypeScript support with comprehensive schemas and validation.
LLM-Ready
Built-in AI hints and instructions help LLMs use your tools effectively.
Quick Example
Architecture
npm Packages
| Package | Description |
|---|---|
@conveniencepro/ctp-core | Core types and validation |
@conveniencepro/ctp-runtime | Tool execution engine |
@conveniencepro/ctp-discovery | Discovery document generators |
@conveniencepro/ctp-sdk | Embeddable SDK |
@conveniencepro/ctp-spec | Specification constants |
@conveniencepro/ctp-examples | Example tool implementations |
@conveniencepro/ctp-mcp-server | MCP server for AI-powered tool generation |