Test any REST API endpoint from the agent, with multiple HTTP methods and authentication options.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add rest-api --env REST_BASE_URL='<REST_BASE_URL>' -- npx -y dkmaker-mcp-rest-api~/.codex/config.toml
[mcp_servers.rest-api]
command = "npx"
args = ["-y", "dkmaker-mcp-rest-api"]
env = { REST_BASE_URL = "<REST_BASE_URL>" }
# codex mcp add rest-api --env REST_BASE_URL='<REST_BASE_URL>' -- npx -y dkmaker-mcp-rest-api~/.cursor/mcp.json
{
"mcpServers": {
"rest-api": {
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "<REST_BASE_URL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"rest-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "<REST_BASE_URL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rest-api": {
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "<REST_BASE_URL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"rest-api": {
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "<REST_BASE_URL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"rest-api": {
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "<REST_BASE_URL>"
}
}
}
}Environment variables
REST_BASE_URL
Replace the placeholders with your own credentials and keep them out of version control.