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

  1. Clone this repository
  2. Install dependencies: pip install -r requirements.txt

Available Tools

get_vscode_settings

Get VS Code configuration file content.

Returns: JSON content of the configuration file

update_vscode_settings

Update VS Code configuration file.

Parameters:

  • settings: Settings to update (dictionary format)

Returns: Updated configuration file content

get_vscode_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_vscode_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

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.0.tar.gz (3.4 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.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ide_config_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 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.0.tar.gz
Algorithm Hash digest
SHA256 161f18ed0c57eca6f68dcb08ee4f9f00e529667f173e7faa5429c2be35b2459d
MD5 142af94a7d68a3aeb7397efc6ae10c8c
BLAKE2b-256 7941a060439e2f6dd5c2dfc9112ef4d84300c6bfae53fccd7c7157cf4d40336b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ide_config_mcp-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: ide_config_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7912b6b794b6b757c8d9b699b545660a27078a0c6e2fe6b05a6a408dfb8a38bc
MD5 8f8a09ff006c5a04508391912074b520
BLAKE2b-256 b444b5c5df95bc62b8f458ee8ca7f108975e1554418ffc77d1a3b4fd95ccc0d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ide_config_mcp-0.1.0-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