A simple Model Context Protocol (MCP) server for Mesh.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add clay --env CLAY_API_KEY='<CLAY_API_KEY>' -- npx @clayhq/clay-mcp@latest~/.codex/config.toml
[mcp_servers.clay]
command = "npx"
args = ["@clayhq/clay-mcp@latest"]
env = { CLAY_API_KEY = "<CLAY_API_KEY>" }
# codex mcp add clay --env CLAY_API_KEY='<CLAY_API_KEY>' -- npx @clayhq/clay-mcp@latest~/.cursor/mcp.json
{
"mcpServers": {
"clay": {
"command": "npx",
"args": [
"@clayhq/clay-mcp@latest"
],
"env": {
"CLAY_API_KEY": "<CLAY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"clay": {
"type": "stdio",
"command": "npx",
"args": [
"@clayhq/clay-mcp@latest"
],
"env": {
"CLAY_API_KEY": "<CLAY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"clay": {
"command": "npx",
"args": [
"@clayhq/clay-mcp@latest"
],
"env": {
"CLAY_API_KEY": "<CLAY_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"clay": {
"command": "npx",
"args": [
"@clayhq/clay-mcp@latest"
],
"env": {
"CLAY_API_KEY": "<CLAY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"clay": {
"command": "npx",
"args": [
"@clayhq/clay-mcp@latest"
],
"env": {
"CLAY_API_KEY": "<CLAY_API_KEY>"
}
}
}
}Environment variables
CLAY_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.