setup-mcp
Configure Model Context Protocol (MCP) servers in .agents/mcp_config.json (project-level) or ~/.gemini/config/mcp_config.json (global).
Skill by fderuiter
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fderuiter-setup-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/setup-mcp
What's inside
- Skill name
setup-mcp- Description
- Configure Model Context Protocol (MCP) servers in .agents/mcp_config.json (project-level) or ~/.gemini/config/mcp_config.json (global). User-invoked skill.
- License
- MIT
- Instructions
- 309 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Setup MCP
Configure Model Context Protocol (MCP) servers for Antigravity, connecting the agent to external tools, databases, APIs, and local services.
This is a user-invoked skill (`/setup-mcp`). It walks developers through selecting transport types, configuring server definitions, injecting environment variables safely, and verifying server connectivity.
## Target Configuration Files
Antigravity discovers MCP servers from two primary configuration files:
1. **Project-level**: `.agents/mcp_config.json` (or `.agent/mcp_config.json`)
- Located at the repository root.
- Ideal for project-specific tools: local development databases, repository-scoped filesystem servers, repo git tools, and project mock servers.
- Can be committed to version control to share tool configurations across the team (without committing secrets).
2. **Global**: `~/.gemini/config/mcp_config.json`
- Located in the user's home directory.
- Ideal for personal credentials, global developer utilities, cross-project integrations, and machine-wide services.
Both files use the standard `mcpServers` object format:
```json
{
"mcpServers": {
"<server-name>": {
...
}
}
}
```
## Supported Transports & Schemas
### 1. Stdio Transport (Local Process)
Used for local command-line tools, scripts, or package runners (`npx`, `uvx`, `node`, `python`). The language server spawns the child process and communicates via standard input and standard output.
**JSON Schema:**
```json
{
"command": "executable-name-or-path",
"args": ["arg1", "arg2"],
"env": {
"ENV_VAR_NAME": "value"
},
"cwd": "/optional/working/directory"
}
```
- `command` (string, required): Executable name on `PATH` (for example `npx`, `uvx`, `node`, `python`) or an absolute path to a binary.
- `args` (array of strings, optional): Command-line arguments passed to the executable.
- `env` (object, optional): Environment variables injected into the child process.
- `cwd` (string, optional): Working directory for process execution.
### 2. SSE Transport (Server-Sent Events)
Used for remote MCP services accessible over HTTP via Server-Sent Events.
**JSON Schema:**
```json
{
"serverUrl": "https://mcp.example.com/sse",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
```
- `serverUrl` (string, required): Full HTTP(S) URL of the remote SSE endpoint.
- `headers` (object, optional): Custom HTTP headers for authentication and routing.
### 3. HTTP Transport (Streamable HTTP Endpoint)
Used for remote MCP servers using streamable HTTP or REST endpoints.
**JSON Schema:**
```json
{
"url": "https://mcp.example.com/api",
"headers": {
"Authorization": "Bearer YOUR_TOKEN",
"X-Custom-Header": "value"
}
}
```
- `url` (string, required): Full HTTP(S) URL of the MCP endpoint.
- `headers` (object, optional): Custom HTTP headers such as bearer tokens or API keys.
## Common Server Recipes
### PostgreSQL Server (`@modelcontextprotocol/server-postgres`)
Exposes PostgreSQL database inspection and query tools.
```json
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://user:password@localhost:5432/mydb"
]
}
}
}
```
Or using an environment variable for credentials:
```json
{
"mcpServers": {
"postgres": {From fderuiter/agy-skills, MIT.
More from fderuiter/agy-skills
- 0.547score
retro
fderuiter
Analyze past Antigravity session transcripts (transcript.jsonl) to identify friction and extract systemic environment improvements: navigation pointers…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
implement-spec
fderuiter
User-invoked.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
setup-python-deep-modules
fderuiter
Wire import-linter into a Python repo so each package is a deep module, with implementation hidden in subfolders and reachable only through its entry-point…
SkillBFreshness: B★ 1Claude Code +9 - 0.540score
new-skill
fderuiter
User-invoked.
SkillBFreshness: B★ 1Claude Code +9 - 0.527score
code-review
fderuiter
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding…
SkillBFreshness: B★ 1Claude Code +9 - 0.527score
diagnosing-bugs
fderuiter
Diagnosis loop for hard bugs and performance regressions.
SkillBFreshness: B★ 1Claude Code +9 - 0.522score
prototype
fderuiter
Build a throwaway prototype to answer a design question.
SkillBFreshness: B★ 1Claude Code +9 - 0.522score
codebase-design
fderuiter
Shared vocabulary for designing deep modules.
SkillBFreshness: B★ 1Claude Code +9 - 0.522score
domain-modeling
fderuiter
Build and sharpen a project's domain model.
SkillBFreshness: B★ 1Claude Code +9 - 0.519score
to-spec
fderuiter
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
SkillBFreshness: B★ 1Claude Code +9 - 0.519score
improve-codebase-architecture
fderuiter
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
SkillBFreshness: B★ 1Claude Code +9 - 0.519score
setup-agy-skills
fderuiter
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 28, 2026 (2 months ago)
- Last release
- Aug 28, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fderuiter/agy-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from fderuiter
- 0.547score
implement-spec
fderuiter
User-invoked.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
retro
fderuiter
Analyze past Antigravity session transcripts (transcript.jsonl) to identify friction and extract systemic environment improvements: navigation pointers…
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
setup-python-deep-modules
fderuiter
Wire import-linter into a Python repo so each package is a deep module, with implementation hidden in subfolders and reachable only through its entry-point…
SkillBFreshness: B★ 1Claude Code +9 - 0.540score
new-skill
fderuiter
User-invoked.
SkillBFreshness: B★ 1Claude Code +9 - 0.527score
code-review
fderuiter
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding…
SkillBFreshness: B★ 1Claude Code +9 - 0.527score
diagnosing-bugs
fderuiter
Diagnosis loop for hard bugs and performance regressions.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
setup-mcp skill. Agent Mart. https://agentmart.dev/skills/fderuiter-setup-mcp (last updated 2026-10-24)