MCP.so
登录
服务器

Okto Web3 MCP Server

@okto-hq

MCP sever using okto v2 apis

概览

What is Okto Web3 MCP Server?

A Model Context Protocol (MCP) server that integrates Okto Web3 with Claude Desktop, using automatic OAuth2 authentication. It lets AI assistants manage Web3 transactions and portfolio through natural language.

How to use Okto Web3 MCP Server?

Install by creating a Google Cloud project for OAuth credentials and obtaining Okto API keys from the Okto dashboard. Run authentication with npx @okto_web3/okto-mcp-server@latest auth, then add the server to the Claude Desktop configuration file with the required environment variables (OKTO_ENVIRONMENT, OKTO_CLIENT_PRIVATE_KEY, OKTO_CLIENT_SWA).

Key features of Okto Web3 MCP Server

  • View portfolio details including holdings and balances
  • Get account information across multiple chains
  • View NFT collections and portfolio
  • Check transaction history
  • Transfer tokens between addresses
  • Simple OAuth2 authentication with auto browser launch

Use cases of Okto Web3 MCP Server

  • Ask Claude to show your token balances across supported blockchains
  • Request a token transfer to another address via natural language
  • List your NFT collections and holdings without leaving the chat
  • Retrieve past orders and transaction history
  • Check which chains and tokens are available for your account

FAQ from Okto Web3 MCP Server

How do I set up authentication?

Create a Google Cloud project, enable OAuth, generate OAuth client credentials (Desktop or Web app), download the JSON key file as gcp-oauth.keys.json, then run the auth command which opens your browser for Google login.

Where are credentials stored?

Credentials are stored globally in ~/.okto-mcp/. The OAuth keys file is placed there, and after successful authentication, credentials.json is saved in the same directory.

What dependencies are required?

You need a Google Cloud project with OAuth 2.0 credentials, an Okto account with API credentials (private key and SWA), and Node.js to run the server.

Does the authentication process require a specific port?

Yes, the OAuth callback uses port 3000. If port 3000 is already in use, you must free it before running authentication.

What transport or protocol does the server use?

The server follows the Model Context Protocol (MCP) and uses stdio transport for communication with Claude Desktop.

标签

来自「其他」的更多内容