Files
blog/.agents/mcp_config.json
SquidSpirit 745a1de78a
All checks were successful
Frontend CI / build (push) Successful in 58s
BLOG-296 Add MCP configuration and setup instructions (#297)
### Description

This PR configures and registers MCP (Model Context Protocol) servers to enhance AI-assisted development workflow, corrects a typo in the PR template, and documents the setup instructions in `README.md`.

Specifically, the following changes are introduced:
- **MCP Configuration**: Created `.agents/mcp_config.json` to register MCP servers for `gitea`, `svelte`, and `cratesio` domains.
- **Documentation**: Updated `README.md` with step-by-step instructions to set up the Go environment, install `cratesio-mcp`, and configure the Gitea access token.
- **Template Correction**: Corrected a typo in `.gitea/PULL_REQUEST_TEMPLATE.yaml`.
- **Git Ignore**: Added `.antigravitycli` directory to `.gitignore` to prevent tracking of local CLI configurations.

### Package Changes

_No response_

### Screenshots

_No response_

### Reference

Resolves #296.

### Checklist

- [x] A milestone is set
- [x] The related issues has been linked to this branch

Reviewed-on: #297
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2026-05-22 23:42:27 +08:00

19 lines
362 B
JSON

{
"mcpServers": {
"gitea": {
"command": "go",
"args": ["run", "gitea.com/gitea/gitea-mcp@latest", "-t", "stdio"],
"env": {
"GITEA_HOST": "https://git.squidspirit.com"
}
},
"svelte": {
"command": "bunx",
"args": ["-y", "@sveltejs/mcp"]
},
"cratesio": {
"command": "cratesio-mcp"
}
}
}