think
Analyze and structure complex problems by inputting thoughts into the tool, enabling clear and systematic problem-solving workflows within the Claude Code MCP server.
Instructions
A tool for thinking through complex problems
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thought | Yes | Your thoughts |
Implementation Reference
- src/server/tools.ts:166-173 (handler)The handler function for the "think" tool, which simply returns the provided thought prefixed with 'Thought process:' as a text response.async ({ thought }) => { return { content: [{ type: "text", text: `Thought process: ${thought}` }] }; }
- src/server/tools.ts:163-165 (schema)Input schema for the "think" tool, defining a single string parameter 'thought'.{ thought: z.string().describe("Your thoughts") },
- src/server/tools.ts:160-174 (registration)Registration of the "think" tool on the MCP server, including name, description, input schema, and handler function.server.tool( "think", "A tool for thinking through complex problems", { thought: z.string().describe("Your thoughts") }, async ({ thought }) => { return { content: [{ type: "text", text: `Thought process: ${thought}` }] }; } );