Markdown Content: solana-agent-kit/examples/agent-kit-mcp-server at v1-deprecated · sendaifun/solana-agent-kit · GitHub
===============
Skip to content Navigation Menu
Toggle navigation
Appearance settings
- Product
* [GitHub Copilot Write better code with AI](https://github.com/features/copilot)
* [GitHub Spark New Build and deploy intelligent apps](https://github.com/features/spark)
* [GitHub Models New Manage and compare prompts](https://github.com/features/models)
* [GitHub Advanced Security Find and fix vulnerabilities](https://github.com/security/advanced-security)
* [Actions Automate any workflow](https://github.com/features/actions)
* [Codespaces Instant dev environments](https://github.com/features/codespaces)
* [Issues Plan and track work](https://github.com/features/issues)
* [Code Review Manage code changes](https://github.com/features/code-review)
* [Discussions Collaborate outside of code](https://github.com/features/discussions)
* [Code Search Find more, search less](https://github.com/features/code-search)
Explore * Why GitHub * All features * Documentation * GitHub Skills * Blog
- Solutions
By company size * Enterprises * Small and medium teams * Startups * Nonprofits
By use case * DevSecOps * DevOps * CI/CD * View all use cases
By industry * Healthcare * Financial services * Manufacturing * Government * View all industries
- Resources
Topics * AI * DevOps * Security * Software Development * View all
Explore * Learning Pathways * Events & Webinars * Ebooks & Whitepapers * Customer Stories * Partners * Executive Insights
- Open Source
* [GitHub Sponsors Fund open source developers](https://github.com/sponsors)
* [The ReadME Project GitHub community articles](https://github.com/readme)
Repositories * Topics * Trending * Collections
- Enterprise
* [Enterprise platform AI-powered developer platform](https://github.com/enterprise)
Available add-ons * GitHub Advanced Security Enterprise-grade security features * Copilot for business Enterprise-grade AI features * Premium Support Enterprise-grade 24/7 support
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search
Clear
Provide feedback
We read every piece of feedback, and take your input very seriously.
- [x] Include my email address so I can be contacted
Cancel Submit feedback
Saved searches
Use saved searches to filter your results more quickly
Name
Query
To see all available qualifiers, see our documentation.
Cancel Create saved search
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
sendaifun/**solana-agent-kit**Public template
-
NotificationsYou must be signed in to change notification settings
-
Security### Uh oh! There was an error while loading.Please reload this page.
Additional navigation options
Collapse file tree
Files
v1-deprecated
Search this repository
-
.github -
.husky -
docs -
examples-
agent-kit-langgraph -
agent-kit-mcp-server-
src -
.gitignore -
README.md -
claude_desktop_config.json -
package.json -
pnpm-lock.yaml -
tsconfig.json
-
-
agent-kit-nextjs-langchain -
discord-bot-starter -
market-making-agent -
okx-dex-starter -
orbofi-personality-engine -
para-plugin-example -
persistent-agent -
tg-bot-starter -
wormhole-nextjs-agent
-
-
guides -
scripts -
src -
test -
.env.example -
.eslintrc -
.gitignore -
.lintstagedrc -
.prettierignore -
.prettierrc -
CITATION.cff -
CONTRIBUTING.md -
LICENSE -
README.md -
SECURITY.md -
ls.vitest.config.ts -
package.json -
pnpm-lock.yaml -
tsconfig.json
Breadcrumbs
/ agent-kit-mcp-server
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
success
Feb 16, 2025
218392c·Feb 16, 2025
History
Open commit details
This branch is 464 commits behindv2.
Breadcrumbs
/ agent-kit-mcp-server
/
Top
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| ### parent directory .. | |||
| src | src | feat: mcp example | Feb 16, 2025 |
| .gitignore | .gitignore | feat: mcp example | Feb 16, 2025 |
| README.md | README.md | feat: mcp example | Feb 16, 2025 |
| claude_desktop_config.json | claude_desktop_config.json | feat: mcp example | Feb 16, 2025 |
| package.json | package.json | feat: mcp example | Feb 16, 2025 |
| pnpm-lock.yaml | pnpm-lock.yaml | feat: mcp example | Feb 16, 2025 |
| tsconfig.json | tsconfig.json | feat: mcp example | Feb 16, 2025 |
| View all files |
README.md
Outline
Solana Agent Kit MCP Server
SendAI
A Solana Agent Kit implementation using the Model Context Protocol (MCP) for handling protocol operations on the Solana blockchain.
Features
- Supports all actions from the Solana Agent Kit
- MCP server implementation for standardized interactions
- Environment-based configuration
Prerequisites
- Node.js (v16 or higher recommended)
- pnpm or yarn or npm
- Solana wallet with private key
- Solana RPC URL
Installation
undefinedshell pnpm install undefined
Configuration
- Configure the
claude_desktop_config.jsonfile by editing theenvfields.
undefineddotenv SOLANA_PRIVATE_KEY=your_private_key_here RPC_URL=your_solana_rpc_url_here undefined
- Change the Claude Desktop MCP server settings:
For MacOS:
undefinedshell code ~/Library/Application\ Support/Claude/claude_desktop_config.json undefined
For Windows:
undefinedshell code $env:AppData\Claude\claude_desktop_config.json undefined
The final configuration should look like the following (replace the path with your absolute project path):
undefinedjson { "mcpServers": { "agent-kit": { "command": "node", "env": { "RPC_URL": "your_solana_rpc_url_here", "SOLANA_PRIVATE_KEY": "your_private_key_here" }, "args": [ "/ABSOLUTE/PATH/TO/YOUR/PROJECT" ] } } } undefined
Note: Make sure to restart Claude Desktop after updating the configuration and building the project.
Building the Project
To build the project, run:
undefinedshell pnpm run build undefined
This will compile the TypeScript code and set the appropriate permissions for the executable.
Project Structure
src/- Source code directorysrc/index.ts- Main entry point implementing the MCP server
Dependencies
- solana-agent-kit: Core functionality for Solana blockchain interactions
- @modelcontextprotocol/sdk: MCP implementation
- dotenv: Environment variable management
- zod: Runtime type checking
License
ISC
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Footer
Footer navigation
You can’t perform that action at this time.
Recommend MCP Servers 💡
Morningstar MCP Server
An MCP server by Morningstar that exposes financial tools, including a Datapoint Tool for market data and an Articles Tool for investment research and analysis.
mcp-yfinance-server
Real-time stock API with Python, MCP server example, yfinance stock analysis dashboard
Uniswap Price
An MCP server that delivers real-time token prices from Uniswap V3 across multiple chains.
bin-data
An official Pagos MCP Server that provides BIN (Bank Identification Number) data, including enhanced insights, for financial transactions.
@xiaok/etherscan-mcp
A dynamic MCP server for interacting with Etherscan's API and services
norman-mcp-server
This Model Context Protocol (MCP) server enables AI to interact with the Norman Finance API, allowing access to accounting, invoices, companies, clients, taxes, and more through a standardized protocol.