Claude
Configure the VRPlatform MCP server in Claude Code and Claude API
Claude
Claude Code can connect to remote HTTP MCP servers. The Claude Messages API can also connect to remote MCP servers through the MCP connector.
Use the full MCP URL from Setup:
https://mcp.vrplatform.app/?api_key=<api-token>Add &team_id=<team-id> only if you want a default team for the session.
Claude Code
Add the server with the Claude Code CLI:
claude mcp add --transport http vrt "https://mcp.vrplatform.app/?api_key=<api-token>"You can also use JSON configuration:
claude mcp add-json vrt '{
"type": "http",
"url": "https://mcp.vrplatform.app/?api_key=<api-token>"
}'Inside Claude Code, run /mcp to confirm that the server connected.
Claude API
The Claude Messages API MCP connector currently exposes MCP tools to the model. It does not replace a full MCP client for MCP prompts or resources.
import Anthropic from '@anthropic-ai/sdk';
const anthropic = new Anthropic();
const response = await anthropic.beta.messages.create({
model: '<claude-model>',
max_tokens: 1000,
betas: ['mcp-client-2025-11-20'],
messages: [
{
role: 'user',
content: 'Use VRT MCP to check the server status.',
},
],
mcp_servers: [
{
type: 'url',
name: 'vrt',
url: 'https://mcp.vrplatform.app/?api_key=<api-token>',
},
],
tools: [
{
type: 'mcp_toolset',
mcp_server_name: 'vrt',
},
],
});
console.log(response);