Lambda Symbolics

Add an MCP server

One file brings an MCP server's tools into Autolith for one project: .autolith/mcp.sexp in the project root.

Write the file

(:version 1
 :servers
 ((:name "ripgrep"
   :transport (:type :stdio
               :command "mcp-ripgrep"
               :arguments ("serve" "--no-banner"))
   :approval :read-only
   :trusted-read-only-tools ("search"))))

An HTTP server swaps the transport for (:type :http :url "https://..."). Optional :startup-timeout-seconds and :tool-timeout-seconds bound each deadline, at most one hour.

Trust the directory

Autolith reads .autolith files only from directories you have trusted, through a directory-scopes.sexp manifest in your config root:

(:version 1
 :directories ("~/src/my-project"))

Check it

/mcp

The command shows the effective servers and refreshes discovery after a server recovers. The new server appears as the exact mcp__ripgrep namespace, and its tools list under it with everything else the model can call.