@subscriptonarc/mcp
v1.0.2
Published
Model Context Protocol (MCP) server for SubScript recurring payment protocol on the Arc network.
Readme
SubScript Model Context Protocol (MCP) Server
An MCP server designed for developers integrating the SubScript recurring Web3 payment protocol on the Arc Network. By adding this server to your IDE, AI assistants (like Cursor, Claude Code, and Copilot) gain immediate context on contract routing, token addresses, and the exact ABI definition.
Exposed Tools
get_subscript_config: Returns the Arc network testnet configuration, router addresses, native tokens, and periods.get_subscript_abi: Returns the full JSON ABI for the SubScript Router contract, enabling seamless generation of Wagmi/Viem transaction hooks.
Integration Guides
1. Cursor Integration (cursor_mcp.json / Settings)
To add this to Cursor, configure it as a command-line tool in Settings > Features > MCP:
- Name:
SubScript - Type:
command - Command:
npx -y @subscriptonarc/mcp
Alternatively, add this to your .cursor/mcp.json configuration file:
{
"mcpServers": {
"subscript": {
"command": "npx",
"args": ["-y", "@subscriptonarc/mcp"]
}
}
}2. Claude Desktop Integration
Add the configuration to your claude_desktop_config.json file:
- MacOS/Linux:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"subscript": {
"command": "npx",
"args": ["-y", "@subscriptonarc/mcp"]
}
}
}Local Development & Testing
Install dependencies:
npm installTest locally using the MCP Inspector:
npx @modelcontextprotocol/inspector node index.js
