think
Structure complex problem-solving by organizing thoughts to analyze challenges and develop solutions within Claude Code MCP's software engineering environment.
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 is a no-op that simply returns the provided thought as a response.async ({ thought }) => { return { content: [{ type: "text", text: `Thought process: ${thought}` }] }; }
- src/server/tools.ts:163-165 (schema)The input schema for the "think" tool, defining a single string parameter 'thought' using Zod.{ thought: z.string().describe("Your thoughts") },
- src/server/tools.ts:160-174 (registration)The registration of the "think" tool on the MCP server, including name, description, schema, and handler.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}` }] }; } );