Chargetrip MCP server is an MCP server to integrate Chargetrip GraphQL API into you AI agent.
ChargetripMCP-GithubCopilot.mp4
You can use this directly in the GitHub Copilot by adding an mcp.json file in the .vscode directory of the root directory:
{ "servers": { "chargetrip-mcp": { "type": "stdio", "command": "npx", "args": ["@chargetrip/mcp"], "env": { "CLIENT_ID": "*** YOUR CLIENT ID HERE ***", "APP_ID": "*** YOUR APP ID HERE ***" } } }, "inputs": [] }You can use this directly in the Claude Code, by running:
claude mcp add chargetrip --env CLIENT_ID=YOUR_CLIENT_ID --env APP_ID=YOUR_APP_ID -- npx -y @chargetrip/mcpThe package can be found in npmjs.com at https://www.npmjs.com/package/@chargetrip/mcp.
You will need to add two environment variables:
- CLIENT_ID with the client id from your workspace (usually sent under
x-client-idheader) - APP_ID with the application id from your workspace (usually sent under
x-app-idheader)