Raworc MCP Server
Enables AI assistants to interact with Raworc's agent runtime platform through seamless integration. Supports session management, message handling, space and agent management, and secure secret storage operations.
README
Raworc MCP Server
A production-ready Model Context Protocol (MCP) server for Raworc, enabling AI assistants to seamlessly interact with Raworc's agent runtime platform.
🚀 Quick Start
Option 1: Install via npx (Recommended)
# Test the installation
npx @raworc/mcp-server --help
# Use directly with Claude Desktop
npx @raworc/mcp-server
Option 2: Install from Source
# Clone the repository
git clone https://github.com/harshapalnati/raworc-mcpserver.git
cd raworc-mcpserver
# Build the project
cargo build --release
# Test the installation
./target/release/raworc-mcp --help
📋 Prerequisites
- Rust: Version 1.70 or higher
- Node.js: Version 16.0 or higher (for npx installation)
- Raworc Account: Access to Raworc platform
- Network Access: Ability to reach
api.remoteagent.com
🔧 Configuration
Environment Variables
| Variable | Description | Default | Required |
|---|---|---|---|
RAWORC_API_URL |
Raworc API base URL | https://api.remoteagent.com/api/v0 |
No |
RAWORC_AUTH_TOKEN |
JWT authentication token | - | Yes |
RAWORC_DEFAULT_SPACE |
Default space for operations | - | No |
RAWORC_TIMEOUT |
Request timeout in seconds | 30 |
No |
LOG_LEVEL |
Logging level | info |
No |
Getting Your Authentication Token
curl -X POST https://api.remoteagent.com/api/v0/auth/login \
-H "Content-Type: application/json" \
-d '{
"user": "your-username",
"pass": "your-password"
}'
🎯 Features
- Session Management: Create, pause, resume, and terminate sessions
- Message Handling: Send and retrieve messages from sessions
- Space Management: List and manage spaces
- Agent Operations: Deploy, monitor, and control agents
- Secret Management: Secure storage and retrieval of secrets
- Real-time Communication: Send messages and receive responses from agents
- Health Monitoring: Check API health and version information
🔌 Claude Desktop Integration
Add the MCP server to your Claude Desktop configuration:
{
"mcpServers": {
"raworc": {
"command": "npx",
"args": ["@raworc/mcp-server"],
"env": {
"RAWORC_API_URL": "https://api.remoteagent.com/api/v0",
"RAWORC_AUTH_TOKEN": "your-jwt-token",
"RAWORC_DEFAULT_SPACE": "your-space",
"RAWORC_TIMEOUT": "30",
"LOG_LEVEL": "info"
}
}
}
}
Alternative: Direct Binary Path
{
"mcpServers": {
"raworc": {
"command": "/path/to/raworc-mcp",
"env": {
"RAWORC_API_URL": "https://api.remoteagent.com/api/v0",
"RAWORC_AUTH_TOKEN": "your-jwt-token",
"RAWORC_DEFAULT_SPACE": "your-space"
}
}
}
}
🛠️ Available Tools
Session Management
list_sessions
List all sessions in a space.
{
"name": "list_sessions",
"arguments": {
"space": "production"
}
}
create_session
Create a new session.
{
"name": "create_session",
"arguments": {
"space": "development",
"metadata": {
"purpose": "testing",
"user": "developer"
}
}
}
get_session
Get session details by ID.
{
"name": "get_session",
"arguments": {
"session_id": "61549530-3095-4cbf-b379-cd32416f626d"
}
}
send_message
Send a message to a session.
{
"name": "send_message",
"arguments": {
"session_id": "61549530-3095-4cbf-b379-cd32416f626d",
"content": "Generate a Python script to calculate fibonacci numbers"
}
}
get_messages
Get messages from a session.
{
"name": "get_messages",
"arguments": {
"session_id": "61549530-3095-4cbf-b379-cd32416f626d",
"limit": 10
}
}
pause_session
Pause a session.
{
"name": "pause_session",
"arguments": {
"session_id": "61549530-3095-4cbf-b379-cd32416f626d"
}
}
resume_session
Resume a paused session.
{
"name": "resume_session",
"arguments": {
"session_id": "61549530-3095-4cbf-b379-cd32416f626d"
}
}
terminate_session
Terminate a session.
{
"name": "terminate_session",
"arguments": {
"session_id": "61549530-3095-4cbf-b379-cd32416f626d"
}
}
Space Management
list_spaces
List all spaces.
{
"name": "list_spaces",
"arguments": {}
}
Agent Management
list_agents
List agents in a space.
{
"name": "list_agents",
"arguments": {
"space": "production"
}
}
get_agent_logs
Get logs for a specific agent.
{
"name": "get_agent_logs",
"arguments": {
"space": "production",
"agent_name": "my-agent"
}
}
Secret Management
list_secrets
List secrets in a space.
{
"name": "list_secrets",
"arguments": {
"space": "production"
}
}
get_secret
Get a specific secret.
{
"name": "get_secret",
"arguments": {
"space": "production",
"key": "api-key"
}
}
set_secret
Set a secret value.
{
"name": "set_secret",
"arguments": {
"space": "production",
"key": "api-key",
"value": "your-secret-value"
}
}
delete_secret
Delete a secret.
{
"name": "delete_secret",
"arguments": {
"space": "production",
"key": "api-key"
}
}
System Information
health_check
Check Raworc API health.
{
"name": "health_check",
"arguments": {}
}
get_version
Get Raworc API version.
{
"name": "get_version",
"arguments": {}
}
🧪 Testing
Quick Test
# Test with npx
npx @raworc/mcp-server --help
# Test health check
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "health_check", "arguments": {}}}' | npx @raworc/mcp-server
# Test list spaces
echo '{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "list_spaces", "arguments": {}}}' | npx @raworc/mcp-server
Manual API Testing
# Health check
curl -H "Authorization: Bearer your-token" https://api.remoteagent.com/api/v0/health
# Get version
curl -H "Authorization: Bearer your-token" https://api.remoteagent.com/api/v0/version
# List spaces
curl -H "Authorization: Bearer your-token" https://api.remoteagent.com/api/v0/spaces
🏗️ Development
Building from Source
# Clone the repository
git clone https://github.com/harshapalnati/raworc-mcpserver.git
cd raworc-mcpserver
# Build the project
cargo build --release
# Run tests
cargo test
# Install with npm (for npx distribution)
npm install
Project Structure
raworc-mcpserver/
├── src/
│ ├── main.rs # Entry point
│ ├── lib.rs # Library exports
│ ├── client.rs # Raworc API client
│ ├── error.rs # Error handling
│ ├── models.rs # Data models
│ └── mcp.rs # MCP server implementation
├── bin/
│ └── raworc-mcp.js # JavaScript wrapper for npx
├── scripts/
│ └── postinstall.js # Build script for npm installation
├── tests/
│ └── integration_test.rs # Integration tests
├── examples/
│ ├── claude-desktop-config.json # Example Claude Desktop config
│ └── usage-example.md # Usage examples
├── Cargo.toml # Rust dependencies
├── package.json # npm package configuration
├── QUICKSTART.md # Quick start guide
├── TESTING.md # Testing guide
└── README.md # This file
🐛 Troubleshooting
Common Issues
-
Authentication Failed
- Verify your token is valid and not expired
- Check that you have the correct permissions
-
Connection Issues
- Verify you can reach
api.remoteagent.com - Check your network connectivity
- Verify you can reach
-
Permission Errors
- Ensure your account has the necessary permissions
- Check that you're using the correct space
Debug Mode
export LOG_LEVEL="debug"
export RAWORC_API_URL="https://api.remoteagent.com/api/v0"
export RAWORC_AUTH_TOKEN="your-token"
npx @raworc/mcp-server
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Contributing
- Fork the 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
📞 Support
- Documentation: Raworc API Documentation
- Issues: GitHub Issues
- Discussions: GitHub Discussions
📝 Changelog
v0.1.0
- Initial release
- Full MCP protocol implementation
- Complete Raworc API integration
- Session, space, agent, and secret management
- Health monitoring and version information
- npx installation support
- Production-ready error handling
🔗 Links
- Repository: https://github.com/harshapalnati/raworc-mcpserver
- npm Package: @raworc/mcp-server
- Raworc API: https://raworc.com/docs/api/rest-api
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。