get_thoughts
Retrieve all recorded thoughts from your local storage. Access and review your saved thoughts quickly.
Instructions
Retrieve all recorded thoughts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp/think.ts:84-97 (handler)The handler function for the 'get_thoughts' tool that retrieves all recorded thoughts from the in-memory array and returns them as a JSON string.
// Register get_thoughts command server.tool( "get_thoughts", "Retrieve all recorded thoughts", async () => { const currentThoughts = [...thoughts]; return { content: [{ type: "text", text: JSON.stringify(currentThoughts, null, 2) }] }; } ); - src/mcp/think.ts:84-97 (registration)The tool is registered on the McpServer using server.tool() with the name 'get_thoughts' and description 'Retrieve all recorded thoughts'.
// Register get_thoughts command server.tool( "get_thoughts", "Retrieve all recorded thoughts", async () => { const currentThoughts = [...thoughts]; return { content: [{ type: "text", text: JSON.stringify(currentThoughts, null, 2) }] }; } );