@@ -101,14 +101,18 @@ Crush can use LSPs for additional context to help inform its decisions, just lik
104−Crush can also use MCPs for additional context. Add LSPs to the config like so:
104+Crush supports Model Context Protocol (MCP) servers through three transport types: `stdio` for command-line servers, `http` for HTTP endpoints, and `sse` for Server-Sent Events. Environment variable expansion is supported using `$(echo $VAR)` syntax.
109− "context7": {
109+ "filesystem": {
110− "url": "https://mcp.context7.com/mcp",
111− "type": "http"
110+ "type": "stdio",
112+ "args": ["/path/to/mcp-server.js"],
114+ "NODE_ENV": "production"
113 "github": {
117 "github": {
114 "type": "http",
118 "type": "http",
@@ -116,11 +120,47 @@ Crush can also use MCPs for additional context. Add LSPs to the config like so:
116 "headers": {
120 "headers": {
117 "Authorization": "$(echo Bearer $GH_MCP_TOKEN)"
121 "Authorization": "$(echo Bearer $GH_MCP_TOKEN)"
124+ "streaming-service": {
126+ "url": "https://example.com/mcp/sse",
128+ "API-Key": "$(echo $API_KEY)"
137+Enable debug logging with the `-d` flag or in config. View logs with `crush logs`. Logs are stored in `.crush/logs/crush.log`.
140+# Run with debug logging
143+# View last 1000 lines
146+# Follow logs in real-time
149+# Show last 500 lines
153+Add to your `crush.json` config file:
124### OpenAI-Compatible APIs
164### OpenAI-Compatible APIs
126Crush supports all OpenAI-compatible APIs. Here's an example configuration for Deepseek, which uses an OpenAI-compatible API. Don't forget to set `DEEPSEEK_API_KEY` in your environment.
166Crush supports all OpenAI-compatible APIs. Here's an example configuration for Deepseek, which uses an OpenAI-compatible API. Don't forget to set `DEEPSEEK_API_KEY` in your environment.