Okto Web3 MCP Server logo

Okto Web3 MCP Server

by okto-hq

The Okto Web3 MCP Server enables AI assistants to manage Web3 transactions and portfolio through natural language interactions. It acts as a Model Context Protocol (MCP) server for Okto Web3 integration in Claude Desktop with auto authentication support.

View on GitHub

Last updated: N/A

What is Okto Web3 MCP Server?

The Okto Web3 MCP Server is a Model Context Protocol server designed to integrate Okto Web3 functionalities with Claude Desktop. It allows AI assistants to interact with and manage Web3 assets and transactions using natural language.

How to use Okto Web3 MCP Server?

To use the server, you need to set up a Google Cloud Project with OAuth2 credentials and obtain Okto credentials from the Okto dashboard. After configuring the server with these credentials, you can authenticate either globally or locally. Finally, configure Claude Desktop to use the server by adding the appropriate MCP server configuration.

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

  • Support for multiple blockchain networks

  • View supported chains and tokens

  • Simple OAuth2 authentication flow with auto browser launch

  • Support for both Desktop and Web application credentials

  • Global credential storage for convenience

Use cases of Okto Web3 MCP Server

  • Managing Web3 portfolio through natural language commands

  • Executing token transfers via AI assistant

  • Retrieving account information across multiple chains using AI

  • Viewing NFT collections and holdings through AI interactions

  • Automating Web3 tasks within Claude Desktop

FAQ from Okto Web3 MCP Server

Where are OAuth credentials stored?

OAuth credentials are stored securely in your local environment at ~/.okto-mcp/.

How do I resolve 'OAuth Keys Not Found' error?

Ensure gcp-oauth.keys.json is located in either your current directory or ~/.okto-mcp/ and check file permissions.

What should I do if I get an 'Invalid Credentials Format' error?

Verify your OAuth keys file contains either web or installed credentials. For web applications, ensure the redirect URI is correctly configured.

What to do if Okto Authentication Failed?

Verify your environment variables are set correctly and check that your Okto credentials are valid. Also, ensure you're using the correct environment (sandbox/production).

How do I configure Claude Desktop to use this server?

Add the provided JSON configuration to your Claude Desktop configuration file (typically located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS), replacing the placeholder values with your actual credentials and server path.