Content
# Dev Assistant MCP
A lightweight MCP server for local developer productivity.
## Features
- Read files from the current workspace
- Search project files by keyword
- Run safe development commands
- Save developer notes
## Tools
### `read_file`
Reads a UTF-8 file from the workspace.
Input:
```json
{ "path": "src/index.ts" }
```
### `search_files`
Searches project files by file path and text content.
Input:
```json
{ "query": "readFileTool" }
```
### `run_command`
Runs safe local development commands (`npm`, `npx`, `node`, `pnpm`, `yarn`, `git`, `tsc`, `tsx`).
Input:
```json
{ "command": "npm run build" }
```
### `save_note`
Appends a timestamped note to `notes/dev-notes.md`.
Input:
```json
{ "text": "Investigate flaky test in auth module" }
```
## Development
```bash
npm install
npm run dev
```
## Cursor MCP Config
Add this server in your MCP settings:
```json
{
"mcpServers": {
"dev-assistant": {
"command": "node",
"args": ["dist/index.js"],
"cwd": "/absolute/path/to/local-dev-assistant-mcp"
}
}
}
```
For development, you can also run with `tsx src/index.ts`.