Openfort MCP Server
Enables AI assistants to interact with Openfort's wallet infrastructure, allowing them to create projects, manage configurations, generate wallets and users, and query documentation through 42 integrated tools.
README
<h1> Openfort Model Context Protocol (MCP) Server</h1>
Openfort is an open source alternative to wallet infrastructure solutions, it supercharges your project with authentication, user management and payments.
Openfort’s MCP Server is a plug-and-play solution that enhances AI assistants by enabling them to create projects, manage configurations, and query data automatically when building applications on Openfort's infrastructure. Here's a guide on how to set it up
Features
- 🔨 42 Tools — A complete set of tools to interact with Openfort
- 🔐 Authentication — Directly authenticate from just plugging in the MCP
- 📄️ Initialize — Create new Openfort projects from the chat
- 🏗️ Scaffold — Build new apps from scratch using a single prompt
- 🔎 Context — Query the latest version of the documentation
- 💳️ Create — Generate wallets, users, contracts, and policies by just telling the LLM
Steps
- Install Openfort's MCP server.
- Add rules for the LLMs.
- Create a new project.
- Debug common issues.
- Discover all the capabilities.
1. Install Openfort's MCP server
This will allow your AI Assistant to interact with Openfort's tools on your behalf to create projects and manage them.
Ensure you have the following prerequisites:
Now, add it to your code editor. Based on your preferred tool, follow the instructions below:
Cursor
To integrate our MCP Server with Cursor you can either:
One-click installation
<AddToCursor />
Edit the ~/.cursor/mcp.json
You can look it up on your system or find it under the Tools & Integrations tab in your Cursor Settings. Fill it with the following content:
{
"mcpServers": {
"openfort-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.openfort.io/sse"
]
}
}
}
Then you should see the Openfort MCP server listed on your Tools & Integrations tab without the need to restart. The authentication will trigger automatically.
Windsurf
For integration with Windsurf, replace the contents of the ~/.codeium/windsurf/mcp_config.json file with the following. It can be located at:
Windsurf Settings > Cascade > Plugins (MCP Servers) > View Raw Config
For MacOS/Linux
{
"mcpServers": {
"openfort-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.openfort.io/sse"
],
"disabled": false
}
}
}
For windows
{
"mcpServers": {
"openfort-mcp": {
"command": "cmd",
"args": [
"/c",
"npx",
"mcp-remote",
"https://mcp.openfort.io/sse"
],
"disabled": false
}
}
}
Visual Studio Code
To integrate an MCP Server into VS Code for use with GitHub Copilot, you should edit the .vscode/mcp.json file or run the MCP: Open User Configuration command which opens the file to add the following content:
{
"servers": {
"openfort-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.openfort.io/sse"
]
}
}
}
Claude Desktop
To add our MCP Server to Claude Desktop, click on Edit Config in the Developer tab under Settings to automatically create a file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Once created, fill it with the following content:
{
"mcpServers": {
"openfort-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.openfort.io/sse"
]
}
}
}
You will need to restart Claude Desktop after modifying the configuration file. Also, if you freshly installed Node.js you may need to reboot your computer too.
2. Add rules for the LLMs
LLMs tend to forget about the availability of tools and can make some pathological mistakes. Therefore, it's a good idea to include rules to remind them about this. Copy the ones here and include them in your editor.
3. Create a new project
Now create a new project in your editor and type up a prompt to the LLM to scaffold it for you. When needed, the LLM will automatically call the available tools on Openfort's MCP Server, enhancing your developer experience. You can find an example of a prompt in the official documentation.
4. Debug Common Issues
Here are some common issues you might encounter and how to resolve them.
<details> <summary>General Errors</summary> <br>
After the agent finishes creating a project, it may still throw errors, even with extended context. This is especially common for complex prompts or large applications.
Don’t expect the AI to flawlessly generate entire applications in a single prompt without any issues.
To resolve these errors, fix them manually or ask the AI for help. Iteration is normal, review the output, make corrections, and continue prompting as needed.
</details>
<details> <summary>Loop When Creating a Policy</summary> <br>
Occasionally, the AI agent may get stuck in a loop while creating a policy. The policy is successfully created, but the agent repeatedly attempts to update it with the same values.
The cause is unknown, and the effect is harmless.
To fix this, simply cancel the generation and prompt the agent to continue with the next step.
</details>
<details> <summary>npm Error: Missing script: "dev"</summary> <br>
If the AI agent fails to start the project using npm run dev, it’s often because it created the project in a subfolder and didn’t change into that directory before running the command.
Manually navigate to the subfolder and run the project again. </details>
<details> <summary>No Permission to Edit the .env File</summary> <br>
When the AI agent fails to edit or create a .env file with your project keys, it’s usually due to insufficient file permissions.
In Cursor, add a
.cursorignorefile with!.envto explicitly allow the AI to edit the.envfile.
For other editors or environments, follow an equivalent approach to ensure the file is not ignored.
</details>
5. Discover all the capabilities
For more information on the available tools and how to use them, check out the MCP Server documentation.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。