tcross-mcp
v1.1.0
Published
MCP server providing AI tools with access to CROSS blockchain documentation and GitHub resources
Downloads
34
Maintainers
Readme
TCROSS MCP Server
A Model Context Protocol (MCP) server providing AI tools with access to CROSS blockchain documentation and GitHub resources.
📋 Overview
This MCP server uses Anthropic's Model Context Protocol to enable AI tools (Cursor, VS Code, Windsurf, Claude Desktop, etc.) to efficiently search and utilize CROSS blockchain documentation.
🚀 Installation
Auto Installation (Recommended)
Add the following JSON to your AI tool's MCP settings:
{
"mcpServers": {
"tcross-integration-guide": {
"command": "npx",
"args": ["-y", "tcross-mcp@latest"]
}
}
}Manual Installation
# Install package
npm install -g tcross-mcp
# Or for local development
git clone https://github.com/jeeu-dev/tcross-mcp.git
cd tcross-mcp
npm install
npm run build🔧 AI Tool Integration
Cursor
- Open MCP server settings in Cursor
- Add the above JSON configuration to
~/.cursor/mcp.json - Restart Cursor
VS Code
- Install MCP extension in VS Code
- Add configuration to
.vscode/mcp.json - Restart VS Code
Windsurf
- Add configuration to
~/.codeium/windsurf/mcp_config.json - Restart Windsurf
Claude Desktop
- Add configuration to Claude Desktop settings file (
claude_desktop_config.json) - Restart Claude Desktop
🛠 Available Tools
get-cross-documents
Search CROSS blockchain documentation.
Parameters:
query(string, required): Search keywordscategory(string, optional): Document category (smart-contract,sdk-js,sdk-unity,chain,crossx,github,all)limit(number, optional): Maximum number of results (default: 10)
Usage Examples:
"How to deploy CROSS smart contracts?"
"Find SDK token transfer methods"
"Search testnet setup guide"document-by-id
Retrieve full content of a specific document.
Parameters:
documentId(string, required): Unique document identifier
get-testnet-info
Get CROSS testnet information.
Parameters:
type(string, optional): Information type (faucet,setup,dev-mode,all)
get-github-resources ⭐ NEW!
Search CROSS GitHub repositories and example code.
Parameters:
type(string, optional): Resource type (sdk,examples,all)includeCode(boolean, optional): Include code examples (default: true)
Supported Repositories:
- to-nexus/cross-sdk-js - CROSS JavaScript SDK
- to-nexus/cross-sdk-js-sample - SDK usage examples
📚 Usage Examples
Getting Started
"How do I start developing on CROSS blockchain?"Smart Contract Development
"Write code to deploy ERC-20 token contract on CROSS"
"Show me how to deploy contracts using Foundry"SDK Usage
"Write code to connect wallet using JavaScript SDK"
"How to send token transfer transactions?"Testnet Usage
"How to get testnet CROSS coins?"
"How to enable developer mode in CROSSx app?"GitHub Examples ⭐ NEW!
"Show me cross-sdk-js installation guide"
"Find SDK usage examples from GitHub"
"Search for real project examples using CROSS SDK"🔧 Developer Information
Local Development Setup
# Clone repository
git clone https://github.com/jeeu-dev/tcross-mcp.git
cd tcross-mcp
# Install dependencies
npm install
# Run development mode
npm run dev
# Build
npm run build
# Test
npm testProject Structure
tcross-mcp/
├── src/
│ ├── index.ts # MCP server main entry point
│ ├── services/
│ │ ├── DocumentService.ts # Document crawling and processing
│ │ └── SearchService.ts # Document search functionality
├── dist/ # Build output
├── package.json
├── tsconfig.json
└── README.md📝 Supported Document Categories
- smart-contract: Smart contract development guides
- sdk-js: JavaScript SDK usage
- sdk-unity: Unity SDK usage
- chain: Blockchain technology information
- crossx: CROSSx platform guides
- github: GitHub repositories and examples
🤝 Contributing
- Fork this repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
🔗 Related Links
🆘 Support
If you encounter issues or have questions:
- Register an issue on GitHub Issues
- Check the FAQ section of the official documentation
