https://github.com/hide-org/hide-mcp
MCP server for Hide
https://github.com/hide-org/hide-mcp
Last synced: 3 months ago
JSON representation
MCP server for Hide
- Host: GitHub
- URL: https://github.com/hide-org/hide-mcp
- Owner: hide-org
- License: mit
- Created: 2024-11-26T18:00:15.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-07T11:05:06.000Z (7 months ago)
- Last Synced: 2025-03-07T12:20:37.614Z (7 months ago)
- Language: Python
- Size: 176 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - Hide MCP - An MCP server that enables agentic work on code in a headless environment, illustrating the adaptability of the Model Context Protocol for automation tasks. ([Read more](/details/hide-mcp.md)) `headless` `automation` `code-execution` `ai-agent` (Code Execution & Automation MCP Servers)
README
# Hide MCP server
A MCP server for Hide – headless IDE.
## Components
### Tools
The server implements two tools adapted from [Anthropic's computer-use-demo](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo/computer_use_demo/tools):
#### Text Editor
For viewing and editing files. Features file viewing with line numbers, directory listing, file creation, string replacement with exact matching, line insertion, and edit history.#### Bash
A persistent bash shell with support for common Linux/Python packages, background processes and automatic output truncation.## Quickstart
### Install
#### Claude Desktop
On MacOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
On Windows: `%APPDATA%/Claude/claude_desktop_config.json`Development/Unpublished Servers Configuration
```
"mcpServers": {
"hide-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/hide-mcp",
"run",
"hide-mcp"
]
}
}
```Published Servers Configuration
```
"mcpServers": {
"hide-mcp": {
"command": "uvx",
"args": [
"hide-mcp"
]
}
}
```## Development
### Building and Publishing
To prepare the package for distribution:
1. Sync dependencies and update lockfile:
```bash
uv sync
```2. Build package distributions:
```bash
uv build
```This will create source and wheel distributions in the `dist/` directory.
3. Publish to PyPI:
```bash
uv publish
```Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token: `--token` or `UV_PUBLISH_TOKEN`
- Or username/password: `--username`/`UV_PUBLISH_USERNAME` and `--password`/`UV_PUBLISH_PASSWORD`### Packaging
To package the service into a standalone executable:
```bash
uv run pyinstaller hide-mcp.spec
```This will create a standalone executable in the `dist/` directory.
### Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging
experience, we strongly recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector).You can launch the MCP Inspector via [`npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) with this command:
```bash
npx @modelcontextprotocol/inspector uv --directory /path/to/hide-mcp run hide-mcp
```Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.