Skip to content

Commit dd7853e

Browse files
committed
update docs
1 parent 97e3dec commit dd7853e

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

AGENTS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
- **Type check**: `pnpm run type-check` (tsc --noEmit)
77
- **Test**: `pnpm run test` (Vitest)
88
- **Dev**: `pnpm run dev` (tsx watch src/server.ts)
9-
- **MCP Server**: `pnpm run mcp` or `pnpm run mcp:build`
109

1110
## Architecture
1211
- **GitHub Code Review Agent** using Hono.js framework
1312
- **Main components**: GitHub webhook processing, review queue, AI-powered code analysis
14-
- **Key directories**: src/github/ (auth, webhooks), src/review/ (queue, reviewer), src/mcp/ (Model Context Protocol)
13+
- **Key directories**: src/github/ (auth, webhooks), src/review/ (queue, reviewer), toolbox/ (Amp toolbox scripts)
1514
- **External integrations**: GitHub App API, Amp for AI reviews
1615
- **Configuration**: config.yml with environment variable interpolation
1716

README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A GitHub App for automated code reviews using Hono.js and Amp.
99
- **Queue Management**: Efficient job queuing and processing
1010
- **Code Review**: AI-powered code analysis and feedback
1111
- **Check Runs**: Integration with GitHub's check runs API for status reporting
12-
- **MCP Server**: Model Context Protocol server for AI agent integration
12+
- **Toolbox Integration**: Simple executable tools for AI agent integration
1313

1414
**Requirements**: Amp account with API key required for code reviews.
1515

@@ -23,7 +23,7 @@ A GitHub App for automated code reviews using Hono.js and Amp.
2323
pnpm install
2424
```
2525

26-
2. **Build (required for MCP server)**
26+
2. **Build (required for toolbox)**
2727
```bash
2828
pnpm run build
2929
```
@@ -162,20 +162,14 @@ pnpm run type-check
162162
pnpm run lint
163163
```
164164

165-
### MCP Server
166-
Run the standalone MCP server:
167-
```bash
168-
pnpm run mcp
169-
```
170-
171-
Or build and run:
172-
```bash
173-
pnpm run mcp:build
174-
```
165+
### Toolbox
175166

176-
## MCP Integration
167+
The app uses Amp's toolbox feature to provide GitHub operations as simple executable tools. Tools are located in `toolbox/` and copied to `dist/toolbox/` during build.
177168

178-
The app includes a Model Context Protocol (MCP) server that exposes GitHub operations as tools for Amp Agent. See [`src/mcp/README.md`](src/mcp/README.md) for details.
169+
Available tools:
170+
- `leave_inline_comment` - Leave line-specific code feedback
171+
- `leave_general_comment` - Leave overall PR feedback
172+
- `get_pr_comments` - Retrieve existing PR comments
179173

180174
## Architecture
181175

@@ -184,7 +178,7 @@ The app includes a Model Context Protocol (MCP) server that exposes GitHub opera
184178
- **GitHub Apps**: Secure app installation and JWT authentication
185179
- **Job Queue**: Background processing for code reviews
186180
- **Amp**: AI-powered code analysis engine
187-
- **MCP Server**: Model Context Protocol server for AI agent integration
181+
- **Toolbox**: Simple executable tools for AI agent integration
188182

189183
## License
190184

0 commit comments

Comments
 (0)