@jezweb/mcp-integrations
v0.1.2
Published
Reusable MCP tools, resources, and prompts for backend service integrations
Readme
@jezweb/mcp-integrations
Reusable MCP tools, resources, and prompts for backend service integrations.
Installation
npm install @jezweb/mcp-integrationsUsage
import { tools, resources, prompts } from '@jezweb/mcp-integrations/google/calendar';
// Register calendar tools with your MCP server
tools.all.forEach(tool => {
server.tool(tool.name, tool.description, tool.parameters,
(params) => tool.handler(params, { authorizedFetch })
);
});Available Integrations
| Integration | Import Path | Tools | Status |
|-------------|-------------|-------|--------|
| Google Calendar | @jezweb/mcp-integrations/google/calendar | 6 | ✅ Ready |
| Google Gmail | @jezweb/mcp-integrations/google/gmail | 16 | ✅ Ready |
| Google Drive | @jezweb/mcp-integrations/google/drive | 12 | ✅ Ready |
| Google Tasks | @jezweb/mcp-integrations/google/tasks | 12 | ✅ Ready |
| Google Contacts | @jezweb/mcp-integrations/google/contacts | 8 | ✅ Ready |
| Google Sheets | @jezweb/mcp-integrations/google/sheets | 11 | ✅ Ready |
| Google Docs | @jezweb/mcp-integrations/google/docs | 8 | ✅ Ready |
| Google Chat | @jezweb/mcp-integrations/google/chat | 14 | ✅ Ready |
| Xero | @jezweb/mcp-integrations/xero | - | 🔜 Planned |
Total: 87 tools across 8 Google Workspace integrations
Tool Presets
Each integration exports tool presets for different access levels:
import { tools } from '@jezweb/mcp-integrations/google/calendar';
tools.all; // All tools
tools.readOnly; // List operations only
tools.fullAccess; // All CRUD operations
tools.alwaysVisible; // Core tools (for Tool Search)Tool Search Support
All tools include metadata for Anthropic's Tool Search pattern:
category: Logical grouping (e.g., "calendar", "email")tags: Searchable keywordsalwaysVisible: Whether tool is always shown or discoverable via search
ToolContext
Tools receive a ToolContext with:
interface ToolContext {
authorizedFetch: (url: string, init?: RequestInit) => Promise<Response>;
userId?: string;
userEmail?: string;
}Your MCP server provides authorizedFetch with OAuth token handling.
Development
npm install
npm run build
npm run dev # Watch modeLicense
MIT
