Last active
July 10, 2025 20:58
-
-
Save Nezteb/d61a6097e56cc6182c1b26ee4fa0ad21 to your computer and use it in GitHub Desktop.
Example ~/.config/zed/settings.json file for using OpenRouter models as OpenAI-compatible provider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// > "Edit Predictions" provided by Zed's own Zeta model or | |
// > by external providers like GitHub Copilot or Supermaven. | |
"show_edit_predictions": false, | |
// > "Code Completions" provided by Language Servers (LSPs) | |
// > automatically installed by Zed or via Zed Language Extensions. | |
"show_completions_on_input": true, | |
"format_on_save": "off", | |
"features": { | |
"edit_prediction_provider": "copilot" | |
}, | |
"context_servers": { | |
"mcp-server-github": { | |
"source": "extension", | |
"enabled": true, | |
"settings": { | |
"github_personal_access_token": "TOKEN" | |
} | |
}, | |
"mcp-server-context7": { | |
"source": "extension", | |
"settings": { | |
"default_minimum_tokens": "10000" | |
} | |
}, | |
"hexdocs-mcp": { | |
"source": "custom", | |
"command": "npx", | |
"args": ["-y", "[email protected]"], | |
"env": {} | |
}, | |
"kagi": { | |
"source": "custom", | |
"command": "uvx", | |
"args": ["kagimcp"], | |
"env": { | |
"KAGI_API_KEY": "TOKEN", | |
"KAGI_SUMMARIZER_ENGINE": "cecil" | |
} | |
} | |
}, | |
"agent": { | |
"profiles": { | |
"write": { | |
"enable_all_context_servers": false, | |
"name": "Write", | |
"tools": { | |
"copy_path": true, | |
"create_directory": true, | |
"delete_path": true, | |
"diagnostics": true, | |
"edit_file": true, | |
"fetch": true, | |
"list_directory": true, | |
"project_notifications": true, | |
"move_path": true, | |
"now": true, | |
"find_path": true, | |
"read_file": true, | |
"grep": true, | |
"terminal": false, | |
"thinking": true, | |
"web_search": true | |
}, | |
"context_servers": { | |
"mcp-server-github": { | |
"tools": { | |
"search_repositories": true, | |
"search_pull_requests": true, | |
"search_issues": true, | |
"search_code": true, | |
"list_commits": true, | |
"get_pull_request_reviews": true, | |
"get_pull_request_files": true, | |
"get_pull_request_diff": true, | |
"get_pull_request_comments": true, | |
"get_pull_request": true, | |
"get_commit": true, | |
"get_file_contents": true | |
} | |
}, | |
"mcp-server-context7": { | |
"tools": { | |
"resolve-library-id": true, | |
"get-library-docs": true | |
} | |
}, | |
"kagi": { | |
"tools": { | |
"kagi_summarizer": true, | |
"kagi_search_fetch": true | |
} | |
}, | |
"hexdocs-mcp": { | |
"tools": { | |
"search": true, | |
"fetch": true | |
} | |
} | |
} | |
}, | |
"ask": { | |
"name": "Ask", | |
"enable_all_context_servers": false, | |
"tools": { | |
"contents": true, | |
"diagnostics": true, | |
"fetch": true, | |
"list_directory": true, | |
"project_notifications": true, | |
"now": true, | |
"find_path": true, | |
"read_file": true, | |
"open": true, | |
"grep": true, | |
"thinking": true, | |
"web_search": true | |
}, | |
"context_servers": { | |
"mcp-server-sequential-thinking": { | |
"tools": { | |
"sequentialthinking": true | |
} | |
}, | |
"mcp-server-context7": { | |
"tools": { | |
"resolve-library-id": true, | |
"get-library-docs": true | |
} | |
}, | |
"kagi": { | |
"tools": { | |
"kagi_summarizer": true, | |
"kagi_search_fetch": true | |
} | |
}, | |
"hexdocs-mcp": { | |
"tools": { | |
"search": true, | |
"fetch": true | |
} | |
}, | |
"mcp-server-github": { | |
"tools": { | |
"search_repositories": true, | |
"search_pull_requests": true, | |
"search_issues": true, | |
"search_code": true, | |
"list_commits": true, | |
"get_pull_request_reviews": true, | |
"get_pull_request_files": true, | |
"get_pull_request_diff": true, | |
"get_pull_request_comments": true, | |
"get_pull_request": true, | |
"get_commit": true, | |
"get_file_contents": true | |
} | |
} | |
} | |
} | |
}, | |
"always_allow_tool_actions": true, | |
"default_profile": "ask", | |
"default_model": { | |
"provider": "copilot_chat", | |
"model": "claude-sonnet-4" | |
} | |
}, | |
"file_types": { | |
"Elixir": ["tmp.*.erl"] | |
}, | |
"collaboration_panel": { | |
"button": false | |
}, | |
"telemetry": { | |
"metrics": false, | |
"diagnostics": false | |
}, | |
"buffer_font_features": { | |
"calt": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment