Skip to content

cote/thinktool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A "thinking tool" based on the Anthropic blog post on this topic. More background here.

The thinking tool requires Java 21. Written as a Spring AI MCP tool, using STDIO or SSE depending on which Spring Boot profile you run it with.

After you build it, to run it in STDIO mode for Claude Desktop, place the JAR file somewhere and add the io.cote.ThinkTool block to your claude_desktop_config.json file like this:

{
  "mcpServers": {
    "io.cote.ThinkTool": {
      "command": "java",
      "args": [
        "-jar",
        "/Users/cote/projects/thinktool/target/thinktool-0.0.1-SNAPSHOT.jar",
        "--spring.profiles.active=stdio"
      ],
      "env": {"LOGGING_LEVEL_IO_COTE_MCP_THINKTOOL": "INFO"}
    }
  }
}

To run it in SSE mode, use the sse Spring Boot profile like this:

java -jar target/thinktool-0.0.1-SNAPSHOT.jar --spring.profiles.active=sse

In STDIO mode, logs are placed in /Library/Logs/io.cote.thinktool/thinktool.log you can change the location by passing in the logging.file.name property like:

java -jar target/thinktool-0.0.1-SNAPSHOT.jar --spring.profiles.active=stdio --logging.file.name=/new/log/directory/thinktool.log

About

An MCP think tool as described by Anthropic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages