MCP Server for Trading212 platform
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add t212 --env T212_API_KEY='<T212_API_KEY>' --env T212_API_SECRET='<T212_API_SECRET>' -- npx t212-mcp-server~/.codex/config.toml
[mcp_servers.t212]
command = "npx"
args = ["t212-mcp-server"]
env = { T212_API_KEY = "<T212_API_KEY>", T212_API_SECRET = "<T212_API_SECRET>" }
# codex mcp add t212 --env T212_API_KEY='<T212_API_KEY>' --env T212_API_SECRET='<T212_API_SECRET>' -- npx t212-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"t212": {
"command": "npx",
"args": [
"t212-mcp-server"
],
"env": {
"T212_API_KEY": "<T212_API_KEY>",
"T212_API_SECRET": "<T212_API_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"t212": {
"type": "stdio",
"command": "npx",
"args": [
"t212-mcp-server"
],
"env": {
"T212_API_KEY": "<T212_API_KEY>",
"T212_API_SECRET": "<T212_API_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"t212": {
"command": "npx",
"args": [
"t212-mcp-server"
],
"env": {
"T212_API_KEY": "<T212_API_KEY>",
"T212_API_SECRET": "<T212_API_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"t212": {
"command": "npx",
"args": [
"t212-mcp-server"
],
"env": {
"T212_API_KEY": "<T212_API_KEY>",
"T212_API_SECRET": "<T212_API_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"t212": {
"command": "npx",
"args": [
"t212-mcp-server"
],
"env": {
"T212_API_KEY": "<T212_API_KEY>",
"T212_API_SECRET": "<T212_API_SECRET>"
}
}
}
}Environment variables
T212_API_KEYT212_API_SECRET
Replace the placeholders with your own credentials and keep them out of version control.