Agent settlement protocol — discover, negotiate, settle, and verify with XAP.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add xap --env XAP_API_KEY='<XAP_API_KEY>' -- npx -y @agenticamem/xap-mcp~/.codex/config.toml
[mcp_servers.xap]
command = "npx"
args = ["-y", "@agenticamem/xap-mcp"]
env = { XAP_API_KEY = "<XAP_API_KEY>" }
# codex mcp add xap --env XAP_API_KEY='<XAP_API_KEY>' -- npx -y @agenticamem/xap-mcp~/.cursor/mcp.json
{
"mcpServers": {
"xap": {
"command": "npx",
"args": [
"-y",
"@agenticamem/xap-mcp"
],
"env": {
"XAP_API_KEY": "<XAP_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"xap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agenticamem/xap-mcp"
],
"env": {
"XAP_API_KEY": "<XAP_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"xap": {
"command": "npx",
"args": [
"-y",
"@agenticamem/xap-mcp"
],
"env": {
"XAP_API_KEY": "<XAP_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"xap": {
"command": "npx",
"args": [
"-y",
"@agenticamem/xap-mcp"
],
"env": {
"XAP_API_KEY": "<XAP_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"xap": {
"command": "npx",
"args": [
"-y",
"@agenticamem/xap-mcp"
],
"env": {
"XAP_API_KEY": "<XAP_API_KEY>"
}
}
}
}Environment variables
XAP_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.