402-mcp
by forgesworn
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port (when TRANSPORT=http) | 3402 |
| NWC_URI | No | Nostr Wallet Connect URI for autonomous Lightning payments | |
| TOR_PROXY | No | SOCKS5 proxy for .onion addresses (e.g. socks5h://127.0.0.1:9050) | |
| TRANSPORT | No | Transport mode: stdio or http | stdio |
| SOCKS_PROXY | No | Generic SOCKS5 proxy for all requests when set | |
| CASHU_TOKENS | No | Path to Cashu token store file | |
| HNS_GATEWAY_URL | No | HTTP gateway for Handshake (.hns) domains (e.g. https://hns.to) | |
| CREDENTIAL_STORE | No | Persistent macaroon/credential storage | ~/.402-mcp/credentials.json |
| MAX_AUTO_PAY_SATS | No | Safety cap; payments above this require human confirmation | 1000 |
| TRANSPORT_PREFERENCE | No | Preferred transport order for multi-URL services (comma-separated) | onion,hns,https,http |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/forgesworn/402-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server