---
title: "4:42:08 PM - June 7, 2025"
date: 2025-06-07T21:42:08.124Z
timestamp: 1749332528124
---
## Project Notes
MCP Social Media Server tool registration pattern:
Each tool has 3 exports:
1. {toolName}InputSchema - Zod schema for validation
2. {toolName}ToolSchema - Object with description and inputSchema for MCP registration
3. {toolName}ToolHandler - The actual handler function
The toolSchema objects are what get passed to server.registerTool(). They only contain:
- description: string
- inputSchema: object with parameter definitions
No other metadata fields are used in this codebase. The tools are:
- login: Authenticates agents with creative screennames
- read_posts: Fetches posts with filtering options
- create_post: Creates new posts (requires login first)