Apollo Config
FreeNot checkedEnables querying and editing configuration items in Apollo Config Center using portal login, with support for multiple environments, clusters, and namespaces.
About
Enables querying and editing configuration items in Apollo Config Center using portal login, with support for multiple environments, clusters, and namespaces.
README
MCP server for Apollo Config Center using portal username/password login, implemented with FastMCP.
Install
pip install mcp-apollo-config
Local editable install:
pip install -e .
Auth Mode
The plugin authenticates by portal session:
POST /signinwith username/password- Receives login session cookie (
SESSIONorJSESSIONID) - Uses portal management APIs under
/apps/{appId}/envs/{env}/...
No OpenAPI token is required.
Governance Mode
readonly(default): query onlyeditable: query + edit (requires--operator)
MCP Configuration
Configure the server in your MCP client with command + args:
{
"mcpServers": {
"apollo": {
"command": "mcp-apollo-config",
"args": [
"--portal-url", "http://apollo-portal.example.com",
"--username", "your.username",
"--password", "your.password",
"--governance-mode", "readonly",
"--default-app-id", "your-app-id",
"--default-env", "DEV",
"--default-cluster", "default",
"--default-namespace", "application"
]
}
}
}
Full Parameters
Required:
--portal-urlorAPOLLO_PORTAL_URL--usernameorAPOLLO_USERNAME--passwordorAPOLLO_PASSWORD
Optional:
--login-submitorAPOLLO_LOGIN_SUBMIT--governance-modeorAPOLLO_GOVERNANCE_MODE:readonly|editable--operatororAPOLLO_OPERATOR(required in editable mode)--default-app-idorAPOLLO_DEFAULT_APP_ID--default-envorAPOLLO_DEFAULT_ENV(for exampleDEV,TEST)--default-clusterorAPOLLO_DEFAULT_CLUSTER(default:default)--default-namespaceorAPOLLO_DEFAULT_NAMESPACE--timeout-msorAPOLLO_TIMEOUT_MS(default:10000)--log-levelorMCP_APOLLO_LOG_LEVEL:DEBUG|INFO|WARN|ERROR(default:WARN)--debug-httporMCP_APOLLO_DEBUG_HTTP=true
Tools
apollo_get_namespace_configs: query all key/value items under a namespace/environment/cluster with pagination controls (pageSize,maxItems).apollo_get_key: query one config key under a namespace/environment/cluster.apollo_edit_key(editable mode only): create or update one key and return the updated item.
Tests
Local tests use a mock Apollo portal server and do not require real credentials or network access.
python -m unittest discover -s tests -p "test_*.py"
Covered scenarios:
tools/listin readonly and editable modeapollo_get_keyapollo_get_namespace_configsapollo_edit_key- Portal session login + cookie flow
Notes
- The management API path includes
/envs/{env}. Set--default-envor passenvin tool arguments. - The server is built on FastMCP and runs in stdio transport mode.
- After editing a key, Apollo release may still be needed before clients see the change.
- Avoid keeping
DEBUGlogs enabled in production for long periods.
Chinese README
Install Apollo Config in Claude Desktop, Claude Code & Cursor
unyly install mcp-apollo-configInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add mcp-apollo-config -- uvx mcp-apollo-configFAQ
Is Apollo Config MCP free?
Yes, Apollo Config MCP is free — one-click install via Unyly at no cost.
Does Apollo Config need an API key?
No, Apollo Config runs without API keys or environment variables.
Is Apollo Config hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Apollo Config in Claude Desktop, Claude Code or Cursor?
Open Apollo Config on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Apollo Config with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
