mcp-configurator
Skill by arrase
Explains how to configure Model Context Protocol (MCP) servers for the ollama-agent main agent and its subagents. Useful for adding, editing, verifying, or troubleshooting MCP servers and tools.
Install mcp-configurator
Built from the published package, never by AI.
git clone --depth 1 https://github.com/arrase/ollama-agent /tmp/ollama-agent && mkdir -p ~/.claude/skills && cp -r /tmp/ollama-agent/ollama_agent/skills/builtin/mcp-configurator ~/.claude/skills/mcp-configuratorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/arrase/ollama-agent /tmp/ollama-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ollama-agent/ollama_agent/skills/builtin/mcp-configurator ~/.gemini/antigravity-cli/skills/mcp-configuratorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a configuration guide for Model Context Protocol (MCP) servers in ollama-agent. It covers two scopes: a global file at ~/.ollama-agent/mcp.json for the main agent, and ~/.ollama-agent/settings.yaml, where subagents can have their own MCP servers. It lists the supported transports, including stdio, http, sse, websocket and streamable HTTP, with field descriptions and examples.
The skill also explains how ${VAR} and %VAR% references are expanded from the host environment, and that a missing variable raises an error immediately. It describes how to check servers with /mcp and the ollama-agent mcp list command. It gives a workflow where the assistant edits the config and asks the user to run /mcp reload. It is intended for users of ollama-agent who add or troubleshoot MCP tools.
Written from the project's SKILL.md and checked against it.
What it can do
- Main agent MCP configAdds or edits global MCP servers in ~/.ollama-agent/mcp.json for the main orchestrator agent.
- Subagent MCP configDefines dedicated MCP servers for a subagent in ~/.ollama-agent/settings.yaml.
- Remote transportsCovers http, sse, websocket and streamable_http server connections with url, headers and timeouts.
- Environment variable expansionExplains how ${VAR} and %VAR% values in env and headers are resolved from the host environment.
- Server verificationDescribes checking servers and their tools with /mcp, /mcp list, /mcp reload and ollama-agent mcp list.
- Guided config workflowSets out steps to clarify scope, read current config, write valid JSON or YAML, and prompt for reload.
What you need
- ollama-agent installed
- npx or uvx for the example stdio servers
- Environment variables for any API keys or passwords referenced in the config
Try asking
- Add the GitHub MCP server to my main agent configuration
- Set up a Postgres MCP server for a database subagent
- Check why my MCP server failed to connect in ollama-agent
Good to know
- Subagent MCP servers are documented with command-based stdio fields only
- Missing referenced environment variables cause an immediate error
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: ollama_agent/skills/builtin/mcp-configurator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mcp-configurator
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
mcp-configurator: common questions
Where does ollama-agent store MCP server configuration?
Global MCP servers are set in ~/.ollama-agent/mcp.json. Subagent MCP servers are set under the subagents list in ~/.ollama-agent/settings.yaml.
What happens if an environment variable in the config is not set?
ollama-agent resolves variables from the system environment and raises an error immediately if one is missing. The skill recommends ${VAR_NAME} references for tokens and API keys instead of hardcoded values.
How do I apply changes to MCP servers without restarting?
The skill says to run /mcp reload in the chat. This reloads the MCP servers, rebuilds the tool graph in the current session, and shows the updated tool list.
How do I install mcp-configurator?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mcp-configurator free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp-configurator safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp-configurator?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
