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 "Install 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: Heim 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Midwest-AI-Solutions/chainlink-cre-claude-skill-and-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server