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.
- 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
npm install
npm run buildStart the server:
npm startFor development:
npm run devIf 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:
-
Stop the current server process: First, find the process ID (PID) of the running Node.js server. You can usually do this with
grep:ps aux | grep 'node dist/index.js'
Identify the PID from the output (it's typically the second column) and then stop the process:
kill <PID>
If the server was run with
npm run dev, you can often stop it by pressingCtrl+Cin the terminal where it's running. -
Recompile the TypeScript code:
npm run build
-
Restart the server:
npm run start
Or for development with automatic reloading (if configured in
package.json):npm run dev
To make the script directly executable from the command line, follow these steps:
-
Add a
binentry topackage.json: This tells npm how to create a symbolic link to your executable file."bin": { "ai-apps-config-mcp": "dist/index.js" }
-
Add a shebang to
src/index.ts: This line at the very top of your main script tells the system which interpreter to use.#!/usr/bin/env node
-
Make the file executable: After building, you need to give the output file execution permissions.
chmod +x dist/index.js
-
Link the package:
npm linkcreates a global symbolic link fromai-apps-config-mcpto your project, allowing you to run it from anywhere.npm link
list_apps- List all available applications with their configuration statusfind_config- Locate configuration files for a specific applicationread_config- Read and format configuration file contentssearch_config- Search within configuration files for specific settingsadd_config_location- Add new configuration locations for applications
The server currently supports these AI applications and their configuration files:
~/.gemini/settings.json- Gemini settings configuration
~/Library/Application Support/Claude/claude_desktop_config.json- Claude Desktop configuration
~/.claude/- Claude Code configuration directory
~/.vscode/mcp.json- VS Code MCP configuration
~/.cursor/mcp.json- Cursor MCP configuration
You can add support for new applications using the add_config_location tool:
# Example: Add a new config location
{
"app": "new-app",
"path": "~/.config/new-app/config.json",
"type": "file",
"description": "New App configuration",
"format": "json"
}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.
{
"mcpServers": {
"ai-apps-config": {
"command": "npx",
"args": [
"ai-apps-config-mcp"
],
"env": {}
}
}
}