Enable and configure external tools and services for Ona Agent using the Model Context Protocol (MCP).
.ona/mcp-config.json
file in your repository to configure MCP servers.
git credential fill
returns a Personal Access Token (for example, run gh auth login
).
env
), and if you run the server via Docker you can additionally leverage container isolationtimeout
) and globally (globalTimeout
) in your MCP configtimeout
defaults to 30s and initial connection timeout defaults to 60s\${exec:printenv YOUR_VAR}
in MCP config)\${file:/your/mount/path}
)${file:/path/to/secret}
)${exec:...}
to fetch from an external secret store (for example, AWS Secrets Manager, GCP Secret Manager, Vault)${exec:...}
(fetch at runtime) or mounted files over plain environment variables for sensitive dataMCP controls in settings for an organization
.ona/mcp-config.json
files in projects are ignored