Skip to main content
Glama

mcp-google-sheets

todo-create-comment.tsx616 B
import { todoActivityApi } from '@/features/todos/lib/todos-activitiy-api'; import { Todo } from '@activepieces/shared'; import { TodoTextarea } from './todo-textarea'; type TodoCreateCommentProps = { todo: Todo; }; export const TodoCreateComment = ({ todo }: TodoCreateCommentProps) => { const handleSubmitComment = async (content: string) => { if (todo.locked) return; await todoActivityApi.create({ todoId: todo.id, content: content, }); }; return ( <TodoTextarea onSubmit={handleSubmitComment} disabled={todo.locked} title="Add a Comment" /> ); };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server