BLOG-296 Add MCP configuration and setup instructions #297
Reference in New Issue
Block a user
Delete Branch "BLOG-296_add_mcp_servers_for_antigravity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
.agents/mcp_config.jsonto register MCP servers forgitea,svelte, andcratesiodomains.README.mdwith step-by-step instructions to set up the Go environment, installcratesio-mcp, and configure the Gitea access token..gitea/PULL_REQUEST_TEMPLATE.yaml..antigravityclidirectory to.gitignoreto prevent tracking of local CLI configurations.Package Changes
No response
Screenshots
No response
Reference
Resolves #296.
Checklist
/improve
PR Code Suggestions ✨
Explicitly pass required environment variable
The
README.mdfile instructs users to export aGITEA_ACCESS_TOKENfor the Gitea MCPserver. However, this environment variable is not included in the server's
configuration, which could lead to authentication failures. Explicitly passing
required environment variables ensures the server runs correctly.
.agents/mcp_config.json [6-8]
Suggestion importance[1-10]: 8
__
Why: This suggestion correctly points out a critical inconsistency between the documentation and the configuration. The
README.mdinstructs users to setGITEA_ACCESS_TOKEN, but it's not passed to the Gitea MCP server in the configuration. This would likely cause authentication failures, so adding it to theenvblock is an important fix.Add missing dependency installation step
The setup instructions for MCP servers are incomplete as they omit the installation
of
bun. Since thesvelteMCP server is configured to run withbunxin.agents/mcp_config.json,bunis a required dependency. Adding this step is necessaryfor users to successfully set up the complete development environment.
README.md [82-90]
Suggestion importance[1-10]: 7
__
Why: The suggestion correctly identifies that the setup instructions in
README.mdare incomplete. The.agents/mcp_config.jsonfile specifies usingbunxfor thesvelteserver, which requiresbunto be installed. Adding this step is crucial for developers to successfully set up the environment.Pin dependencies to specific versions
The
giteaMCP server uses@latestand thesvelteserver uses an unspecified version,which resolves to the latest. This can introduce unexpected breaking changes when
new versions are released. Pinning these dependencies to specific versions will
ensure a more stable and reproducible environment.
.agents/mcp_config.json [5-13]
Suggestion importance[1-10]: 6
__
Why: The suggestion provides a valid best practice. Using
@latestforgitea-mcpand an unpinned version for@sveltejs/mcpcan lead to unexpected breaking changes. Pinning dependencies ensures a stable and reproducible development environment.BLOG-296 feat: Add MCP configuration and setup instructionsto BLOG-296 Add MCP configuration and setup instructions27491a6aa4