CRE MCP Server
Provides tools to build, simulate, deploy, and manage Chainlink Runtime Environment (CRE) workflows, including project scaffolding, workflow lifecycle management, secrets management, code generation, account key management, and Solidity contract scaffolding.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CRE MCP Serverinit a new project named demo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CRE MCP Server
MCP server for the Chainlink Runtime Environment (CRE) — wraps the CRE CLI and SDK as 30 tools and 10 resources over the Model Context Protocol.
Build, simulate, deploy, and manage CRE workflows from any MCP client (Claude Code, Claude Desktop, Cursor, etc.).
Features
30 MCP tools — full CRE lifecycle: auth, project scaffolding, workflow management, secrets, code generation, account keys, and Solidity contract scaffolding
10 MCP resources — architecture docs, SDK reference, config schemas, contract templates, forwarder addresses
Solidity support — scaffold
IReceivercontracts, typed consumer contracts, and CCIP receiversStreamable HTTP transport — stateful sessions via Express on port 3200
Related MCP server: coalesce-transform-mcp
Prerequisites
Node.js 18+
CRE CLI:
curl -sSfL https://raw.githubusercontent.com/smartcontractkit/cre-cli/main/install/install.sh | bashBun (required by CRE CLI for WASM compilation):
brew install oven-sh/bun/bun
Quick Start
git clone https://github.com/Midwest-AI-Solutions/cremcp.git
cd cremcp
npm install
npm run devThe server starts at http://localhost:3200 with:
MCP endpoint:
http://localhost:3200/mcpHealth check:
http://localhost:3200/health
MCP Client Configuration
Claude Code (~/.claude.json)
{
"mcpServers": {
"cre": {
"type": "http",
"url": "http://localhost:3200/mcp"
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"cre": {
"type": "http",
"url": "http://localhost:3200/mcp"
}
}
}Tools
Category | Tools | Description |
Auth |
| Chainlink platform authentication |
Project |
| Project scaffolding and build |
Workflow |
| Full workflow lifecycle |
Secrets |
| DON-encrypted secrets management |
Codegen |
| TypeScript workflow code generation |
Docs |
| Documentation and reference |
Account |
| Wallet key management |
Solidity |
| On-chain contract scaffolding |
Resources
URI | Description |
| CRE architecture overview |
| TypeScript SDK quick reference |
| KeystoneForwarder addresses by chain |
| End-to-end on-chain integration guide |
| IReceiver interface specification |
| Annotated consumer contract template |
| Workflow YAML schema |
| Secrets YAML schema |
| Project YAML schema |
| Minimal workflow TypeScript template |
Supported Trigger Types
Type | Use Case |
| Time-based scheduling |
| Data Streams price updates |
| Mercury feed updates |
| EVM log events |
| API-initiated |
| Incoming webhook |
Supported Capability Types
Type | Use Case |
| Arbitrary WASM logic |
| Write to EVM chains |
| Read Chainlink price feeds |
| Fetch Data Streams reports |
| Read on-chain state |
| HTTP requests with DON consensus |
| Aggregate results across DON nodes |
Architecture
src/
├── index.ts # Express server + Streamable HTTP transport
├── server.ts # McpServer instance + tool/resource registration
├── lib/
│ ├── cli-check.ts # CRE CLI availability detection
│ ├── cli-runner.ts # child_process.spawn wrapper
│ └── output-parser.ts # Tool response formatting
├── tools/
│ ├── index.ts # Tool module registration
│ ├── auth.ts # Login, logout, whoami
│ ├── project.ts # Init, build, version, update, generate-bindings
│ ├── workflow.ts # Simulate, deploy, activate, pause, delete
│ ├── secrets.ts # CRUD + execute for DON secrets
│ ├── codegen.ts # Trigger, capability, handler scaffolding
│ ├── docs.ts # Documentation retrieval
│ ├── account.ts # Wallet key management
│ └── solidity.ts # Solidity contract scaffolding
└── resources/
├── index.ts # Resource module registration
├── docs.ts # Overview + SDK reference
├── templates.ts # Config schemas + workflow template
└── solidity.ts # IReceiver, consumer, forwarder addresses, integration guideDevelopment
npm run dev # Start with hot reload (tsx --watch)
npm run build # Compile TypeScript
npm start # Run compiled JS
npm run typecheck # Type check without emittingEnvironment Variables
Variable | Default | Description |
|
| Server port |
|
| Path to CRE CLI binary |
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Klever blockchain smart contract development.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for Appcircle mobile CI/CD platform.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Related MCP Servers
- AlicenseAqualityCmaintenanceA MCP server do create and deploy backend applications using https://heim.dev6233MIT
- AlicenseAqualityAmaintenanceMCP server for Coalesce that manages nodes, pipelines, environments, jobs, and runs, and enables project validation, DDL/DML preview, deployment planning, and cloud environment application.1001952MIT
- AlicenseAqualityBmaintenanceAn MCP server for creating, settling, disputing, and refunding escrows on EVM chains.813Apache 2.0

@createworker/mcpofficial
AlicenseAqualityCmaintenanceMCP server for CreateWorker that lets you create and run tasks, manage knowledge, connect apps, and approve actions from AI assistants like Claude and Cursor.2817MIT