Connect an MCP client
Use remote HTTP with OAuth-capable clients, or run the installed CLI as a local stdio server.
Codex
text
codex mcp add nyas --url https://api.stage.nyas.io/mcpClaude Code
text
claude mcp add --transport http nyas https://api.stage.nyas.io/mcpLocal JSON
text
{
"mcpServers": {
"nyas": {
"args": [
"mcp"
],
"command": "nyas"
}
}
}Local TOML
text
[mcp_servers.nyas]
command = "nyas"
args = ["mcp"]
Authentication
Remote clients use OAuth or an Authorization: Bearer header. Local clients use credentials saved by nyas login, with NYAS_API_KEY as an environment override.
Transport differences
The tool reference labels local-only tools. Resource tools otherwise operate on the same project and storage contracts.