{"type":"mcp_server","name":"foxy-contexts","description":"Foxy Contexts is a Golang library for building context servers that support the Model Context Protocol using a declarative approach. It allows defining tools, resources, and prompts for server-side implementation.","category":"Developer Tools","language":"Go","stars":114,"forks":2,"owner":"strowk","github_url":"https://github.com/strowk/foxy-contexts","homepage":"https://foxy-contexts.str4.io","setup":"## Setup\nTo try the tool example:\n1.  `git clone https://github.com/strowk/foxy-contexts`\n2.  `cd foxy-contexts/examples/list_current_dir_files_tool`\n3.  `npx @modelcontextprotocol/inspector go run main.go`\n4.  Once inspector is started in browser open http://localhost:5173 and try to use list-current-dir-files.","tools":"## Available Tools\n\n1.  Base (lifecycle/ping)\n2.  Transports (Stdio and SSE)\n3.  Tools (with package toolinput for input schema definition and validation)\n4.  Resources (static and dynamic via Resource Providers)\n5.  Prompts\n6.  Prompts Completion\n7.  Functional Testing package foxytest\n8.  Simple building of your MCP server with the power of Dependency Injection\n9.  Testing - functional tests with foxytest package","faq":null,"created_at":"2024-12-01T06:23:37+00:00","updated_at":"2025-03-28T01:37:06+00:00","source_url":"https://model-context-protocol.com/servers/golang-model-context-protocol-server-library","related_articles":[]}