ngtchain MCP
A stdio MCP server that enables AI agents to pay for API access using NGT or USDC tokens on the Base blockchain. It handles local signing, wallet funding, and enforces spending caps and session budgets to control costs during automated interactions with paywalled services.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Pay for API access behind NGT x402 paywalls
- Fund agent wallet with NGT or USDC
- Check wallet status and remaining budget
- Fetch NGT stream data
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@ngtchain/mcp 1.7.4
{
"version": "1.7.4",
"transport": "stdio",
"identifier": "@ngtchain/mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "NGT_AGENT_PRIVATE_KEY",
"format": "string",
"isRequired": true,
"description": "Wallet key that signs NGT payments. Use a dedicated wallet."
},
{
"name": "NGT_MAX_PRICE",
"format": "string",
"description": "Most one call may pay, in NGT. Default 0.01."
},
{
"name": "NGT_SESSION_BUDGET",
"format": "string",
"description": "Most pay_and_fetch may spend per server session, in NGT. Default 0.1."
},
{
"name": "NGT_USDC_MAX_PRICE",
"format": "string",
"description": "Most one call may pay, in USDC on Base. Default 0, which keeps USDC off."
},
{
"name": "NGT_USDC_SESSION_BUDGET",
"format": "string",
"description": "Most pay_and_fetch may spend per server session, in USDC, separate from the NGT budget. Default 0, which keeps USDC off."
},
{
"name": "NGT_PREFERRED_CURRENCY",
"format": "string",
"description": "Token to pay when a seller takes both NGT and USDC: NGT or USDC. Default NGT."
},
{
"name": "NGT_MAX_FUNDING",
"format": "string",
"description": "Most one fund_agent_wallet request may ask the user's browser wallet to send, in NGT. Default 10."
},
{
"name": "NGT_HOST_HEADERS",
"format": "string",
"description": "Headers sent to one host only, as JSON, e.g. {\"api.example.com\":{\"x-api-key\":\"...\"}}. The model never sees them."
},
{
"name": "NGT_HOME",
"format": "string",
"description": "Folder for the local activity log and the pause flag. Default ~/.ngtchain."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"ngtchain-mcp": {
"command": "npx",
"args": [
"-y",
"@ngtchain/mcp@1.7.4"
],
"env": {
"NGT_AGENT_PRIVATE_KEY": "<YOUR_NGT_AGENT_PRIVATE_KEY>",
"NGT_MAX_PRICE": "<YOUR_NGT_MAX_PRICE>",
"NGT_SESSION_BUDGET": "<YOUR_NGT_SESSION_BUDGET>",
"NGT_USDC_MAX_PRICE": "<YOUR_NGT_USDC_MAX_PRICE>",
"NGT_USDC_SESSION_BUDGET": "<YOUR_NGT_USDC_SESSION_BUDGET>",
"NGT_PREFERRED_CURRENCY": "<YOUR_NGT_PREFERRED_CURRENCY>",
"NGT_MAX_FUNDING": "<YOUR_NGT_MAX_FUNDING>",
"NGT_HOST_HEADERS": "<YOUR_NGT_HOST_HEADERS>",
"NGT_HOME": "<YOUR_NGT_HOME>"
}
}
}
}Cline
{
"mcpServers": {
"ngtchain-mcp": {
"command": "npx",
"args": [
"-y",
"@ngtchain/mcp@1.7.4"
],
"env": {
"NGT_AGENT_PRIVATE_KEY": "<YOUR_NGT_AGENT_PRIVATE_KEY>",
"NGT_MAX_PRICE": "<YOUR_NGT_MAX_PRICE>",
"NGT_SESSION_BUDGET": "<YOUR_NGT_SESSION_BUDGET>",
"NGT_USDC_MAX_PRICE": "<YOUR_NGT_USDC_MAX_PRICE>",
"NGT_USDC_SESSION_BUDGET": "<YOUR_NGT_USDC_SESSION_BUDGET>",
"NGT_PREFERRED_CURRENCY": "<YOUR_NGT_PREFERRED_CURRENCY>",
"NGT_MAX_FUNDING": "<YOUR_NGT_MAX_FUNDING>",
"NGT_HOST_HEADERS": "<YOUR_NGT_HOST_HEADERS>",
"NGT_HOME": "<YOUR_NGT_HOME>"
}
}
}
}VS Code
{
"servers": {
"ngtchain-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ngtchain/mcp@1.7.4"
],
"env": {
"NGT_AGENT_PRIVATE_KEY": "<YOUR_NGT_AGENT_PRIVATE_KEY>",
"NGT_MAX_PRICE": "<YOUR_NGT_MAX_PRICE>",
"NGT_SESSION_BUDGET": "<YOUR_NGT_SESSION_BUDGET>",
"NGT_USDC_MAX_PRICE": "<YOUR_NGT_USDC_MAX_PRICE>",
"NGT_USDC_SESSION_BUDGET": "<YOUR_NGT_USDC_SESSION_BUDGET>",
"NGT_PREFERRED_CURRENCY": "<YOUR_NGT_PREFERRED_CURRENCY>",
"NGT_MAX_FUNDING": "<YOUR_NGT_MAX_FUNDING>",
"NGT_HOST_HEADERS": "<YOUR_NGT_HOST_HEADERS>",
"NGT_HOME": "<YOUR_NGT_HOME>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"ngtchain-mcp": {
"command": "npx",
"args": [
"-y",
"@ngtchain/mcp@1.7.4"
],
"env": {
"NGT_AGENT_PRIVATE_KEY": "<YOUR_NGT_AGENT_PRIVATE_KEY>",
"NGT_MAX_PRICE": "<YOUR_NGT_MAX_PRICE>",
"NGT_SESSION_BUDGET": "<YOUR_NGT_SESSION_BUDGET>",
"NGT_USDC_MAX_PRICE": "<YOUR_NGT_USDC_MAX_PRICE>",
"NGT_USDC_SESSION_BUDGET": "<YOUR_NGT_USDC_SESSION_BUDGET>",
"NGT_PREFERRED_CURRENCY": "<YOUR_NGT_PREFERRED_CURRENCY>",
"NGT_MAX_FUNDING": "<YOUR_NGT_MAX_FUNDING>",
"NGT_HOST_HEADERS": "<YOUR_NGT_HOST_HEADERS>",
"NGT_HOME": "<YOUR_NGT_HOME>"
}
}
}
}Let your agent find its tools
Find servers like ngtchain MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.