IDE config MCP Python package
Project description
IDE Config MCP Server
A Python-based MCP Server that provides tools for modifying IDE configuration files (currently supports VS Code only). MCP allows Large Language Models (LLMs) to directly call these tools to manipulate IDE settings.
Features
- Get IDE configuration file content
- Update IDE configuration files
- Get configuration item by key
- Set configuration item by key
- Compliant with MCP standard, can be directly called by LLMs
Installation
install uv
uv is a fast Python package manager and runner. It is used to install and run the ide-config-mcp server.
https://uv.doczh.com/getting-started/installation/
config ide-config-mcp
- Cursor
{
"mcpServers": {
"ide-config-mcp": {
"command": "uvx",
"args": [
"ide-config-mcp",
"Cursor"
]
}
}
}
- VS Code
{
"mcpServers": {
"ide-config-mcp": {
"command": "uvx",
"args": [
"ide-config-mcp",
"Code"
]
}
}
}
- Trae CN
{
"mcpServers": {
"ide-config-mcp": {
"command": "uvx",
"args": [
"ide-config-mcp",
"TraeCN"
]
}
}
}
- Trae
{
"mcpServers": {
"ide-config-mcp": {
"command": "uvx",
"args": [
"ide-config-mcp",
"Trae"
]
}
}
}
Available Tools
get_ide_settings
Get VS Code configuration file content.
Returns: JSON content of the configuration file
update_ide_settings
Update VS Code configuration file.
Parameters:
settings: Settings to update (dictionary format)
Returns: Updated configuration file content
get_ide_setting_by_key
Get VS Code configuration item by key.
Parameters:
key: Configuration item key name
Returns: Dictionary containing the configuration value, or error message if key doesn't exist. If the key is not found in user settings, it will return the default value from default settings.
set_ide_setting_by_key
Set VS Code configuration item by key.
Parameters:
key: Configuration item key namevalue: New value for the configuration item
Returns: Updated configuration value, or error message if update fails
get_default_settings
Get VS Code default configuration items.
Parameters:
Returns: All default configurations in JSON format, including comments
Notes
-
The server automatically accesses the corresponding VS Code configuration file based on the operating system:
- Windows:
%APPDATA%\Code\User\settings.json - macOS:
~/Library/Application Support/Code/User/settings.json - Linux:
~/.config/Code/User/settings.json
- Windows:
-
Ensure your LLM supports MCP protocol for automatic tool discovery and invocation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ide_config_mcp-0.1.5.tar.gz.
File metadata
- Download URL: ide_config_mcp-0.1.5.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3781c9665710bc7afedd447f6aab024264105569a0dad1cd48767aaa322647e5
|
|
| MD5 |
3a7050219193ad5f2edcff624940668f
|
|
| BLAKE2b-256 |
3d30a0e55aee59378cd6aef78e8c89a1757f5f26a9ccd2677995aa521cdfb3b1
|
Provenance
The following attestation bundles were made for ide_config_mcp-0.1.5.tar.gz:
Publisher:
python-publish.yml on arcsinw/ide-config-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ide_config_mcp-0.1.5.tar.gz -
Subject digest:
3781c9665710bc7afedd447f6aab024264105569a0dad1cd48767aaa322647e5 - Sigstore transparency entry: 433684941
- Sigstore integration time:
-
Permalink:
arcsinw/ide-config-mcp@98de4c9aa39b9cabd1e44e6b635490899453dffd -
Branch / Tag:
refs/heads/master - Owner: https://github.com/arcsinw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@98de4c9aa39b9cabd1e44e6b635490899453dffd -
Trigger Event:
push
-
Statement type:
File details
Details for the file ide_config_mcp-0.1.5-py3-none-any.whl.
File metadata
- Download URL: ide_config_mcp-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68896b5f4604441bc5c81236c0b2a0f965d4e919fbdac08646da72c580ee0169
|
|
| MD5 |
bd15e4960a61b205f86cf9edceda6244
|
|
| BLAKE2b-256 |
c267eb14d58f7e1e343cac3aca99778f45762b17df854f378393d302ec2b3d73
|
Provenance
The following attestation bundles were made for ide_config_mcp-0.1.5-py3-none-any.whl:
Publisher:
python-publish.yml on arcsinw/ide-config-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ide_config_mcp-0.1.5-py3-none-any.whl -
Subject digest:
68896b5f4604441bc5c81236c0b2a0f965d4e919fbdac08646da72c580ee0169 - Sigstore transparency entry: 433684951
- Sigstore integration time:
-
Permalink:
arcsinw/ide-config-mcp@98de4c9aa39b9cabd1e44e6b635490899453dffd -
Branch / Tag:
refs/heads/master - Owner: https://github.com/arcsinw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@98de4c9aa39b9cabd1e44e6b635490899453dffd -
Trigger Event:
push
-
Statement type: