Openfort MCP Server is part of the open-source alternative wallet infrastructure solution provided by Openfort. Through the Model Context Protocol (MCP), it enhances the capabilities of AI assistants, enabling them to automatically create projects, manage configurations, and query data when building applications on Openfort infrastructure.
Purpose
This server is designed to provide AI assistants with a plug-and-play access point, integrating authentication, project scaffolding, and smart wallet tools, thereby improving the developer experience when building applications on Openfort.
Main Capabilities
- 42 tools: A complete set of tools for interacting with Openfort.
- Authentication: Authenticate directly by plugging in MCP.
- Initialization: Create new Openfort projects from chat.
- Scaffolding: Build new applications from scratch with a single prompt.
- Context: Query the latest version of the documentation.
- Creation: Generate wallets, users, contracts, and policies just by telling the LLM.
Usage
Before use, ensure that Node.js is installed and that you have an Openfort account. After installing the Openfort MCP server, configure it according to the code editor you are using:
Cursor
It can be found in the "Tools & Integrations" tab in the system or Cursor settings. After filling in the configuration content, the Openfort MCP server will be visible in the tab without restarting, and authentication will be triggered automatically.
Windsurf
Replace ~/.codeium/windsurf/mcp_config.json the contents of the file. This file can be found via Windsurf Settings > Cascade > Plugins (MCP Servers) > View Raw Config.
Visual Studio Code
To integrate into VS Code for use with GitHub Copilot, edit .vscode/mcp.json file or run MCP: Open User Configuration command to add the corresponding configuration content.
Claude Desktop
Click "Edit Config" in the Developer tab under Settings to automatically create the configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
After modification, Claude Desktop needs to be restarted. If Node.js was just installed, you may also need to restart your computer.
Add LLM Rules
Since LLMs tend to forget the available tools and may make mistakes, it is recommended to add rules in the editor to remind them.
Create a New Project
Create a new project in the editor and enter a prompt to the LLM to scaffold it. The LLM will automatically invoke the available tools on the Openfort MCP server when needed.
Debugging Common Issues
- Errors still reported after the project is completed: AI should not expect to generate an entire application perfectly with one prompt; iteration, reviewing output, manual correction, or seeking AI help is needed.
- Policy creation loop: The AI agent may get stuck in a loop creating policies. The reason is unknown but harmless; cancel the generation and prompt the agent to continue to the next step.
- npm run dev fails to start: This is usually because the project was created in a subfolder without switching directories. Manually enter the subfolder and run it again.
- Unable to edit or create the .env file: This is usually due to insufficient file permissions. In Cursor, add
.cursorignorefile and include!.envto explicitly allow AI to edit that file. Other editors or environments should take a similar approach.
Applicable Scenarios
Suitable for developers building applications using Openfort infrastructure who want to automate project creation, configuration management, and wallet-related operations through AI assistants.
Limitations
The materials do not mention specific limitation information such as fees, pricing, or platform support, so none is provided for now.