Skip to main content

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 name
  • value: 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

  1. 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
  2. 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

ide_config_mcp-0.1.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ide_config_mcp-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file ide_config_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: ide_config_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ide_config_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 03d8ec797fca30781a62a34f9ef099484714a63a13ff8b2deea3139828ba35dc
MD5 42420700ee38bec0af9cfa44026c8875
BLAKE2b-256 f108d7f89fa72e0b4ee0e3ff7b958cfaae771c40f1cf73d98a09597a17d04796

See more details on using hashes here.

Provenance

The following attestation bundles were made for ide_config_mcp-0.1.4.tar.gz:

Publisher: python-publish.yml on arcsinw/ide-config-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ide_config_mcp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: ide_config_mcp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ide_config_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 962b0b238da00bc9adccf62873f5c41bceda0f74480894d9f373748961721d1a
MD5 5ccde5ba36d0e6c6d27146734a3090af
BLAKE2b-256 186957fcc02c94b2d105f2eaa3fd622a151d68bd1e0e07f4c18accb0e8f18f77

See more details on using hashes here.

Provenance

The following attestation bundles were made for ide_config_mcp-0.1.4-py3-none-any.whl:

Publisher: python-publish.yml on arcsinw/ide-config-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page