MCP Server Studio
P2P GPU matrix multiply, exact cosine search, and PCA/SVD verified via Freivalds' algorithm.
Registry name: dev.pages.matrix-compute-website/matrix-compute-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"matrix-compute-mcp": {
"command": "uvx",
"args": [
"matrix-compute-mcp==0.1.3"
],
"env": {
"MATRIX_NOSTR_RELAYS": "<MATRIX_NOSTR_RELAYS>",
"MATRIX_SETTLEMENT_API_URL": "<MATRIX_SETTLEMENT_API_URL>",
"MATRIX_NWC_URI": "<MATRIX_NWC_URI>"
}
}
}
}Run in your terminal:
claude mcp add matrix-compute-mcp -e MATRIX_NOSTR_RELAYS='<MATRIX_NOSTR_RELAYS>' -e MATRIX_SETTLEMENT_API_URL='<MATRIX_SETTLEMENT_API_URL>' -e MATRIX_NWC_URI='<MATRIX_NWC_URI>' -- uvx matrix-compute-mcp==0.1.3Add to .cursor/mcp.json:
{
"mcpServers": {
"matrix-compute-mcp": {
"command": "uvx",
"args": [
"matrix-compute-mcp==0.1.3"
],
"env": {
"MATRIX_NOSTR_RELAYS": "<MATRIX_NOSTR_RELAYS>",
"MATRIX_SETTLEMENT_API_URL": "<MATRIX_SETTLEMENT_API_URL>",
"MATRIX_NWC_URI": "<MATRIX_NWC_URI>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"matrix-compute-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"matrix-compute-mcp==0.1.3"
],
"env": {
"MATRIX_NOSTR_RELAYS": "<MATRIX_NOSTR_RELAYS>",
"MATRIX_SETTLEMENT_API_URL": "<MATRIX_SETTLEMENT_API_URL>",
"MATRIX_NWC_URI": "<MATRIX_NWC_URI>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"matrix-compute-mcp": {
"command": "uvx",
"args": [
"matrix-compute-mcp==0.1.3"
],
"env": {
"MATRIX_NOSTR_RELAYS": "<MATRIX_NOSTR_RELAYS>",
"MATRIX_SETTLEMENT_API_URL": "<MATRIX_SETTLEMENT_API_URL>",
"MATRIX_NWC_URI": "<MATRIX_NWC_URI>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"matrix-compute-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.matrix-compute.net/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http matrix-compute-mcp https://mcp.matrix-compute.net/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"matrix-compute-mcp": {
"url": "https://mcp.matrix-compute.net/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"matrix-compute-mcp": {
"type": "http",
"url": "https://mcp.matrix-compute.net/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"matrix-compute-mcp": {
"serverUrl": "https://mcp.matrix-compute.net/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
MATRIX_NOSTR_RELAYS | No | Nostr discovery relay WebSocket URL (default: wss://relay.matrix-compute.net) |
MATRIX_SETTLEMENT_API_URL | No | Lightning L402 settlement service URL (default: https://settlement.matrix-compute.net) |
MATRIX_NWC_URI | No | Optional Nostr Wallet Connect (nostr+walletconnect://) URI for mainnet jobs |