Skip to main content
Glama
AI Apps Configuration MCP Server

AI Apps Configuration MCP Server

by bluebeckie
README.md
# AI Apps Configuration MCP Server

A Model Context Protocol (MCP) server that provides easy access to configuration files for popular AI applications. Pre-configured with common AI tools like Gemini, Claude Desktop, Claude Code, VS Code, and Cursor.

## Features

- Pre-configured mappings for popular AI applications
- Supports multiple configuration file formats (.plist, JSON, YAML, plain text)
- Provides tools to search, locate, and read config files
- Secure file operations with proper permission handling

## Installation

```bash
npm install
npm run build
```

## Usage

Start the server:
```bash
npm start
```

For development:
```bash
npm run dev
```

### Restarting the Server After Code Changes

If you modify the server's source code (e.g., adding new tools or features), you'll need to restart the server to apply the changes. Follow these steps:

1.  **Stop the current server process:**
    First, find the process ID (PID) of the running Node.js server. You can usually do this with `grep`:
    ```bash
    ps aux | grep 'node dist/index.js'
    ```
    Identify the PID from the output (it's typically the second column) and then stop the process:
    ```bash
    kill <PID>
    ```
    If the server was run with `npm run dev`, you can often stop it by pressing `Ctrl+C` in the terminal where it's running.

2.  **Recompile the TypeScript code:**
    ```bash
    npm run build
    ```

3.  **Restart the server:**
    ```bash
    npm run start
    ```
    Or for development with automatic reloading (if configured in `package.json`):
    ```bash
    npm run dev
    ```

## Making the code executable

To make the script directly executable from the command line, follow these steps:

1. **Add a `bin` entry to `package.json`**:
   This tells npm how to create a symbolic link to your executable file.

   ```json
   "bin": {
     "ai-apps-config-mcp": "dist/index.js"
   }
   ```

2. **Add a shebang to `src/index.ts`**:
   This line at the very top of your main script tells the system which interpreter to use.

   ```typescript
   #!/usr/bin/env node
   ```

3. **Make the file executable**:
   After building, you need to give the output file execution permissions.

   ```bash
   chmod +x dist/index.js
   ```

4. **Link the package**:
   `npm link` creates a global symbolic link from `ai-apps-config-mcp` to your project, allowing you to run it from anywhere.

   ```bash
   npm link
   ```

## MCP Tools

- `list_apps` - List all available applications with their configuration status
- `find_config` - Locate configuration files for a specific application
- `read_config` - Read and format configuration file contents
- `search_config` - Search within configuration files for specific settings
- `add_config_location` - Add new configuration locations for applications

## Supported Applications & Configuration Locations

The server currently supports these AI applications and their configuration files:

### Google Gemini
- `~/.gemini/settings.json` - Gemini settings configuration

### Claude Desktop
- `~/Library/Application Support/Claude/claude_desktop_config.json` - Claude Desktop configuration

### Claude Code
- `~/.claude/` - Claude Code configuration directory

### Visual Studio Code
- `~/.vscode/mcp.json` - VS Code MCP configuration

### Cursor
- `~/.cursor/mcp.json` - Cursor MCP configuration

## Adding New Applications

You can add support for new applications using the `add_config_location` tool:

```bash
# Example: Add a new config location
{
  "app": "new-app",
  "path": "~/.config/new-app/config.json",
  "type": "file",
  "description": "New App configuration",
  "format": "json"
}
```

## Example Configuration

### Claude Desktop

To use this MCP server with Claude Desktop, add the following configuration to your `claude-desktop-config.json` file. This assumes you have made the script executable and linked it using `npm link`.

```json
{
  "mcpServers": {
    "ai-apps-config": {
      "command": "npx",
      "args": [
        "ai-apps-config-mcp"
      ],
      "env": {}
    }
  }
}
```
Ask Claude Desktop to find my VScode mcp config
<img width="741" height="654" alt="find-config" src="https://github.com/user-attachments/assets/7b5095a4-7db1-4766-a5b9-7280ce0a014e" />


TDQS

B3.4/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a fairly distinct purpose: list_apps covers the inventory, find_config locates files, read_config displays contents, search_config greps within them, and add/update handle writes. The only mild overlap is between find_config and read_config, since an agent could reasonably try read_config to discover a path, but descriptions clarify the split.

Naming Consistency5/5

All six tools follow a clean snake_case verb_noun convention (list_apps, find_config, read_config, search_config, add_config_location, update_config). Verb choices are also semantically consistent: find/read/search differentiate retrieval modes.

Tool Count5/5

Six tools is well-scoped for a configuration management server, with each tool earning its place in a read-locate-search-write workflow. Nothing feels padded or missing at the count level.

Completeness3/5

Read, search, and write paths are covered (add_config_location, update_config), but there is no delete/remove operation for a configuration location or file, leaving a dead end for cleanup. App-level create/remove is also absent, so coverage is partial CRUD rather than a full lifecycle.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues